Date: Tue, 26 Feb 2002 21:09:14 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/cardbus cardbus.c cardbus_cis.c cardbusvar.h src/sys/dev/pci pci.c pci_private.h Message-ID: <200202270509.g1R59ES37305@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2002/02/26 21:09:14 PST
Modified files:
sys/dev/cardbus cardbus.c cardbus_cis.c cardbusvar.h
sys/dev/pci pci.c
Added files:
sys/dev/pci pci_private.h
Log:
Use the pci.c code wherever possible, rather than copying all the pci
code into cardbus and s/pci/cardbus. This exposes a few pci_*
functions that are now static.
This work is similar to work Justin posted to the mobile list about a
year or two ago, which I have neglected since then.
This is a subset of his current work with the multiple inheritance
newbus architecutre. When completed, that will eliminate the need for
pci/pci_private.h.
Similar work is needed for the cardbus_cis and pccard_cis code as well.
Revision Changes Path
1.15 +56 -934 src/sys/dev/cardbus/cardbus.c
1.12 +45 -38 src/sys/dev/cardbus/cardbus_cis.c
1.5 +6 -17 src/sys/dev/cardbus/cardbusvar.h
1.187 +49 -54 src/sys/dev/pci/pci.c
1.1 +67 -0 src/sys/dev/pci/pci_private.h (new)
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202270509.g1R59ES37305>
