cvs commit: src/sys/dev/pci pci.c

Marcel Moolenaar marcel at xcllnt.net
Fri Dec 3 11:42:10 PST 2004


On Fri, Dec 03, 2004 at 11:05:20AM -0700, M. Warner Losh wrote:
> In message: <200412030813.iB38DA12044595 at repoman.freebsd.org>
>             Nate Lawson <njl at FreeBSD.org> writes:
> : njl         2004-12-03 08:13:09 UTC
> : 
> :   FreeBSD src repository
> : 
> :   Modified files:
> :     sys/dev/pci          pci.c 
> :   Log:
> :   Non-x86 platforms cannot use the ACPI includes.  This should be fixed but
> :   for now, only include the headers for i386, amd64, or ia64.
> :   
> :   Pointed out by: grehan
> 
> We likely should have a sys/$MACHINE_ARCH/include/_config.h that has a
> bunch of #defines that we can test instead of specific architecture
> lists, don't you think?

A <machine/_config.h> doesn't give me warm fuzzies. Maybe we can
rename <machine/pci_cfgreg.h> to <machine/pci.h> and give it some
additional use (for this particular case of course).

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel at xcllnt.net


More information about the freebsd-arch mailing list