summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-04-26 03:34:36 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-04-26 03:34:36 +0000
commit337559972f8b3fe265d664124dc2917bc4359a8c (patch)
tree24877ccfd82a6fe3a17ec136fae142e3344d5ebc /sys
parent27ee5586be20f69652e7387f645faff2acac0746 (diff)
Don't prevent a media status updates just because the interface isn't up.
ok jason
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/mii/eephy.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/mii/eephy.c b/sys/dev/mii/eephy.c
index c444be63430..74a46210ee0 100644
--- a/sys/dev/mii/eephy.c
+++ b/sys/dev/mii/eephy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eephy.c,v 1.5 2002/04/02 14:52:27 lebel Exp $ */
+/* $OpenBSD: eephy.c,v 1.6 2002/04/26 03:34:35 nate Exp $ */
/*
* Principal Author: Parag Patel
* Copyright (c) 2001
@@ -356,9 +356,6 @@ eephy_status(struct mii_softc *sc)
struct mii_data *mii = sc->mii_pdata;
int bmsr, bmcr, esr, ssr, isr, ar, lpar;
- if ((mii->mii_ifp->if_flags & IFF_UP) == 0)
- return;
-
mii->mii_media_status = IFM_AVALID;
mii->mii_media_active = IFM_ETHER;