diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-08 07:44:01 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-11-08 07:44:01 +0000 |
| commit | 44d1184e81b347d864ad05c21b5c56b1a2f27376 (patch) | |
| tree | c6a05e39f77f1d5004dc625237daada92e03a4e6 /sys/dev | |
| parent | c6b92dec5e07c238f15b17a67527533aaa05f5e7 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/streams/streams.c | 20 | ||||
| -rw-r--r-- | sys/dev/usb/ulpt.c | 4 | ||||
| -rw-r--r-- | sys/dev/usb/ums.c | 2 |
3 files changed, 13 insertions, 13 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c index 78997fe91a700..f4c89e06d0ee3 100644 --- a/sys/dev/streams/streams.c +++ b/sys/dev/streams/streams.c @@ -164,16 +164,16 @@ streams_modevent(module_t mod, int type, void *unused) return 0; case MOD_UNLOAD: /* XXX should check to see if it's busy first */ - remove_dev(dt_ptm); - remove_dev(dt_arp); - remove_dev(dt_icmp); - remove_dev(dt_ip); - remove_dev(dt_tcp); - remove_dev(dt_udp); - remove_dev(dt_rawip); - remove_dev(dt_unix_dgram); - remove_dev(dt_unix_stream); - remove_dev(dt_unix_ord_stream); + destroy_dev(dt_ptm); + destroy_dev(dt_arp); + destroy_dev(dt_icmp); + destroy_dev(dt_ip); + destroy_dev(dt_tcp); + destroy_dev(dt_udp); + destroy_dev(dt_rawip); + destroy_dev(dt_unix_dgram); + destroy_dev(dt_unix_stream); + destroy_dev(dt_unix_ord_stream); return 0; default: diff --git a/sys/dev/usb/ulpt.c b/sys/dev/usb/ulpt.c index 4b3febdd28974..f2cd7411da1c8 100644 --- a/sys/dev/usb/ulpt.c +++ b/sys/dev/usb/ulpt.c @@ -330,8 +330,8 @@ USB_DETACH(ulpt) #elif defined(__FreeBSD__) /* XXX not implemented yet */ - remove_dev(sc->dev); - remove_dev(sc->dev_noprime); + destroy_dev(sc->dev); + destroy_dev(sc->dev_noprime); #endif return (0); diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index b5ba64015601f..c9723a17a504b 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -372,7 +372,7 @@ ums_detach(device_t self) } #endif - remove_dev(sc->dev); + destroy_dev(sc->dev); return 0; } |
