Don't encode model id twice.
Reported by: Kristof Provost <kristof <> sigsegv dot be>
This commit is contained in:
parent
829b278e5e
commit
885b405380
@ -248,7 +248,7 @@ e1000phy_reset(struct mii_softc *sc)
|
||||
}
|
||||
}
|
||||
|
||||
switch (MII_MODEL(esc->mii_model)) {
|
||||
switch (esc->mii_model) {
|
||||
case MII_MODEL_MARVELL_E3082:
|
||||
case MII_MODEL_MARVELL_E1112:
|
||||
case MII_MODEL_MARVELL_E1118:
|
||||
|
Loading…
Reference in New Issue
Block a user