diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-05-22 11:35:17 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-05-22 11:35:17 +0000 |
commit | 97bae19544ddd5a3f852f8a16078355aa65494cd (patch) | |
tree | 6c1209ab30ac519079c8b17840b43dffce7f7767 /sys/dev/ic | |
parent | ba8edf44d910016995f0d11b455a10dce9112500 (diff) |
support for D-Link DFE-530TX and DFE-530TX+; from Maxim Tsyplakov <tm@oganer.net>
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/rtl81x9.c | 5 | ||||
-rw-r--r-- | sys/dev/ic/rtl81x9reg.h | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c index fc41c65316c..2363116cf7b 100644 --- a/sys/dev/ic/rtl81x9.c +++ b/sys/dev/ic/rtl81x9.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtl81x9.c,v 1.2 2001/04/13 15:58:43 aaron Exp $ */ +/* $OpenBSD: rtl81x9.c,v 1.3 2001/05/22 11:35:16 mickey Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1222,7 +1222,8 @@ rl_attach(sc) rl_read_eeprom(sc, (caddr_t)&rl_did, RL_EE_PCI_DID, 1, 0); if (rl_did == RT_DEVICEID_8139 || rl_did == ACCTON_DEVICEID_5030 || - rl_did == DELTA_DEVICEID_8139 || rl_did == ADDTRON_DEVICEID_8139) + rl_did == DELTA_DEVICEID_8139 || rl_did == ADDTRON_DEVICEID_8139 + || rl_did == DLINK_DEVICEID_8139) sc->rl_type = RL_8139; else if (rl_did == RT_DEVICEID_8129) sc->rl_type = RL_8129; diff --git a/sys/dev/ic/rtl81x9reg.h b/sys/dev/ic/rtl81x9reg.h index 7645b46bb02..f149940b314 100644 --- a/sys/dev/ic/rtl81x9reg.h +++ b/sys/dev/ic/rtl81x9reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rtl81x9reg.h,v 1.1 2001/04/10 22:52:00 aaron Exp $ */ +/* $OpenBSD: rtl81x9reg.h,v 1.2 2001/05/22 11:35:16 mickey Exp $ */ /* * Copyright (c) 1997, 1998 @@ -431,6 +431,12 @@ struct rl_softc { */ #define ADDTRON_DEVICEID_8139 0x1360 +/* D-Link Vendor ID */ +#define DLINK_VENDORID 0x1186 + +/* D-Link device IDs */ +#define DLINK_DEVICEID_8139 0x1300 + /* * PCI low memory base and low I/O base register, and * other PCI registers. Note: some are only available on |