summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep/if_epreg.h
diff options
context:
space:
mode:
authorhosokawa <hosokawa@FreeBSD.org>1999-07-25 01:20:37 +0000
committerhosokawa <hosokawa@FreeBSD.org>1999-07-25 01:20:37 +0000
commit8d6c8172f9e803829082373a304da95a64d01fc8 (patch)
tree7f0e706c664977c4a9a869d8e2ab320e358e2299 /sys/dev/ep/if_epreg.h
parent0a79acf57e3d8f5134c37eed59b967178226160a (diff)
downloadFreeBSD-src-8d6c8172f9e803829082373a304da95a64d01fc8.zip
FreeBSD-src-8d6c8172f9e803829082373a304da95a64d01fc8.tar.gz
3C574TX 16bit FastEtherlink PC-card support.
Reviewed by: HAMADA Naoki <nao@tom-yam.or.jp> Submitted by: Osamu MIHARA <mihara@prd.fc.nec.co.jp>
Diffstat (limited to 'sys/dev/ep/if_epreg.h')
-rw-r--r--sys/dev/ep/if_epreg.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/ep/if_epreg.h b/sys/dev/ep/if_epreg.h
index 707f8a6..997b228 100644
--- a/sys/dev/ep/if_epreg.h
+++ b/sys/dev/ep/if_epreg.h
@@ -31,7 +31,7 @@
*/
/*
- * $Id: if_epreg.h,v 1.22 1997/10/27 06:15:10 joerg Exp $
+ * $Id: if_epreg.h,v 1.23 1998/04/17 22:36:35 des Exp $
*
* Promiscuous mode added and interrupt logic slightly changed
* to reduce the number of adapter failures. Transceiver select
@@ -86,6 +86,8 @@ struct ep_board {
/* data from EEPROM for later use */
u_short eth_addr[3]; /* Ethernet address */
u_short prod_id; /* product ID */
+ int cmd_off; /* command offset (bit shift) */
+ int mii_trans; /* activate MII transiever */
u_short res_cfg; /* resource configuration */
};
@@ -221,6 +223,7 @@ struct ep_board {
/* Read */
#define EP_W3_FREE_TX 0x0c
#define EP_W3_FREE_RX 0x0a
+#define EP_W3_OPTIONS 0x08
/*
* Window 4 registers. Diagnostics.
@@ -461,3 +464,8 @@ extern void ep_intr __P((void *sc));
extern int ep_attach __P((struct ep_softc *sc));
extern u_int16_t get_e __P((struct ep_softc *sc, int offset));
+
+/*
+ * Config flags
+ */
+#define EP_FLAGS_100TX 0x1
OpenPOWER on IntegriCloud