summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/dev/drivers/block/ahci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/dev/drivers/block/ahci.c b/linux/dev/drivers/block/ahci.c
index b60f1a19..3cb003c0 100644
--- a/linux/dev/drivers/block/ahci.c
+++ b/linux/dev/drivers/block/ahci.c
@@ -829,6 +829,8 @@ static void ahci_probe_dev(unsigned char bus, unsigned char device)
printk("ahci: %02x:%02x.%x: Can not read configuration", bus, dev, fun);
return;
}
+ /* Ignore multifunction bit */
+ hdrtype &= ~0x80;
if (hdrtype != 0) {
printk("ahci: %02x:%02x.%x: Unknown hdrtype %d\n", bus, dev, fun, hdrtype);