Deleted Added
full compact
if_ruereg.h (192984) if_ruereg.h (194228)
1/*-
2 * Copyright (c) 2001-2003, Shunsuke Akiyama <akiyama@FreeBSD.org>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2001-2003, Shunsuke Akiyama <akiyama@FreeBSD.org>.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/dev/usb/net/if_ruereg.h 192984 2009-05-28 17:36:36Z thompsa $
26 * $FreeBSD: head/sys/dev/usb/net/if_ruereg.h 194228 2009-06-15 01:02:43Z thompsa $
27 */
28
29#define RUE_CONFIG_IDX 0 /* config number 1 */
30#define RUE_IFACE_IDX 0
31
32#define RUE_INTR_PKTLEN 0x8
33
34#define RUE_TIMEOUT 50

--- 104 unchanged lines hidden (view full) ---

139#define RUE_EEPROM_IDR5 (RUE_EEPROM_BASE + 0x03)
140#define RUE_EEPROM_INTERVAL (RUE_EEPROM_BASE + 0x17)
141
142#define RUE_RXSTAT_VALID (0x01 << 12)
143#define RUE_RXSTAT_RUNT (0x02 << 12)
144#define RUE_RXSTAT_PMATCH (0x04 << 12)
145#define RUE_RXSTAT_MCAST (0x08 << 12)
146
27 */
28
29#define RUE_CONFIG_IDX 0 /* config number 1 */
30#define RUE_IFACE_IDX 0
31
32#define RUE_INTR_PKTLEN 0x8
33
34#define RUE_TIMEOUT 50

--- 104 unchanged lines hidden (view full) ---

139#define RUE_EEPROM_IDR5 (RUE_EEPROM_BASE + 0x03)
140#define RUE_EEPROM_INTERVAL (RUE_EEPROM_BASE + 0x17)
141
142#define RUE_RXSTAT_VALID (0x01 << 12)
143#define RUE_RXSTAT_RUNT (0x02 << 12)
144#define RUE_RXSTAT_PMATCH (0x04 << 12)
145#define RUE_RXSTAT_MCAST (0x08 << 12)
146
147#define GET_MII(sc) usb2_ether_getmii(&(sc)->sc_ue)
147#define GET_MII(sc) uether_getmii(&(sc)->sc_ue)
148
149struct rue_intrpkt {
150 uint8_t rue_tsr;
151 uint8_t rue_rsr;
152 uint8_t rue_gep_msr;
153 uint8_t rue_waksr;
154 uint8_t rue_txok_cnt;
155 uint8_t rue_rxlost_cnt;

--- 28 unchanged lines hidden ---
148
149struct rue_intrpkt {
150 uint8_t rue_tsr;
151 uint8_t rue_rsr;
152 uint8_t rue_gep_msr;
153 uint8_t rue_waksr;
154 uint8_t rue_txok_cnt;
155 uint8_t rue_rxlost_cnt;

--- 28 unchanged lines hidden ---