diff options
author | wpaul <wpaul@FreeBSD.org> | 2003-09-10 15:14:46 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2003-09-10 15:14:46 +0000 |
commit | a47efb5a4037c8196f530e848345a351ce26b1db (patch) | |
tree | 36d55d06a351d998fd9c850b321033b2ce5e9845 /sys/dev/re | |
parent | 4109d5709029661f6157f6138997327386156e2a (diff) | |
download | FreeBSD-src-a47efb5a4037c8196f530e848345a351ce26b1db.zip FreeBSD-src-a47efb5a4037c8196f530e848345a351ce26b1db.tar.gz |
Fix bug in re_gmii_writewreg(): we don't need to be screening out certain
PHY addresses here. (The chip will only let you talk to one PHY anyway.)
Diffstat (limited to 'sys/dev/re')
-rw-r--r-- | sys/dev/re/if_re.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 1ff1853..cdf30ed 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -420,9 +420,6 @@ re_gmii_writereg(dev, phy, reg, data) u_int32_t rval; int i; - if (phy > 0) - return(0); - sc = device_get_softc(dev); CSR_WRITE_4(sc, RL_PHYAR, (reg << 16) | |