Correct `de' device ID.

Add pd_npresent field for future loadable PCI drivers.
This commit is contained in:
Garrett Wollman 1994-10-01 19:47:33 +00:00
parent 37be1da83f
commit 01b3600a69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=3275
2 changed files with 5 additions and 4 deletions

View File

@ -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},

View File

@ -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