summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2003-01-08 06:30:34 +0000
committerScott Long <scottl@FreeBSD.org>2003-01-08 06:30:34 +0000
commitadb0a474759b3f5aa55b4daf7e568a4bd9eb90e7 (patch)
tree8d3faf52d4724142b3f22c8c6368d414273b6d2a
parentdd815daba5cc16019d884c8dd14498fde8fe53d5 (diff)
Notes
-rw-r--r--sys/dev/mly/mly.c3
1 files changed, 3 insertions, 0 deletions
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);