|
@@ -390,7 +390,7 @@ static void __init mpic_scan_ht_pic(struct mpic *mpic, u8 __iomem *devbase,
|
|
u8 id = readb(devbase + pos + PCI_CAP_LIST_ID);
|
|
u8 id = readb(devbase + pos + PCI_CAP_LIST_ID);
|
|
if (id == PCI_CAP_ID_HT) {
|
|
if (id == PCI_CAP_ID_HT) {
|
|
id = readb(devbase + pos + 3);
|
|
id = readb(devbase + pos + 3);
|
|
- if (id == HT_CAPTYPE_IRQ)
|
|
|
|
|
|
+ if ((id & HT_5BIT_CAP_MASK) == HT_CAPTYPE_IRQ)
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|