summaryrefslogtreecommitdiffstats
path: root/sys/pci/pci.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-09-10 23:31:13 +0000
committerbde <bde@FreeBSD.org>1996-09-10 23:31:13 +0000
commit4b1a7c107d12dcaa90f1733628ef92b9daabf17d (patch)
tree694ee7f35a28ef2be59bd7a989e9073882d81ecd /sys/pci/pci.c
parent059cd92beecd7b436c11af3f9ec6dd0b48b2eef5 (diff)
downloadFreeBSD-src-4b1a7c107d12dcaa90f1733628ef92b9daabf17d.zip
FreeBSD-src-4b1a7c107d12dcaa90f1733628ef92b9daabf17d.tar.gz
Removed more devconf leftovers.
Diffstat (limited to 'sys/pci/pci.c')
-rw-r--r--sys/pci/pci.c25
1 files changed, 1 insertions, 24 deletions
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 <sys/malloc.h>
#include <sys/errno.h>
#include <sys/kernel.h>
-#include <sys/sysctl.h>
#include <sys/proc.h> /* declaration of wakeup(), used by vm.h */
#include <vm/vm.h>
@@ -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.
OpenPOWER on IntegriCloud