DragonFly BSD
DragonFly kernel List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cannot compile kernel.. PCIR_HEADERTYPE


From: ibotty <bsd@xxxxxxxxxx>
Date: Tue, 24 Feb 2004 14:42:02 +0100

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]