diff options
author | John Baldwin <jhb@FreeBSD.org> | 2008-03-06 21:42:48 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2008-03-06 21:42:48 +0000 |
commit | bcc20328f5861ca39cea96fe123f16cc49d70a63 (patch) | |
tree | db968d860667a861f6f01260a425b5ed22dfc24a /sys/dev/bge | |
parent | c6440f72b6f3d2876908546838395669ba20a85c (diff) | |
download | src-bcc20328f5861ca39cea96fe123f16cc49d70a63.tar.gz src-bcc20328f5861ca39cea96fe123f16cc49d70a63.zip |
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)
Notes
Notes:
svn path=/head/; revision=176881
Diffstat (limited to 'sys/dev/bge')
-rw-r--r-- | sys/dev/bge/if_bge.c | 1 | ||||
-rw-r--r-- | sys/dev/bge/if_bgereg.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index e8d56f26b426..55039741bdaa 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 0334add37d44..a8e0978459bd 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 |