summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2003-01-20 23:51:18 +0000
committergibbs <gibbs@FreeBSD.org>2003-01-20 23:51:18 +0000
commit013247cd19dd036ba508021e0edaba94b2a75960 (patch)
tree6ed2e2d524e1000bfb0d60e7cbc7ea446902561c /sys/dev
parent84ed6d1c18bd8c792d1dae1c5b444532f0677ea4 (diff)
downloadFreeBSD-src-013247cd19dd036ba508021e0edaba94b2a75960.zip
FreeBSD-src-013247cd19dd036ba508021e0edaba94b2a75960.tar.gz
Fix a missed goal.period -> goal.offset change. In
this case, the bug resulted in comparing a period against an offset.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/aic7xxx/aic79xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aic79xx.c b/sys/dev/aic7xxx/aic79xx.c
index 8a90e86..b3807a5 100644
--- a/sys/dev/aic7xxx/aic79xx.c
+++ b/sys/dev/aic7xxx/aic79xx.c
@@ -37,7 +37,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: //depot/aic7xxx/aic7xxx/aic79xx.c#155 $
+ * $Id: //depot/aic7xxx/aic7xxx/aic79xx.c#156 $
*
* $FreeBSD$
*/
@@ -4227,7 +4227,7 @@ ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
* but rejected our response, we already cleared the
* sync rate before sending our WDTR.
*/
- if (tinfo->goal.period != tinfo->curr.offset) {
+ if (tinfo->goal.offset != tinfo->curr.offset) {
/* Start the sync negotiation */
ahd->msgout_index = 0;
OpenPOWER on IntegriCloud