Add preliminary support for the Hawking PN672TX CardBus cards.

# Preliminary because there are some subtle things the NetBSD driver does
# that we don't do yet.  My card works for me w/o them.
This commit is contained in:
Warner Losh 2003-01-10 05:37:15 +00:00
parent 4d844c09ac
commit 948c244d94
4 changed files with 30 additions and 0 deletions

View File

@ -194,6 +194,8 @@ static struct dc_type dc_devs[] = {
"Abocom FE2500 10/100BaseTX" },
{ DC_VENDORID_CONEXANT, DC_DEVICEID_RS7112,
"Conexant LANfinity MiniPCI 10/100BaseTX" },
{ DC_VENDORID_HAWKING, DC_DEVICEID_HAWKING_PN672TX,
"Hawking CB102 CardBus 10/100" },
{ 0, 0, NULL }
};
@ -2013,6 +2015,7 @@ dc_attach(dev)
case DC_DEVICEID_AN985:
case DC_DEVICEID_FE2500:
case DC_DEVICEID_EN2242:
case DC_DEVICEID_HAWKING_PN672TX:
sc->dc_type = DC_TYPE_AN985;
sc->dc_flags |= DC_TX_USE_TX_INTR;
sc->dc_flags |= DC_TX_ADMTEK_WAR;

View File

@ -925,6 +925,18 @@ struct dc_softc {
*/
#define DC_DEVICEID_RS7112 0x1803
/*
* Not sure who this vendor should be, so we'll go with HAWKING until
* I can locate the right one.
*/
#define DC_VENDORID_HAWKING 0x17b3
/*
* Sure looks like an abocom device ID, but it found on my hawking PN672TX
* card. Use that for now, and upgrade later.
*/
#define DC_DEVICEID_HAWKING_PN672TX 0xab08
/*
* PCI low memory base and low I/O base register, and
* other PCI registers.

View File

@ -194,6 +194,8 @@ static struct dc_type dc_devs[] = {
"Abocom FE2500 10/100BaseTX" },
{ DC_VENDORID_CONEXANT, DC_DEVICEID_RS7112,
"Conexant LANfinity MiniPCI 10/100BaseTX" },
{ DC_VENDORID_HAWKING, DC_DEVICEID_HAWKING_PN672TX,
"Hawking CB102 CardBus 10/100" },
{ 0, 0, NULL }
};
@ -2013,6 +2015,7 @@ dc_attach(dev)
case DC_DEVICEID_AN985:
case DC_DEVICEID_FE2500:
case DC_DEVICEID_EN2242:
case DC_DEVICEID_HAWKING_PN672TX:
sc->dc_type = DC_TYPE_AN985;
sc->dc_flags |= DC_TX_USE_TX_INTR;
sc->dc_flags |= DC_TX_ADMTEK_WAR;

View File

@ -925,6 +925,18 @@ struct dc_softc {
*/
#define DC_DEVICEID_RS7112 0x1803
/*
* Not sure who this vendor should be, so we'll go with HAWKING until
* I can locate the right one.
*/
#define DC_VENDORID_HAWKING 0x17b3
/*
* Sure looks like an abocom device ID, but it found on my hawking PN672TX
* card. Use that for now, and upgrade later.
*/
#define DC_DEVICEID_HAWKING_PN672TX 0xab08
/*
* PCI low memory base and low I/O base register, and
* other PCI registers.