summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1996-06-11 00:51:49 +0000
committeralex <alex@FreeBSD.org>1996-06-11 00:51:49 +0000
commitdf9def768af6733f8619f95a69e1620370985bce (patch)
treed52bf2e738adca203035906adcf16558fe81584f /sys/pci
parent7777639475e99c11310417075d629d5dcc36f2ed (diff)
downloadFreeBSD-src-df9def768af6733f8619f95a69e1620370985bce.zip
FreeBSD-src-df9def768af6733f8619f95a69e1620370985bce.tar.gz
Detach the device at shutdown.
Add a prototype for ed_attach_NE2000_pci (this really belongs somewhere else, but where?).
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_ed_p.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/pci/if_ed_p.c b/sys/pci/if_ed_p.c
index e8a000d..ce46c07 100644
--- a/sys/pci/if_ed_p.c
+++ b/sys/pci/if_ed_p.c
@@ -17,7 +17,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id:$
+ * $Id: if_ed_p.c,v 1.1 1996/05/18 17:56:40 se Exp $
*/
#include <pci.h>
@@ -35,21 +35,19 @@
#define PCI_DEVICE_ID_NE2000 0x802910ec
+extern void *ed_attach_NE2000_pci __P((int, int));
+
static char* ed_pci_probe __P((pcici_t tag, pcidi_t type));
static void ed_pci_attach __P((pcici_t config_id, int unit));
static u_long ed_pci_count = NED;
-static void ed_pci_shutdown(void *arg)
-{
-}
-
static struct pci_device ed_pci_driver = {
"ed",
ed_pci_probe,
ed_pci_attach,
&ed_pci_count,
- ed_pci_shutdown,
+ NULL
};
DATA_SET (pcidevice_set, ed_pci_driver);
OpenPOWER on IntegriCloud