Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Add quirk for BGE_CHIPID_BCM5751_A1. From Kurt S...



details:   https://anonhg.NetBSD.org/src/rev/d9de6fabc59b
branches:  trunk
changeset: 583786:d9de6fabc59b
user:      gavan <gavan%NetBSD.org@localhost>
date:      Mon Aug 22 18:18:25 2005 +0000

description:
Add quirk for BGE_CHIPID_BCM5751_A1. From Kurt Schreiner <ks at ub.uni-mainz
dot de> via PR kern/31028.

diffstat:

 sys/dev/pci/if_bge.c    |  8 ++++++--
 sys/dev/pci/if_bgereg.h |  3 ++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 3d87383e2d43 -r d9de6fabc59b sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Mon Aug 22 15:33:08 2005 +0000
+++ b/sys/dev/pci/if_bge.c      Mon Aug 22 18:18:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.91 2005/08/21 21:32:26 gavan Exp $        */
+/*     $NetBSD: if_bge.c,v 1.92 2005/08/22 18:18:25 gavan Exp $        */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.91 2005/08/21 21:32:26 gavan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.92 2005/08/22 18:18:25 gavan Exp $");
 
 #include "bpfilter.h"
 #include "vlan.h"
@@ -1942,6 +1942,10 @@
          BGE_QUIRK_ONLY_PHY_1|BGE_QUIRK_5705_CORE,
          "BCM5750 A1" },
 
+       { BGE_CHIPID_BCM5751_A1,
+         BGE_QUIRK_ONLY_PHY_1|BGE_QUIRK_5705_CORE,
+         "BCM5751 A1" },
+
        { 0, 0, NULL }
 };
 
diff -r 3d87383e2d43 -r d9de6fabc59b sys/dev/pci/if_bgereg.h
--- a/sys/dev/pci/if_bgereg.h   Mon Aug 22 15:33:08 2005 +0000
+++ b/sys/dev/pci/if_bgereg.h   Mon Aug 22 18:18:25 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bgereg.h,v 1.24 2005/02/27 00:27:32 perry Exp $     */
+/*     $NetBSD: if_bgereg.h,v 1.25 2005/08/22 18:18:25 gavan Exp $     */
 /*
  * Copyright (c) 2001 Wind River Systems
  * Copyright (c) 1997, 1998, 1999, 2001
@@ -249,6 +249,7 @@
 #define BGE_CHIPID_BCM5705_A3          0x30030000
 #define BGE_CHIPID_BCM5750_A0          0x40000000
 #define BGE_CHIPID_BCM5750_A1          0x40010000
+#define BGE_CHIPID_BCM5751_A1          0x41010000
 
 /* shorthand one */
 #define BGE_ASICREV(x)                  ((x) >> 28)



Home | Main Index | Thread Index | Old Index