aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vr
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1999-02-23 15:38:25 +0000
committerBill Paul <wpaul@FreeBSD.org>1999-02-23 15:38:25 +0000
commit141ae166569bd7263050c14ec84a80d72665b77c (patch)
tree2bc4f2cca63c26b6cf2e88487cc2181b65b595e2 /sys/dev/vr
parent7a129df7d048469f2d304514c8bc2e536dfdd29a (diff)
downloadsrc-141ae166569bd7263050c14ec84a80d72665b77c.tar.gz
src-141ae166569bd7263050c14ec84a80d72665b77c.zip
Add support for still more cheapo 10/100 cards: Delta Electronics and
Addtron appear to have their own VIA Rhine II and RealTek 8139 boards with custom PCI vendor and device IDs. This commit updates the PCI vendor and device lists in the vr and rl drivers so that we can probe the additional devices. Found by: nosing around the PCI vendor and device code list at: http://www.halcyon.com/scripts/jboemler/pci/pcicode
Notes
Notes: svn path=/head/; revision=44238
Diffstat (limited to 'sys/dev/vr')
-rw-r--r--sys/dev/vr/if_vr.c8
-rw-r--r--sys/dev/vr/if_vrreg.h28
2 files changed, 30 insertions, 6 deletions
diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c
index 9d04b52dea6a..7c4c1d87368c 100644
--- a/sys/dev/vr/if_vr.c
+++ b/sys/dev/vr/if_vr.c
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_vr.c,v 1.7 1999/01/10 18:51:49 wpaul Exp $
+ * $Id: if_vr.c,v 1.18 1999/02/23 06:47:52 wpaul Exp $
*/
/*
@@ -97,7 +97,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: if_vr.c,v 1.7 1999/01/10 18:51:49 wpaul Exp $";
+ "$Id: if_vr.c,v 1.18 1999/02/23 06:47:52 wpaul Exp $";
#endif
/*
@@ -108,6 +108,10 @@ static struct vr_type vr_devs[] = {
"VIA VT3043 Rhine I 10/100BaseTX" },
{ VIA_VENDORID, VIA_DEVICEID_RHINE_II,
"VIA VT86C100A Rhine II 10/100BaseTX" },
+ { DELTA_VENDORID, DELTA_DEVICEID_RHINE_II,
+ "Delta Electronics Rhine II 10/100BaseTX" },
+ { ADDTRON_VENDORID, ADDTRON_DEVICEID_RHINE_II,
+ "Addtron Technology Rhine II 10/100BaseTX" },
{ 0, 0, NULL }
};
diff --git a/sys/dev/vr/if_vrreg.h b/sys/dev/vr/if_vrreg.h
index b44dcabd1316..f511b9275c20 100644
--- a/sys/dev/vr/if_vrreg.h
+++ b/sys/dev/vr/if_vrreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_vrreg.h,v 1.9 1999/01/10 18:06:10 wpaul Exp $
+ * $Id: if_vrreg.h,v 1.10 1999/02/23 06:47:52 wpaul Exp $
*/
/*
@@ -439,13 +439,33 @@ struct vr_softc {
*
* VIA vendor ID
*/
-#define VIA_VENDORID 0x1106
+#define VIA_VENDORID 0x1106
/*
* VIA Rhine device IDs.
*/
-#define VIA_DEVICEID_RHINE 0x3043
-#define VIA_DEVICEID_RHINE_II 0x6100
+#define VIA_DEVICEID_RHINE 0x3043
+#define VIA_DEVICEID_RHINE_II 0x6100
+
+/*
+ * Delta Electronics device ID.
+ */
+#define DELTA_VENDORID 0x1500
+
+/*
+ * Delta device IDs.
+ */
+#define DELTA_DEVICEID_RHINE_II 0x1320
+
+/*
+ * Addtron vendor ID.
+ */
+#define ADDTRON_VENDORID 0x4033
+
+/*
+ * Addtron device IDs.
+ */
+#define ADDTRON_DEVICEID_RHINE_II 0x1320
/*