Date: Mon, 18 Jan 2010 14:49:28 GMT From: Alexander Motin <mav@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 173319 for review Message-ID: <201001181449.o0IEnSQY071550@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/chv.cgi?CH=173319 Change 173319 by mav@mav_mavtest on 2010/01/18 14:48:32 Do not refetch number of ports on initalization restart. Affected files ... .. //depot/projects/scottl-camlock/src/sys/cam/ata/ata_pmp.c#29 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/cam/ata/ata_pmp.c#29 (text+ko) ==== @@ -431,7 +431,7 @@ if (softc->restart) { softc->restart = 0; - softc->state = PMP_STATE_PORTS; + softc->state = min(softc->state, PMP_STATE_PRECONFIG); } /* Fetch user wanted device speed. */ if (softc->state == PMP_STATE_RESET || @@ -577,7 +577,7 @@ xpt_free_ccb(done_ccb); } else xpt_release_ccb(done_ccb); - softc->state = PMP_STATE_PORTS; + softc->state = min(softc->state, PMP_STATE_PRECONFIG); xpt_schedule(periph, priority); return; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001181449.o0IEnSQY071550>