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_puc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/dev/sio/sio_puc.c') 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 } }; -- cgit v1.1