diff options
author | sumikawa <sumikawa@FreeBSD.org> | 2001-11-19 18:47:49 +0000 |
---|---|---|
committer | sumikawa <sumikawa@FreeBSD.org> | 2001-11-19 18:47:49 +0000 |
commit | 4410530efb165fbebbcf481000cc8694bcab5baf (patch) | |
tree | 8bdbdf539a561ce5b0b8c77d7a738cde9b0b63bb /sys/dev/usb/if_auereg.h | |
parent | c48e058b808b9b0df5baae843c3fe9a234249c19 (diff) | |
download | FreeBSD-src-4410530efb165fbebbcf481000cc8694bcab5baf.zip FreeBSD-src-4410530efb165fbebbcf481000cc8694bcab5baf.tar.gz |
Support MELCO LUA2-TX USB ethernet adaptor.
Actually this porting supports Pegasus II chip so I guess some other
devices supported by NetBSD also work. But the devices list are not
included because I cannot confirm if they work.
Obtained from: NetBSD
MFC after: 3 weeks
Diffstat (limited to 'sys/dev/usb/if_auereg.h')
-rw-r--r-- | sys/dev/usb/if_auereg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/usb/if_auereg.h b/sys/dev/usb/if_auereg.h index 28ebf7a..6fec3cd 100644 --- a/sys/dev/usb/if_auereg.h +++ b/sys/dev/usb/if_auereg.h @@ -103,6 +103,7 @@ #define AUE_PAUSE AUE_PAUSE0 #define AUE_RX_FLOWCTL_CNT 0x1A #define AUE_RX_FLOWCTL_FIFO 0x1B +#define AUE_REG_1D 0x1D #define AUE_EE_REG 0x20 #define AUE_EE_DATA0 0x21 #define AUE_EE_DATA1 0x22 @@ -122,8 +123,10 @@ #define AUE_PKTLOST1 0x2F #define AUE_PKTLOST AUE_PKTLOST0 +#define AUE_REG_7B 0x7B #define AUE_GPIO0 0x7E #define AUE_GPIO1 0x7F +#define AUE_REG_81 0x81 #define AUE_CTL0_INCLUDE_RXCRC 0x01 #define AUE_CTL0_ALLMULTI 0x02 @@ -205,6 +208,10 @@ struct aue_rxpkt { struct aue_type { u_int16_t aue_vid; u_int16_t aue_did; + u_int16_t aue_flags; +#define LSYS 0x0001 /* use Linksys reset */ +#define PNA 0x0002 /* has Home PNA */ +#define PII 0x0004 /* Pegasus II chip */ }; #define AUE_TX_LIST_CNT 1 |