From 98bba908b9a0267b4b3731c09421c5c61fc2683f Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Thu, 17 Aug 2006 23:08:08 +0000 Subject: Remove the link state check from re_start() for now. Allows the 8139C+ based adapters to work again. Issue reported by and workaround tested by maja@ --- sys/dev/ic/re.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index df6b68ae203..aa8dd20fdfe 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.42 2006/08/06 06:18:28 brad Exp $ */ +/* $OpenBSD: re.c,v 1.43 2006/08/17 23:08:07 brad Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -1635,7 +1635,7 @@ re_start(struct ifnet *ifp) sc = ifp->if_softc; - if (!sc->rl_link || ifp->if_flags & IFF_OACTIVE) + if (ifp->if_flags & IFF_OACTIVE) return; idx = sc->rl_ldata.rl_txq_prodidx; -- cgit v1.2.3