From 8cf11dcc75f42e2df512557907627ac52dd53f23 Mon Sep 17 00:00:00 2001 From: imp Date: Sun, 16 Feb 2003 18:05:54 +0000 Subject: [PATCH] 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 --- sys/dev/sio/sio_pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/sio/sio_pci.c b/sys/dev/sio/sio_pci.c index bf1d69906b50..9ec45b7d0c14 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 } };