From owner-cvs-all Tue Feb 26 21: 9:29 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A259137B43E; Tue, 26 Feb 2002 21:09:14 -0800 (PST) Received: (from imp@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1R59ES37305; Tue, 26 Feb 2002 21:09:14 -0800 (PST) (envelope-from imp) Message-Id: <200202270509.g1R59ES37305@freefall.freebsd.org> From: Warner Losh Date: Tue, 26 Feb 2002 21:09:14 -0800 (PST) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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