summaryrefslogtreecommitdiffstats
path: root/sys/dev/vr
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-02-23 15:38:25 +0000
committerwpaul <wpaul@FreeBSD.org>1999-02-23 15:38:25 +0000
commit8f00b27bc3caf4e4036d6d83ba916b59d065dc30 (patch)
tree325fc5bac6d7242b136a9a01eff2b9af5c061463 /sys/dev/vr
parentac7d7a1d69aea5d73e04ba4147e586ed98ceee96 (diff)
downloadFreeBSD-src-8f00b27bc3caf4e4036d6d83ba916b59d065dc30.zip
FreeBSD-src-8f00b27bc3caf4e4036d6d83ba916b59d065dc30.tar.gz
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
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 9d04b52..7c4c1d8 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 b44dcab..f511b92 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
/*
OpenPOWER on IntegriCloud