From 5f42d57882aa1072ce12350297665532c3ad1b61 Mon Sep 17 00:00:00 2001 From: wpaul Date: Tue, 14 Nov 2000 19:35:22 +0000 Subject: 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 --- sys/pci/if_dc.c | 3 +++ sys/pci/if_dcreg.h | 1 + 2 files changed, 4 insertions(+) (limited to 'sys/pci') diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c index ad53f89..3bdd051 100644 --- a/sys/pci/if_dc.c +++ b/sys/pci/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/pci/if_dcreg.h b/sys/pci/if_dcreg.h index 9d44fa4..64ca347 100644 --- a/sys/pci/if_dcreg.h +++ b/sys/pci/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 -- cgit v1.1