Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci The limitation for TX/RX DMA of rev. 900B and 63...



details:   https://anonhg.NetBSD.org/src/rev/2a60663a719a
branches:  trunk
changeset: 557521:2a60663a719a
user:      cube <cube%NetBSD.org@localhost>
date:      Sun Jan 11 09:07:56 2004 +0000

description:
The limitation for TX/RX DMA of rev. 900B and 635 os the SiS chips also
applies to rev. 0x91 for 96x chipsets.  Needed to fix PR 24043, but more
stressing testing has to be performed before closing it.

diffstat:

 sys/dev/pci/if_sip.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 184d9db8d9ca -r 2a60663a719a sys/dev/pci/if_sip.c
--- a/sys/dev/pci/if_sip.c      Sun Jan 11 09:07:28 2004 +0000
+++ b/sys/dev/pci/if_sip.c      Sun Jan 11 09:07:56 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_sip.c,v 1.86 2003/12/05 22:34:44 cube Exp $ */
+/*     $NetBSD: if_sip.c,v 1.87 2004/01/11 09:07:56 cube Exp $ */
 
 /*-
  * Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sip.c,v 1.86 2003/12/05 22:34:44 cube Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sip.c,v 1.87 2004/01/11 09:07:56 cube Exp $");
 
 #include "bpfilter.h"
 #include "rnd.h"
@@ -2280,6 +2280,7 @@
        sc->sc_rxcfg = RXCFG_MXDMA_512;
 #else
        if ((SIP_SIS900_REV(sc, SIS_REV_635) ||
+            SIP_SIS900_REV(sc, SIS_REV_960) ||
             SIP_SIS900_REV(sc, SIS_REV_900B)) &&
            (bus_space_read_4(sc->sc_st, sc->sc_sh, SIP_CFG) & CFG_EDBMASTEN)) {
                sc->sc_txcfg = TXCFG_MXDMA_64;



Home | Main Index | Thread Index | Old Index