summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio/sio_pci.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-02-16 18:05:54 +0000
committerimp <imp@FreeBSD.org>2003-02-16 18:05:54 +0000
commit8cf11dcc75f42e2df512557907627ac52dd53f23 (patch)
tree78b2d09430bf1dbc090755ae8b619263d643ee9d /sys/dev/sio/sio_pci.c
parentb252bec075c1826f46a7017c269025f29f8a66fc (diff)
downloadFreeBSD-src-8cf11dcc75f42e2df512557907627ac52dd53f23.zip
FreeBSD-src-8cf11dcc75f42e2df512557907627ac52dd53f23.tar.gz
Whatever dumbass wrote sio_pci.c didn't include a detach method.
Wearing said pointy hat, correct the oversight and hope nobody notices. # this should make xircom modems happier to detach once other bugs with # the cardbus layer are fixed. Noticed by: scottl Conical Hat to: imp
Diffstat (limited to 'sys/dev/sio/sio_pci.c')
-rw-r--r--sys/dev/sio/sio_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sio/sio_pci.c b/sys/dev/sio/sio_pci.c
index bf1d699..9ec45b7 100644
--- a/sys/dev/sio/sio_pci.c
+++ b/sys/dev/sio/sio_pci.c
@@ -50,6 +50,7 @@ static device_method_t sio_pci_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, sio_pci_probe),
DEVMETHOD(device_attach, sio_pci_attach),
+ DEVMETHOD(device_detach, siodetach),
{ 0, 0 }
};
OpenPOWER on IntegriCloud