[parisc-linux] 2.4.23 PCI source inconsistency

northern snowfall dbailey27@ameritech.net
Wed Dec 3 21:50:38 MST 2003


Hey all,
    I compiled 2.4.23 from kernel.org for 32bit PA-RISC today
and found that the PA-RISC specific PCI code seems to be out-
of sync with the generic pci code.

from arch/parisc/kernel/pci.c:

gcc -D__KERNEL__ -I/usr/home/north_/k/linux-2.4.23/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce 
-mno-space-regs -mfast-indirect-calls -mdisable-fpregs 
-ffunction-sections -march=2.0 -mschedule=8000   -nostdinc -iwithprefix 
include -DKBUILD_BASENAME=pci  -c -o pci.o pci.c
pci.c: In function `pcibios_init_bus':
pci.c:310: structure has no member named `bridge_ctl'
pci.c:311: structure has no member named `bridge_ctl'
pci.c:312: structure has no member named `bridge_ctl'
pci.c:315: structure has no member named `bridge_ctl'
make[1]: *** [pci.o] Error 1

Of course, the pci_bus structure is declared in the header
include/linux/pci.h:/^struct.*pci_bus However, there is
no longer a bridge_ctl member.

I'm running 2.4.17 off the Debian 3.0 release on a B2000,
and /usr/include/linux/pci.h still has the bridge_ctl
member in the pci_bus structure.

Advice?

Thanks,
Don (north_)









More information about the parisc-linux mailing list