summaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <loos@FreeBSD.org>2014-05-09 13:07:39 +0000
committerLuiz Otavio O Souza <loos@FreeBSD.org>2014-05-09 13:07:39 +0000
commit6a7a25af3f0e8f7031492992957dab1a233de652 (patch)
tree9ffa8b544a739b4ad343c88c01f2a328c0ce058c /sys/dev/etherswitch
parent3fd18f39459ba924b2f4cd8dd1c1d6fa76282bda (diff)
Notes
Diffstat (limited to 'sys/dev/etherswitch')
-rw-r--r--sys/dev/etherswitch/ip17x/ip175c.c2
-rw-r--r--sys/dev/etherswitch/ip17x/ip175d.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/etherswitch/ip17x/ip175c.c b/sys/dev/etherswitch/ip17x/ip175c.c
index ced23c0c548d..f78705203359 100644
--- a/sys/dev/etherswitch/ip17x/ip175c.c
+++ b/sys/dev/etherswitch/ip17x/ip175c.c
@@ -63,7 +63,7 @@ ip175c_reset(struct ip17x_softc *sc)
if (ip17x_writephy(sc->sc_dev, IP175C_RESET_PHY, IP175C_RESET_REG,
0x175c))
return (-1);
- DELAY(2);
+ DELAY(2000);
/* Force IP175C mode. */
data = ip17x_readphy(sc->sc_dev, IP175C_MODE_PHY, IP175C_MODE_REG);
diff --git a/sys/dev/etherswitch/ip17x/ip175d.c b/sys/dev/etherswitch/ip17x/ip175d.c
index 1e6eee201d1c..4962ac23b785 100644
--- a/sys/dev/etherswitch/ip17x/ip175d.c
+++ b/sys/dev/etherswitch/ip17x/ip175d.c
@@ -62,7 +62,7 @@ ip175d_reset(struct ip17x_softc *sc)
/* Reset all the switch settings. */
ip17x_writephy(sc->sc_dev, IP175D_RESET_PHY, IP175D_RESET_REG, 0x175d);
- DELAY(2);
+ DELAY(2000);
/* Disable the special tagging mode. */
ip17x_updatephy(sc->sc_dev, 21, 22, 0x3, 0x0);