mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
mii_phy_dev_probe returns its third argument on match, not 0, so pass 0
in if we're going to test against 0. Noticed by: marius@
This commit is contained in:
parent
1ad9ee8603
commit
3a5e8cefd3
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ rlphy_attach(device_t dev)
|
|||
* routine can query the proper register for speed detection.
|
||||
*/
|
||||
rsc = (struct rlphy_softc *)sc;
|
||||
if (mii_phy_dev_probe(dev, rlphys, BUS_PROBE_DEFAULT) == 0)
|
||||
if (mii_phy_dev_probe(dev, rlphys, 0) == 0)
|
||||
rsc->sc_is_RTL8201L++;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue