Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Oct 2009 13:29:49 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 169799 for review
Message-ID:  <200910251329.n9PDTnKx017443@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://p4web.freebsd.org/chv.cgi?CH=169799

Change 169799 by mav@mav_mavtest on 2009/10/25 13:29:07

	Do not schedule commands while probe in progress.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_da.c#32 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_da.c#32 (text+ko) ====

@@ -343,7 +343,8 @@
 	/*
 	 * Schedule ourselves for performing the work.
 	 */
-	xpt_schedule(periph, CAM_PRIORITY_NORMAL);
+	if (softc->state == ADA_STATE_NORMAL)
+		xpt_schedule(periph, CAM_PRIORITY_NORMAL);
 	cam_periph_unlock(periph);
 
 	return;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910251329.n9PDTnKx017443>