cannot compile kernel.. PCIR_HEADERTYPE

ibotty bsd at ibotty.net
Tue Feb 24 05:42:02 PST 2004


hi folks,

since at least some days, i cannot build a kernel w/o attached (trivial)
patch:

produced with
> cvs diff /sys/bus/pci

btw:
> grep -r PCIR_HEADERTYPE /usr/include/
/usr/include/bus/pci/pcireg.h:#define PCIR_HEADERTYPE   0x0e

on a cleanly checked out source-tree:
> grep -r PCIR_HEADERTYPE /sys/
sys/bus/pci/pci.c:             cfg->hdrtype            = pci_cfgread(cfg,
PCIR_HEADERTYPE, 1);

grepping for PCIR_HDRTYPE shows many uses.

so i guess, someone just forgot to adjust sys/bus/pci/pci.c


well, too much time i guess ;)

~ibotty





More information about the Kernel mailing list