Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/sibyte/dev recognize PERIPH_REV3 DMA for BCM12...



details:   https://anonhg.NetBSD.org/src/rev/bb9978377d85
branches:  trunk
changeset: 559505:bb9978377d85
user:      cgd <cgd%NetBSD.org@localhost>
date:      Fri Mar 19 06:01:31 2004 +0000

description:
recognize PERIPH_REV3 DMA for BCM1250, too

diffstat:

 sys/arch/mips/sibyte/dev/sbmac.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a730276c82f9 -r bb9978377d85 sys/arch/mips/sibyte/dev/sbmac.c
--- a/sys/arch/mips/sibyte/dev/sbmac.c  Fri Mar 19 02:57:34 2004 +0000
+++ b/sys/arch/mips/sibyte/dev/sbmac.c  Fri Mar 19 06:01:31 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sbmac.c,v 1.17 2004/03/18 06:59:30 cgd Exp $ */
+/* $NetBSD: sbmac.c,v 1.18 2004/03/19 06:01:31 cgd Exp $ */
 
 /*
  * Copyright 2000, 2001
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbmac.c,v 1.17 2004/03/18 06:59:30 cgd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbmac.c,v 1.18 2004/03/19 06:01:31 cgd Exp $");
 
 #include "bpfilter.h"
 #include "opt_inet.h"
@@ -1122,7 +1122,7 @@
                            SYS_SOC_TYPE(sysrev) == K_SYS_SOC_TYPE_BCM1125 ||
                            SYS_SOC_TYPE(sysrev) == K_SYS_SOC_TYPE_BCM1125H ||
                            (SYS_SOC_TYPE(sysrev) == K_SYS_SOC_TYPE_BCM1250 &&
-                            0));
+                            G_SYS_REVISION(sysrev) >= K_SYS_REVISION_BCM1250_PASS3));
 #ifdef SBMAC_EVENT_COUNTERS
        evcnt_attach_dynamic(&s->sbm_ev_rxintr, EVCNT_TYPE_INTR,
            NULL, s->sc_dev.dv_xname, "rxintr");



Home | Main Index | Thread Index | Old Index