diff options
author | wpaul <wpaul@FreeBSD.org> | 2000-11-14 19:35:22 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2000-11-14 19:35:22 +0000 |
commit | 5f42d57882aa1072ce12350297665532c3ad1b61 (patch) | |
tree | d835e6dbe440b6b2f24b4f2936971bb396224d26 /sys/dev/dc | |
parent | c87f1c4961bb04662b7e6266a96d44a61c9386f9 (diff) | |
download | FreeBSD-src-5f42d57882aa1072ce12350297665532c3ad1b61.zip FreeBSD-src-5f42d57882aa1072ce12350297665532c3ad1b61.tar.gz |
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>
Diffstat (limited to 'sys/dev/dc')
-rw-r--r-- | sys/dev/dc/if_dc.c | 3 | ||||
-rw-r--r-- | sys/dev/dc/if_dcreg.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index ad53f89..3bdd051 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -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; diff --git a/sys/dev/dc/if_dcreg.h b/sys/dev/dc/if_dcreg.h index 9d44fa4..64ca347 100644 --- a/sys/dev/dc/if_dcreg.h +++ b/sys/dev/dc/if_dcreg.h @@ -854,6 +854,7 @@ struct dc_softc { * Accton device IDs. */ #define DC_DEVICEID_EN1217 0x1217 +#define DC_DEVICEID_EN2242 0x1216 /* * Xircom vendor ID |