svn commit: r241220 - head/sys/dev/bge
Pyun YongHyeon
yongari at FreeBSD.org
Fri Oct 5 07:13:22 UTC 2012
Author: yongari
Date: Fri Oct 5 07:13:21 2012
New Revision: 241220
URL: http://svn.freebsd.org/changeset/base/241220
Log:
Follow Broadcom datasheet:
Delay 100 microseconds after enabling transmit MAC.
Delay 10 microseconds after enabling receive MAC.
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c Fri Oct 5 06:24:22 2012 (r241219)
+++ head/sys/dev/bge/if_bge.c Fri Oct 5 07:13:21 2012 (r241220)
@@ -5033,9 +5033,11 @@ bge_init_locked(struct bge_softc *sc)
}
/* Turn on transmitter. */
CSR_WRITE_4(sc, BGE_TX_MODE, mode | BGE_TXMODE_ENABLE);
+ DELAY(100);
/* Turn on receiver. */
BGE_SETBIT(sc, BGE_RX_MODE, BGE_RXMODE_ENABLE);
+ DELAY(10);
/*
* Set the number of good frames to receive after RX MBUF
More information about the svn-src-all
mailing list