From 7d044f354480e69bdd64bec9b4f0f7a8a39b2e17 Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 27 Dec 2003 19:47:10 +0000 Subject: Add detach methods so we can unload the sio module. --- sys/dev/sio/sio_isa.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/sio/sio_isa.c') 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 } }; -- cgit v1.1