Messages in this thread Patch in this message | | | Date | Tue, 20 Jun 2006 22:32:02 -0400 | From | Brice Goglin <> | Subject | [PATCH 2/6] Rename PCI_CAP_ID_HT_IRQCONF into PCI_CAP_ID_HT |
| |
[PATCH 2/6] Rename PCI_CAP_ID_HT_IRQCONF into PCI_CAP_ID_HT
0x08 is the HT capability, while PCI_CAP_ID_HT_IRQCONF would be the subtype 0x80 that mpic_scan_ht_pic() uses. Rename PCI_CAP_ID_HT_IRQCONF into PCI_CAP_ID_HT.
Signed-off-by: Brice Goglin <brice@myri.com> --- arch/powerpc/sysdev/mpic.c | 2 +- include/linux/pci_regs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Index: linux-mm/arch/powerpc/sysdev/mpic.c =================================================================== --- linux-mm.orig/arch/powerpc/sysdev/mpic.c 2006-06-20 22:02:04.000000000 -0400 +++ linux-mm/arch/powerpc/sysdev/mpic.c 2006-06-20 22:03:28.000000000 -0400 @@ -250,7 +250,7 @@ for (pos = readb(devbase + PCI_CAPABILITY_LIST); pos != 0; pos = readb(devbase + pos + PCI_CAP_LIST_NEXT)) { u8 id = readb(devbase + pos + PCI_CAP_LIST_ID); - if (id == PCI_CAP_ID_HT_IRQCONF) { + if (id == PCI_CAP_ID_HT) { id = readb(devbase + pos + 3); if (id == 0x80) break; Index: linux-mm/include/linux/pci_regs.h =================================================================== --- linux-mm.orig/include/linux/pci_regs.h 2006-06-20 22:02:04.000000000 -0400 +++ linux-mm/include/linux/pci_regs.h 2006-06-20 22:03:28.000000000 -0400 @@ -196,7 +196,7 @@ #define PCI_CAP_ID_MSI 0x05 /* Message Signalled Interrupts */ #define PCI_CAP_ID_CHSWP 0x06 /* CompactPCI HotSwap */ #define PCI_CAP_ID_PCIX 0x07 /* PCI-X */ -#define PCI_CAP_ID_HT_IRQCONF 0x08 /* HyperTransport IRQ Configuration */ +#define PCI_CAP_ID_HT 0x08 /* HyperTransport */ #define PCI_CAP_ID_VNDR 0x09 /* Vendor specific capability */ #define PCI_CAP_ID_SHPC 0x0C /* PCI Standard Hot-Plug Controller */ #define PCI_CAP_ID_EXP 0x10 /* PCI Express */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |