summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2003-12-28 12:25:49 +0000
committernyan <nyan@FreeBSD.org>2003-12-28 12:25:49 +0000
commite05b985b7865055c0692c7cd3457f8a85ed9bb5a (patch)
treea72f4b8ec75fd8c57bbd2c4f6d2836ab886dd96c /sys/pc98
parentd2abf7e6f99bb1b9f9b37ba101cb86763dd1dade (diff)
downloadFreeBSD-src-e05b985b7865055c0692c7cd3457f8a85ed9bb5a.zip
FreeBSD-src-e05b985b7865055c0692c7cd3457f8a85ed9bb5a.tar.gz
Add detach method.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/cbus/sio_cbus.c1
-rw-r--r--sys/pc98/pc98/sio_cbus.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/pc98/cbus/sio_cbus.c b/sys/pc98/cbus/sio_cbus.c
index 10bbdc1..1023ec1 100644
--- a/sys/pc98/cbus/sio_cbus.c
+++ b/sys/pc98/cbus/sio_cbus.c
@@ -49,6 +49,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/pc98/pc98/sio_cbus.c b/sys/pc98/pc98/sio_cbus.c
index 10bbdc1..1023ec1 100644
--- a/sys/pc98/pc98/sio_cbus.c
+++ b/sys/pc98/pc98/sio_cbus.c
@@ -49,6 +49,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 }
};
OpenPOWER on IntegriCloud