diff options
author | alex <alex@FreeBSD.org> | 1996-06-11 00:51:49 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 1996-06-11 00:51:49 +0000 |
commit | df9def768af6733f8619f95a69e1620370985bce (patch) | |
tree | d52bf2e738adca203035906adcf16558fe81584f /sys/dev | |
parent | 7777639475e99c11310417075d629d5dcc36f2ed (diff) | |
download | FreeBSD-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/dev')
-rw-r--r-- | sys/dev/ed/if_ed_pci.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/dev/ed/if_ed_pci.c b/sys/dev/ed/if_ed_pci.c index e8a000d..ce46c07 100644 --- a/sys/dev/ed/if_ed_pci.c +++ b/sys/dev/ed/if_ed_pci.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); |