All CORKSCREWs have MII.
This commit is contained in:
parent
f532a911f0
commit
fe97433fcd
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: elink3.c,v 1.96 2001/07/20 05:44:48 thorpej Exp $ */
|
||||
/* $NetBSD: elink3.c,v 1.97 2001/07/27 02:33:34 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
|
||||
|
@ -459,6 +459,12 @@ epconfig(sc, chipset, enaddr)
|
|||
ifmedia_init(&sc->sc_mii.mii_media, 0, ep_media_change,
|
||||
ep_media_status);
|
||||
|
||||
/*
|
||||
* All CORKSCREW chips have MII.
|
||||
*/
|
||||
if (sc->ep_chipset == ELINK_CHIPSET_CORKSCREW)
|
||||
sc->ep_flags |= ELINK_FLAGS_MII;
|
||||
|
||||
/*
|
||||
* Now, determine which media we have.
|
||||
*/
|
||||
|
@ -470,6 +476,7 @@ epconfig(sc, chipset, enaddr)
|
|||
}
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case ELINK_CHIPSET_CORKSCREW:
|
||||
case ELINK_CHIPSET_BOOMERANG:
|
||||
/*
|
||||
* If the device has MII, probe it. We won't be using
|
||||
|
|
Loading…
Reference in New Issue