From 0ccafa8316f183c5e8a15fd2af7f8be97d75d0f1 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sat, 25 Jun 2005 23:27:44 +0000 Subject: re-add ASIX check lost in rev 1.77 --- sys/dev/ic/dc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic') diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c index de29bcb4bdb..49df7d3d0bd 100644 --- a/sys/dev/ic/dc.c +++ b/sys/dev/ic/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.87 2005/06/23 15:41:01 brad Exp $ */ +/* $OpenBSD: dc.c,v 1.88 2005/06/25 23:27:43 brad Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2433,7 +2433,7 @@ dc_tick(xsc) } else { r = CSR_READ_4(sc, DC_ISR); if ((r & DC_ISR_RX_STATE) == DC_RXSTATE_WAIT && - sc->dc_cdata.dc_tx_cnt == 0) { + sc->dc_cdata.dc_tx_cnt == 0 && !DC_IS_ASIX(sc)) { mii_tick(mii); if (!(mii->mii_media_status & IFM_ACTIVE)) sc->dc_link = 0; -- cgit v1.2.3