Ops, forgot to commit this one:
- kill carrier detection code, it's not that usefull and give false indications on loaded ethernet segments
This commit is contained in:
parent
4b5c6b86d6
commit
10a5470050
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: tlphy.c,v 1.30 2001/06/02 21:39:41 thorpej Exp $ */
|
||||
/* $NetBSD: tlphy.c,v 1.31 2001/08/04 02:21:24 bouyer Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
|
||||
|
@ -316,7 +316,6 @@ tlphy_status(physc)
|
|||
{
|
||||
struct tlphy_softc *sc = (void *) physc;
|
||||
struct mii_data *mii = sc->sc_mii.mii_pdata;
|
||||
struct tl_softc *tlsc = (struct tl_softc *)sc->sc_mii.mii_dev.dv_parent;
|
||||
int bmsr, bmcr, tlctrl;
|
||||
|
||||
mii->mii_media_status = IFM_AVALID;
|
||||
|
@ -338,8 +337,7 @@ tlphy_status(physc)
|
|||
else
|
||||
printf("%s: AUI selected with no matching media !\n",
|
||||
sc->sc_mii.mii_dev.dv_xname);
|
||||
if (tlsc->tl_flags & TL_IFACT)
|
||||
mii->mii_media_status |= IFM_ACTIVE;
|
||||
mii->mii_media_status |= IFM_ACTIVE;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue