- Remove unused variable.
- Wrap long line.
This commit is contained in:
parent
22064c8f39
commit
01f3b262c4
@ -132,14 +132,13 @@ static int
|
||||
e1000phy_attach(device_t dev)
|
||||
{
|
||||
struct mii_softc *sc;
|
||||
if_t ifp;
|
||||
|
||||
sc = device_get_softc(dev);
|
||||
|
||||
mii_phy_dev_attach(dev, MIIF_NOMANPAUSE, &e1000phy_funcs, 0);
|
||||
|
||||
ifp = sc->mii_pdata->mii_ifp;
|
||||
if (mii_dev_mac_match(dev, "msk") && (sc->mii_flags & MIIF_MACPRIV0) != 0)
|
||||
if (mii_dev_mac_match(dev, "msk") &&
|
||||
(sc->mii_flags & MIIF_MACPRIV0) != 0)
|
||||
sc->mii_flags |= MIIF_PHYPRIV0;
|
||||
|
||||
switch (sc->mii_mpd_model) {
|
||||
|
Loading…
Reference in New Issue
Block a user