diff options
author | scottl <scottl@FreeBSD.org> | 2003-01-08 06:30:34 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2003-01-08 06:30:34 +0000 |
commit | 1848372445b1229b0b544b84ac4d0edb611774af (patch) | |
tree | 8d3faf52d4724142b3f22c8c6368d414273b6d2a /sys | |
parent | 22123446613732c43641b63419a26f2859512a66 (diff) | |
download | FreeBSD-src-1848372445b1229b0b544b84ac4d0edb611774af.zip FreeBSD-src-1848372445b1229b0b544b84ac4d0edb611774af.tar.gz |
Destroy the management device when detaching the driver.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/mly/mly.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |