diff options
author | imp <imp@FreeBSD.org> | 2003-12-27 19:47:10 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-12-27 19:47:10 +0000 |
commit | 7d044f354480e69bdd64bec9b4f0f7a8a39b2e17 (patch) | |
tree | 793726f72acd1b2eb12eba48017d23bfcd8faf4a | |
parent | 7f5f3bd3dbe5f79bf49983c932919ea1ff640570 (diff) | |
download | FreeBSD-src-7d044f354480e69bdd64bec9b4f0f7a8a39b2e17.zip FreeBSD-src-7d044f354480e69bdd64bec9b4f0f7a8a39b2e17.tar.gz |
Add detach methods so we can unload the sio module.
-rw-r--r-- | sys/dev/sio/sio_ebus.c | 1 | ||||
-rw-r--r-- | sys/dev/sio/sio_isa.c | 1 | ||||
-rw-r--r-- | sys/dev/sio/sio_puc.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/sio/sio_ebus.c b/sys/dev/sio/sio_ebus.c index 54f1c93..c4caafe 100644 --- a/sys/dev/sio/sio_ebus.c +++ b/sys/dev/sio/sio_ebus.c @@ -48,6 +48,7 @@ static device_method_t sio_ebus_methods[] = { /* Device interface */ DEVMETHOD(device_probe, sio_ebus_probe), DEVMETHOD(device_attach, sio_ebus_attach), + DEVMETHOD(device_detach, siodetach), { 0, 0 } }; diff --git a/sys/dev/sio/sio_isa.c b/sys/dev/sio/sio_isa.c index 99d794d..137f47ec 100644 --- a/sys/dev/sio/sio_isa.c +++ b/sys/dev/sio/sio_isa.c @@ -51,6 +51,7 @@ static device_method_t sio_isa_methods[] = { /* Device interface */ DEVMETHOD(device_probe, sio_isa_probe), DEVMETHOD(device_attach, sio_isa_attach), + DEVMETHOD(device_detach, siodetach), { 0, 0 } }; diff --git a/sys/dev/sio/sio_puc.c b/sys/dev/sio/sio_puc.c index 08c0f04..877a039 100644 --- a/sys/dev/sio/sio_puc.c +++ b/sys/dev/sio/sio_puc.c @@ -52,6 +52,7 @@ static device_method_t sio_puc_methods[] = { /* Device interface */ DEVMETHOD(device_probe, sio_puc_probe), DEVMETHOD(device_attach, sio_puc_attach), + DEVMETHOD(device_detach, siodetach), { 0, 0 } }; |