From b656a86ad52cf503d357d7ab76a647203f51a0fb Mon Sep 17 00:00:00 2001 From: simokawa Date: Wed, 30 Apr 2003 10:32:32 +0000 Subject: Release devq before detach. --- sys/dev/firewire/sbp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/firewire/sbp.c') diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c index b38572e..b14d646 100644 --- a/sys/dev/firewire/sbp.c +++ b/sys/dev/firewire/sbp.c @@ -1982,6 +1982,9 @@ END_DEBUG if (sdev->status == SBP_DEV_RESET) continue; if (sdev->path) { + xpt_release_devq(sdev->path, + sdev->freeze, TRUE); + sdev->freeze = 0; xpt_async(AC_LOST_DEVICE, sdev->path, NULL); xpt_free_path(sdev->path); sdev->path = NULL; -- cgit v1.1