Recognize Broadcom BCM5752 chip, that can be found in HP DC7600.

PR:		kern/88940
Submitted by:	Alexander Hausner
This commit is contained in:
glebius 2005-11-15 14:43:22 +00:00
parent 2466e9c038
commit 1f3218984a
2 changed files with 7 additions and 2 deletions

View File

@ -172,6 +172,8 @@ static struct bge_type bge_devs[] = {
"Broadcom BCM5751 Gigabit Ethernet" },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM5751M,
"Broadcom BCM5751M Gigabit Ethernet" },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM5752,
"Broadcom BCM5752 Gigabit Ethernet" },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM5782,
"Broadcom BCM5782 Gigabit Ethernet" },
{ BCOM_VENDORID, BCOM_DEVICEID_BCM5788,
@ -2319,10 +2321,11 @@ bge_attach(dev)
sc->bge_chiprev = BGE_CHIPREV(sc->bge_chipid);
/*
* Treat the 5714 like the 5750 until we have more info
* Treat the 5714 and the 5752 like the 5750 until we have more info
* on this chip.
*/
if (sc->bge_asicrev == BGE_ASICREV_BCM5714)
if (sc->bge_asicrev == BGE_ASICREV_BCM5714 ||
sc->bge_asicrev == BGE_ASICREV_BCM5752)
sc->bge_asicrev = BGE_ASICREV_BCM5750;
/*

View File

@ -250,6 +250,7 @@
#define BGE_ASICREV_BCM5705 0x03
#define BGE_ASICREV_BCM5750 0x04
#define BGE_ASICREV_BCM5714 0x05
#define BGE_ASICREV_BCM5752 0x06
/* chip revisions */
#define BGE_CHIPREV(x) ((x) >> 24)
@ -1875,6 +1876,7 @@ struct bge_status_block {
#define BCOM_DEVICEID_BCM5750M 0x167C
#define BCOM_DEVICEID_BCM5751 0x1677
#define BCOM_DEVICEID_BCM5751M 0x167D
#define BCOM_DEVICEID_BCM5752 0x1600
#define BCOM_DEVICEID_BCM5782 0x1696
#define BCOM_DEVICEID_BCM5788 0x169C
#define BCOM_DEVICEID_BCM5789 0x169D