Skip to contentSkip to conversation

Missing PCI-IDs for Intel 82801[DE]B

2.4.21-pre7 Beat Bolli 2 participants 2 messages Apr 1, 2003 – Apr 2, 2003

lore
Share & tools
lore

Beat Bolli

author
#0 lore raw

Hi!

After pulling the very fresh -pre7 from bk, I get the following errors in drivers/ide/pci/piix.c:

make[4]: Entering directory `/home/bb/src/kernel/linux-2.4/drivers/ide/pci' gcc-2.95 -D__KERNEL__ -I/home/bb/src/kernel/linux-2.4/include -Wall -Wstrict -prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame -pointer -pipe -mpreferred-stack-boundary=2 -march=i586 -I../ -nostdinc -iw ithprefix include -DKBUILD_BASENAME=piix -c -o piix.o piix.c
In file included from piix.c:107:
piix.h:254: `PCI_DEVICE_ID_INTEL_82801EB_11' undeclared here (not in a function)
piix.h:254: initializer element is not constant
piix.h:254: (near initialization for piix_pci_info[15].device') piix.h:282: PCI_DEVICE_ID_INTEL_82801DB_10' undeclared here (not in a function)
piix.h:282: initializer element is not constant
piix.h:282: (near initialization for piix_pci_info[17].device') piix.c: In function piix_get_info':
piix.c:149: `PCI_DEVICE_ID_INTEL_82801DB_10' undeclared (first use in this function)
piix.c:149: (Each undeclared identifier is reported only once piix.c:149: for each function it appears in.)
piix.c:151: `PCI_DEVICE_ID_INTEL_82801EB_11' undeclared (first use in this function)
piix.c: In function `piix_ratemask':
piix.c:284: `PCI_DEVICE_ID_INTEL_82801DB_10' undeclared (first use in this function)
piix.c:286: `PCI_DEVICE_ID_INTEL_82801EB_11' undeclared (first use in this function)
piix.c: In function `init_chipset_piix':
piix.c:612: `PCI_DEVICE_ID_INTEL_82801DB_10' undeclared (first use in this function)
piix.c:614: `PCI_DEVICE_ID_INTEL_82801EB_11' undeclared (first use in this function)
piix.c: At top level:
piix.c:803: `PCI_DEVICE_ID_INTEL_82801EB_11' undeclared here (not in a function)
piix.c:803: initializer element is not constant
piix.c:803: (near initialization for piix_pci_tbl[15].device') piix.c:805: PCI_DEVICE_ID_INTEL_82801DB_10' undeclared here (not in a function)
piix.c:805: initializer element is not constant
piix.c:805: (near initialization for `piix_pci_tbl[17].device') make[4]: *** [piix.o] Error 1
make[4]: Leaving directory `/home/bb/src/kernel/linux-2.4/drivers/ide/pci'

The device ids in question are missing from include/linux/pci_ids.h.

What I find in drivers/pci/pci.ids is this:

        24c0  82801DB ISA Bridge (LPC)
        24c2  82801DB USB (Hub #1)
        24c3  82801DB SMBus
        24c4  82801DB USB (Hub #2)
        24c5  82801DB AC'97 Audio
        24c6  82801DB AC'97 Modem
        24c7  82801DB USB (Hub #3)
        24cb  82801DB ICH4 IDE
        24cd  82801DB USB EHCI Controller

but no entries for 82801EB. Is pci_ids.h auto-generated from pci.ids?

Thanks

Beat Bolli

#1 lore raw
Quoted 4 lines · Beat Bolli

Hi!

After pulling the very fresh -pre7 from bk, I get the following errors in drivers/ide/pci/piix.c:

Marcelo's tree contains half of the patches I sent so far. I guess he's still merging the others