summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sio/sio_ebus.c1
-rw-r--r--sys/dev/sio/sio_isa.c1
-rw-r--r--sys/dev/sio/sio_puc.c1
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 }
};
OpenPOWER on IntegriCloud