From 4b1a7c107d12dcaa90f1733628ef92b9daabf17d Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 10 Sep 1996 23:31:13 +0000 Subject: Removed more devconf leftovers. --- sys/pci/pci.c | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'sys/pci/pci.c') diff --git a/sys/pci/pci.c b/sys/pci/pci.c index db97c8b..e7d6f3d 100644 --- a/sys/pci/pci.c +++ b/sys/pci/pci.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pci.c,v 1.53 1996/09/05 21:28:51 se Exp $ +** $Id: pci.c,v 1.54 1996/09/06 23:08:58 phk Exp $ ** ** General subroutines for the PCI bus. ** pci_configure () @@ -51,7 +51,6 @@ #include #include #include -#include #include /* declaration of wakeup(), used by vm.h */ #include @@ -75,10 +74,6 @@ **======================================================== */ -struct pci_devconf { - struct pci_info pdc_pi; -}; - struct pcicb { struct pcicb *pcicb_next; struct pcicb *pcicb_up; @@ -433,8 +428,6 @@ pci_bus_config (void) struct pci_device *dvp; - struct pci_devconf *pdcp; - /* ** first initialize the bridge (bus controller chip) */ @@ -644,22 +637,6 @@ pci_bus_config (void) }; /* - ** Allocate a devconf structure - ** We should, and eventually will, set the - ** parent pointer to a pci bus devconf structure, - ** and arrange to set the state field dynamically. - */ - - pdcp = (struct pci_devconf *) - malloc (sizeof (struct pci_devconf),M_DEVBUF,M_WAITOK); - bzero(pdcp, sizeof(struct pci_devconf)); - - pdcp -> pdc_pi.pi_bus = bus_no; - pdcp -> pdc_pi.pi_device = device; - pdcp -> pdc_pi.pi_func = func; - pdcp -> pdc_pi.pi_unit = unit; - - /* ** attach device ** may produce additional log messages, ** i.e. when installing subdevices. -- cgit v1.1