diff options
author | imp <imp@FreeBSD.org> | 2000-08-30 06:57:38 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-08-30 06:57:38 +0000 |
commit | 7a9d294a3ae039409ce5b854b4e87e63a86739ed (patch) | |
tree | e965174ec9a1df0a8f71fc94e953495d9dcd960f /sys/pccard | |
parent | 00a3fcaf80f1bb99b84ba3ee2e9fd59488c71761 (diff) | |
download | FreeBSD-src-7a9d294a3ae039409ce5b854b4e87e63a86739ed.zip FreeBSD-src-7a9d294a3ae039409ce5b854b4e87e63a86739ed.tar.gz |
Add a detach method to allow this device to be unloaded.
Diffstat (limited to 'sys/pccard')
-rw-r--r-- | sys/pccard/pcic_pci.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/pccard/pcic_pci.c b/sys/pccard/pcic_pci.c index 6da55bd..4d4c18d 100644 --- a/sys/pccard/pcic_pci.c +++ b/sys/pccard/pcic_pci.c @@ -392,10 +392,17 @@ pcic_pci_attach(device_t dev) return 0; } +static int +pcic_pci_detach(device_t dev) +{ + return 0; +} + static device_method_t pcic_pci_methods[] = { /* Device interface */ DEVMETHOD(device_probe, pcic_pci_probe), DEVMETHOD(device_attach, pcic_pci_attach), + DEVMETHOD(device_detach, pcic_pci_detach), DEVMETHOD(device_suspend, bus_generic_suspend), DEVMETHOD(device_resume, bus_generic_resume), DEVMETHOD(device_shutdown, bus_generic_shutdown), |