Fix detection of multi-function cards

Bit 7 of the pci device header type is an indicator of multi-function
devices, so needs to be masked when examining the bridge type.
Thanks go to Chih-Pin Wu for finding the bug and its fix.

Reviewed-by: Adam Jackson <>
Signed-off-by: Bryce Harrington <>
1 file changed