summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-04-07 15:47:53 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-04-07 15:47:53 +0000
commit206018973aac2a98e844687a627ef9d7fa128a7d (patch)
treef52e105e2bac9291659324bb4f53928cf6140936 /sys/dev/ic
parenta51ba071370c243399e6e948a1ced7c48e27e4b2 (diff)
attach on abocom's 8139; from Kimmo Sinkko <kimmo@sinkko.org>
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/rtl81x9.c5
-rw-r--r--sys/dev/ic/rtl81x9reg.h5
2 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c
index 8d5649ba8f6..0742b274ccb 100644
--- a/sys/dev/ic/rtl81x9.c
+++ b/sys/dev/ic/rtl81x9.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9.c,v 1.22 2003/10/21 18:58:49 jmc Exp $ */
+/* $OpenBSD: rtl81x9.c,v 1.23 2004/04/07 15:47:52 mickey Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1220,7 +1220,8 @@ rl_attach(sc)
if (rl_did == RT_DEVICEID_8139 || rl_did == ACCTON_DEVICEID_5030 ||
rl_did == DELTA_DEVICEID_8139 || rl_did == ADDTRON_DEVICEID_8139 ||
- rl_did == DLINK_DEVICEID_8139 || rl_did == DLINK_DEVICEID_8139_2)
+ rl_did == DLINK_DEVICEID_8139 || rl_did == DLINK_DEVICEID_8139_2 ||
+ rl_did == ABOCOM_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 2433383d497..dbc1c2abd9f 100644
--- a/sys/dev/ic/rtl81x9reg.h
+++ b/sys/dev/ic/rtl81x9reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9reg.h,v 1.8 2003/10/01 23:37:12 fgsch Exp $ */
+/* $OpenBSD: rtl81x9reg.h,v 1.9 2004/04/07 15:47:52 mickey Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -444,6 +444,9 @@ struct rl_softc {
#define DLINK_DEVICEID_8139 0x1300
#define DLINK_DEVICEID_8139_2 0x1340
+/* Abocom device IDs */
+#define ABOCOM_DEVICEID_8139 0xab06
+
/*
* PCI low memory base and low I/O base register, and
* other PCI registers. Note: some are only available on