summaryrefslogtreecommitdiffstats
path: root/sys/dev/bge
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-03-06 21:42:48 +0000
committerjhb <jhb@FreeBSD.org>2008-03-06 21:42:48 +0000
commit78ba8d2f6ebbe1bd773014102d4480f32c7174cb (patch)
treedb968d860667a861f6f01260a425b5ed22dfc24a /sys/dev/bge
parent7b52c04658cba2d47e955653db610740e72c339e (diff)
downloadFreeBSD-src-78ba8d2f6ebbe1bd773014102d4480f32c7174cb.zip
FreeBSD-src-78ba8d2f6ebbe1bd773014102d4480f32c7174cb.tar.gz
Flesh out support for the BCM5722 by recognizing the phy on the 5722 and
the specific ASIC revision. MFC after: 1 week Obtained from: OpenBSD (mii/phy bits)
Diffstat (limited to 'sys/dev/bge')
-rw-r--r--sys/dev/bge/if_bge.c1
-rw-r--r--sys/dev/bge/if_bgereg.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index e8d56f2..5503974 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -268,6 +268,7 @@ static const struct bge_revision {
{ BGE_CHIPID_BCM5755_A0, "BCM5755 A0" },
{ BGE_CHIPID_BCM5755_A1, "BCM5755 A1" },
{ BGE_CHIPID_BCM5755_A2, "BCM5755 A2" },
+ { BGE_CHIPID_BCM5722_A0, "BCM5722 A0" },
/* 5754 and 5787 share the same ASIC ID */
{ BGE_CHIPID_BCM5787_A0, "BCM5754/5787 A0" },
{ BGE_CHIPID_BCM5787_A1, "BCM5754/5787 A1" },
diff --git a/sys/dev/bge/if_bgereg.h b/sys/dev/bge/if_bgereg.h
index 0334add..a8e0978 100644
--- a/sys/dev/bge/if_bgereg.h
+++ b/sys/dev/bge/if_bgereg.h
@@ -277,6 +277,7 @@
#define BGE_CHIPID_BCM5755_A0 0xa0000000
#define BGE_CHIPID_BCM5755_A1 0xa0010000
#define BGE_CHIPID_BCM5755_A2 0xa0020000
+#define BGE_CHIPID_BCM5722_A0 0xa2000000
#define BGE_CHIPID_BCM5754_A0 0xb0000000
#define BGE_CHIPID_BCM5754_A1 0xb0010000
#define BGE_CHIPID_BCM5754_A2 0xb0020000
OpenPOWER on IntegriCloud