[PATCH] Add Hypertransport capability defines
This adds defines for the hypertransport capability subtypes and starts using them a little. [akpm@osdl.org: fix typo] Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
cd1182f56a
commit
e78d01693b
@@ -341,7 +341,7 @@ static void __init mpic_scan_ht_pic(struct mpic *mpic, u8 __iomem *devbase,
|
||||
u8 id = readb(devbase + pos + PCI_CAP_LIST_ID);
|
||||
if (id == PCI_CAP_ID_HT) {
|
||||
id = readb(devbase + pos + 3);
|
||||
if (id == 0x80)
|
||||
if (id == HT_CAPTYPE_IRQ)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user