Add support for the Davicom DM9009 chipset.

PR:		46859
Submitted by:	Boaz Haberman <boaz@ool-182f8b09.dyn.optonline.net>
Approved by:	rwatson
This commit is contained in:
Tom Rhodes 2003-01-09 20:51:39 +00:00
parent 0d238da886
commit 38deb45fc3
4 changed files with 8 additions and 0 deletions

View File

@ -146,6 +146,8 @@ static const char rcsid[] =
static struct dc_type dc_devs[] = {
{ DC_VENDORID_DEC, DC_DEVICEID_21143,
"Intel 21143 10/100BaseTX" },
{ DC_VENDORID_DAVICOM, DC_DEVICEID_DM9009,
"Davicom DM9009 10/100BaseTX" },
{ DC_VENDORID_DAVICOM, DC_DEVICEID_DM9100,
"Davicom DM9100 10/100BaseTX" },
{ DC_VENDORID_DAVICOM, DC_DEVICEID_DM9102,
@ -1987,6 +1989,7 @@ dc_attach(dev)
dc_eeprom_width(sc);
dc_read_srom(sc, sc->dc_romwidth);
break;
case DC_DEVICEID_DM9009:
case DC_DEVICEID_DM9100:
case DC_DEVICEID_DM9102:
sc->dc_type = DC_TYPE_DM9102;

View File

@ -845,6 +845,7 @@ struct dc_softc {
/*
* Davicom device IDs.
*/
#define DC_DEVICEID_DM9009 0x9009
#define DC_DEVICEID_DM9100 0x9100
#define DC_DEVICEID_DM9102 0x9102

View File

@ -146,6 +146,8 @@ static const char rcsid[] =
static struct dc_type dc_devs[] = {
{ DC_VENDORID_DEC, DC_DEVICEID_21143,
"Intel 21143 10/100BaseTX" },
{ DC_VENDORID_DAVICOM, DC_DEVICEID_DM9009,
"Davicom DM9009 10/100BaseTX" },
{ DC_VENDORID_DAVICOM, DC_DEVICEID_DM9100,
"Davicom DM9100 10/100BaseTX" },
{ DC_VENDORID_DAVICOM, DC_DEVICEID_DM9102,
@ -1987,6 +1989,7 @@ dc_attach(dev)
dc_eeprom_width(sc);
dc_read_srom(sc, sc->dc_romwidth);
break;
case DC_DEVICEID_DM9009:
case DC_DEVICEID_DM9100:
case DC_DEVICEID_DM9102:
sc->dc_type = DC_TYPE_DM9102;

View File

@ -845,6 +845,7 @@ struct dc_softc {
/*
* Davicom device IDs.
*/
#define DC_DEVICEID_DM9009 0x9009
#define DC_DEVICEID_DM9100 0x9100
#define DC_DEVICEID_DM9102 0x9102