Add support for the Accton EN2242 MiniPCI adapter. This is just an

ADMtek Centaur chip, so all we need is the PCI ID.

Submitted by:	Scott Lang <scottl@FreeBSD.org>
This commit is contained in:
Bill Paul 2000-11-14 19:35:22 +00:00
parent 8204c68ecc
commit fa167b8eaa
4 changed files with 8 additions and 0 deletions

View File

@ -180,6 +180,8 @@ static struct dc_type dc_devs[] = {
"82c169 PNIC 10/100BaseTX" },
{ DC_VENDORID_ACCTON, DC_DEVICEID_EN1217,
"Accton EN1217 10/100BaseTX" },
{ DC_VENDORID_ACCTON, DC_DEVICEID_EN2242,
"Accton EN2242 MiniPCI 10/100BaseTX" },
{ DC_VENDORID_XIRCOM, DC_DEVICEID_X3201,
"Xircom X3201 10/100BaseTX" },
{ DC_VENDORID_ABOCOM, DC_DEVICEID_FE2500,
@ -1862,6 +1864,7 @@ static int dc_attach(dev)
break;
case DC_DEVICEID_AN985:
case DC_DEVICEID_FE2500:
case DC_DEVICEID_EN2242:
sc->dc_type = DC_TYPE_AN985;
sc->dc_flags |= DC_TX_USE_TX_INTR;
sc->dc_flags |= DC_TX_ADMTEK_WAR;

View File

@ -854,6 +854,7 @@ struct dc_softc {
* Accton device IDs.
*/
#define DC_DEVICEID_EN1217 0x1217
#define DC_DEVICEID_EN2242 0x1216
/*
* Xircom vendor ID

View File

@ -180,6 +180,8 @@ static struct dc_type dc_devs[] = {
"82c169 PNIC 10/100BaseTX" },
{ DC_VENDORID_ACCTON, DC_DEVICEID_EN1217,
"Accton EN1217 10/100BaseTX" },
{ DC_VENDORID_ACCTON, DC_DEVICEID_EN2242,
"Accton EN2242 MiniPCI 10/100BaseTX" },
{ DC_VENDORID_XIRCOM, DC_DEVICEID_X3201,
"Xircom X3201 10/100BaseTX" },
{ DC_VENDORID_ABOCOM, DC_DEVICEID_FE2500,
@ -1862,6 +1864,7 @@ static int dc_attach(dev)
break;
case DC_DEVICEID_AN985:
case DC_DEVICEID_FE2500:
case DC_DEVICEID_EN2242:
sc->dc_type = DC_TYPE_AN985;
sc->dc_flags |= DC_TX_USE_TX_INTR;
sc->dc_flags |= DC_TX_ADMTEK_WAR;

View File

@ -854,6 +854,7 @@ struct dc_softc {
* Accton device IDs.
*/
#define DC_DEVICEID_EN1217 0x1217
#define DC_DEVICEID_EN2242 0x1216
/*
* Xircom vendor ID