From adb0a474759b3f5aa55b4daf7e568a4bd9eb90e7 Mon Sep 17 00:00:00 2001 From: Scott Long 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 51a8b39d9a8e..65f1a5d03d98 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.3