summaryrefslogtreecommitdiffstats
path: root/sys/dev/vr/if_vrreg.h
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/if_vrreg.h
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/if_vrreg.h')
-rw-r--r--sys/dev/vr/if_vrreg.h28
1 files changed, 24 insertions, 4 deletions
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