summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_tireg.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2000-11-21 03:50:50 +0000
committerJason Wright <jason@cvs.openbsd.org>2000-11-21 03:50:50 +0000
commit67bc1303d78fd73b8e1e0d88482ebc38b3a6b29b (patch)
tree0181a366b14be90c6393c4008de1ecbac8059f34 /sys/dev/pci/if_tireg.h
parente9771b9a9d5ceb200b322e9049fee2a6ac6e02e0 (diff)
From FreeBSD:
add support for the acenic copper and netgear ga620t (untested). This also updates the firmware to 12.4.13 for tigon 1, and 12.4.11+wpaul hacks for tigon 2
Diffstat (limited to 'sys/dev/pci/if_tireg.h')
-rw-r--r--sys/dev/pci/if_tireg.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/dev/pci/if_tireg.h b/sys/dev/pci/if_tireg.h
index 8fcca435330..bb0d3e17f68 100644
--- a/sys/dev/pci/if_tireg.h
+++ b/sys/dev/pci/if_tireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tireg.h,v 1.8 2000/06/07 05:35:03 jason Exp $ */
+/* $OpenBSD: if_tireg.h,v 1.9 2000/11/21 03:50:48 jason Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -62,6 +62,7 @@
*/
#define ALT_VENDORID 0x12AE
#define ALT_DEVICEID_ACENIC 0x0001
+#define ALT_DEVICEID_ACENIC_COPPER 0x0002
/*
* 3Com 3c985 PCI vendor/device ID.
@@ -74,6 +75,7 @@
*/
#define NG_VENDORID 0x1385
#define NG_DEVICEID_GA620 0x620A
+#define NG_DEVICEID_GA620T 0x630A
/*
* SGI device/vendor ID.
@@ -136,8 +138,8 @@
* Firmware revision that we want.
*/
#define TI_FIRMWARE_MAJOR 0xc
-#define TI_FIRMWARE_MINOR 0x3
-#define TI_FIRMWARE_FIX 0x15
+#define TI_FIRMWARE_MINOR 0x4
+#define TI_FIRMWARE_FIX 0xd
/*
* Miscelaneous Local Control register.
@@ -1035,7 +1037,7 @@ struct ti_event_desc {
#define TI_SSLOTS 256
#define TI_MSLOTS 256
-#define TI_JSLOTS 256
+#define TI_JSLOTS 384
#define TI_JRAWLEN (TI_JUMBO_FRAMELEN + ETHER_ALIGN)
#define TI_JLEN TI_JRAWLEN
@@ -1120,6 +1122,7 @@ struct ti_softc {
void * ti_intrhand;
struct ifmedia ifmedia; /* media info */
u_int8_t ti_hwrev; /* Tigon rev (1 or 2) */
+ u_int8_t ti_copper; /* 1000baseTX card */
u_int8_t ti_linkstat; /* Link state */
bus_dma_tag_t sc_dmatag;
struct ti_ring_data *ti_rdata; /* rings */