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 /sys/dev/sio/sio_isa.c | |
parent | 7f5f3bd3dbe5f79bf49983c932919ea1ff640570 (diff) | |
download | FreeBSD-src-7d044f354480e69bdd64bec9b4f0f7a8a39b2e17.zip FreeBSD-src-7d044f354480e69bdd64bec9b4f0f7a8a39b2e17.tar.gz |
Add detach methods so we can unload the sio module.
Diffstat (limited to 'sys/dev/sio/sio_isa.c')
-rw-r--r-- | sys/dev/sio/sio_isa.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 } }; |