summaryrefslogtreecommitdiffstats
path: root/sys/dev/tx/if_txvar.h
diff options
context:
space:
mode:
authorsemenu <semenu@FreeBSD.org>2000-06-21 19:19:49 +0000
committersemenu <semenu@FreeBSD.org>2000-06-21 19:19:49 +0000
commitefbb3f90a51815345b46716cd7f233318a2b14bc (patch)
tree4f7114201fd00523f70698111082f1ba402ac298 /sys/dev/tx/if_txvar.h
parentb3523df6cbee4c0aaa47a10ff0a94f913dd676a0 (diff)
downloadFreeBSD-src-efbb3f90a51815345b46716cd7f233318a2b14bc.zip
FreeBSD-src-efbb3f90a51815345b46716cd7f233318a2b14bc.tar.gz
Added support for SMC9432BTX cards.
Diffstat (limited to 'sys/dev/tx/if_txvar.h')
-rw-r--r--sys/dev/tx/if_txvar.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/tx/if_txvar.h b/sys/dev/tx/if_txvar.h
index 35685af..6e7dd86 100644
--- a/sys/dev/tx/if_txvar.h
+++ b/sys/dev/tx/if_txvar.h
@@ -182,6 +182,10 @@
#define TXCON_FULL_DUPLEX 0x00000006
#define TXCON_SLOT_TIME 0x00000078
+#define MIICFG_SERIAL_ENABLE 0x00000001
+#define MIICFG_694_ENABLE 0x00000002
+#define MIICFG_694_STATUS 0x00000004
+#define MIICFG_PHY_PRESENT 0x00000008
#define MIICFG_SMI_ENABLE 0x00000010
#define TEST1_CLOCK_TEST 0x00000008
@@ -257,13 +261,14 @@ struct epic_tx_buffer {
typedef struct {
struct arpcom arpcom;
#if defined(__OpenBSD__)
- struct device sc_dev;
mii_data_t sc_mii;
+ struct device dev;
#else /* __FreeBSD__ */
struct resource *res;
struct resource *irq;
device_t miibus;
+ device_t dev;
struct callout_handle stat_ch;
u_int32_t unit;
OpenPOWER on IntegriCloud