From 01b3600a69bb389a0f7311b0da97178f29fdfd73 Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Sat, 1 Oct 1994 19:47:33 +0000 Subject: [PATCH] Correct `de' device ID. Add pd_npresent field for future loadable PCI drivers. --- sys/i386/pci/pci_config.c | 6 +++--- sys/i386/pci/pci_device.h | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sys/i386/pci/pci_config.c b/sys/i386/pci/pci_config.c index 69d3a2b7a16..3eddfa5c09b 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 7453bfb475e..aecbd6e3823 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