From 1848372445b1229b0b544b84ac4d0edb611774af Mon Sep 17 00:00:00 2001 From: scottl Date: Wed, 8 Jan 2003 06:30:34 +0000 Subject: Destroy the management device when detaching the driver. --- sys/dev/mly/mly.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/mly') diff --git a/sys/dev/mly/mly.c b/sys/dev/mly/mly.c index 51a8b39..65f1a5d 100644 --- a/sys/dev/mly/mly.c +++ b/sys/dev/mly/mly.c @@ -685,6 +685,9 @@ mly_free(struct mly_softc *sc) debug_called(1); + /* Remove the management device */ + destroy_dev(sc->mly_dev_t); + /* detach from CAM */ mly_cam_detach(sc); -- cgit v1.1