From Matt Thomas:
"I screwed the initialization of the burstsize. Right now it will default to 0 (which can cause corruption problems on high latency PCI buses). It should be set to 8 longwords to avoid problems with certain PCI chipsets." Submitted by: Matt Thomas <matt@lkg.dec.com>
This commit is contained in:
parent
01fc1ee969
commit
0d9a79f8a6
@ -21,7 +21,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_de.c,v 1.33 1995/10/07 20:34:30 davidg Exp $
|
||||
* $Id: if_de.c,v 1.34 1995/10/13 19:48:03 wollman Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -919,7 +919,8 @@ tulip_reset(
|
||||
TULIP_WRITE_CSR(sc, csr_txlist, vtophys(&sc->tulip_txinfo.ri_first[0]));
|
||||
TULIP_WRITE_CSR(sc, csr_rxlist, vtophys(&sc->tulip_rxinfo.ri_first[0]));
|
||||
TULIP_WRITE_CSR(sc, csr_busmode,
|
||||
((1 << TULIP_BURSTSIZE(sc->tulip_unit)) << 8)|TULIP_BUSMODE_CACHE_ALIGN8
|
||||
(1 << (TULIP_BURSTSIZE(sc->tulip_unit) + 8))
|
||||
|TULIP_BUSMODE_CACHE_ALIGN8
|
||||
|(BYTE_ORDER != LITTLE_ENDIAN ? TULIP_BUSMODE_BIGENDIAN : 0));
|
||||
|
||||
sc->tulip_txq.ifq_maxlen = TULIP_TXDESCS;
|
||||
|
@ -21,7 +21,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_de.c,v 1.33 1995/10/07 20:34:30 davidg Exp $
|
||||
* $Id: if_de.c,v 1.34 1995/10/13 19:48:03 wollman Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -919,7 +919,8 @@ tulip_reset(
|
||||
TULIP_WRITE_CSR(sc, csr_txlist, vtophys(&sc->tulip_txinfo.ri_first[0]));
|
||||
TULIP_WRITE_CSR(sc, csr_rxlist, vtophys(&sc->tulip_rxinfo.ri_first[0]));
|
||||
TULIP_WRITE_CSR(sc, csr_busmode,
|
||||
((1 << TULIP_BURSTSIZE(sc->tulip_unit)) << 8)|TULIP_BUSMODE_CACHE_ALIGN8
|
||||
(1 << (TULIP_BURSTSIZE(sc->tulip_unit) + 8))
|
||||
|TULIP_BUSMODE_CACHE_ALIGN8
|
||||
|(BYTE_ORDER != LITTLE_ENDIAN ? TULIP_BUSMODE_BIGENDIAN : 0));
|
||||
|
||||
sc->tulip_txq.ifq_maxlen = TULIP_TXDESCS;
|
||||
|
Loading…
Reference in New Issue
Block a user