summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-10-01 19:47:33 +0000
committerwollman <wollman@FreeBSD.org>1994-10-01 19:47:33 +0000
commitac5f40d01317251ffae931991f4d6428eaf3ad8b (patch)
treebeba332d9cb7abd471bbbb0f25b2b1187e79de82
parent7eee0c291493539f62f316a821e23d9129b02c95 (diff)
downloadFreeBSD-src-ac5f40d01317251ffae931991f4d6428eaf3ad8b.zip
FreeBSD-src-ac5f40d01317251ffae931991f4d6428eaf3ad8b.tar.gz
Correct `de' device ID.
Add pd_npresent field for future loadable PCI drivers.
-rw-r--r--sys/i386/pci/pci_config.c6
-rw-r--r--sys/i386/pci/pci_device.h3
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/i386/pci/pci_config.c b/sys/i386/pci/pci_config.c
index 69d3a2b..3eddfa5 100644
--- a/sys/i386/pci/pci_config.c
+++ b/sys/i386/pci/pci_config.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pci_config.c,v 2.1 94/09/16 08:01:25 wolf Rel $
+** $Id: pci_config.c,v 1.5 1994/09/28 16:34:09 se Exp $
**
** @PCI@ this should be part of "ioconf.c".
**
@@ -66,9 +66,9 @@ struct pci_device pci_devtab[] = {
#endif
#if NDE>0
- {&dedevice, 0x00011011ul, "de", 0}, /* FIXME!!! */
+ {&dedevice, 0x00021011ul, "de", 0}, /* FIXME!!! */
#else
- {0, 0x00011011ul, "de", PDF_LOADABLE}, /* FIXME!!! */
+ {0, 0x00021011ul, "de", PDF_LOADABLE}, /* FIXME!!! */
#endif
{0, 0x10001042ul, "wd", PDF_COVERED},
diff --git a/sys/i386/pci/pci_device.h b/sys/i386/pci/pci_device.h
index 7453bfb..aecbd6e 100644
--- a/sys/i386/pci/pci_device.h
+++ b/sys/i386/pci/pci_device.h
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pci_device.h,v 2.1 94/09/16 08:01:36 wolf Rel $
+** $Id: pci_device.h,v 1.5 1994/09/28 16:34:10 se Exp $
**
** #define for pci based device drivers
**
@@ -75,6 +75,7 @@ struct pci_device {
pcidi_t pd_device_id; /* device pci id */
const char * pd_name; /* for future loadable drivers */
int pd_flags;
+ int pd_npresent; /* for future loadable drivers */
};
#define PDF_LOADABLE 0x01
OpenPOWER on IntegriCloud