Deleted Added
full compact
if_uralvar.h (286437) if_uralvar.h (287197)
1/* $FreeBSD: head/sys/dev/usb/wlan/if_uralvar.h 286437 2015-08-08 01:10:17Z adrian $ */
1/* $FreeBSD: head/sys/dev/usb/wlan/if_uralvar.h 287197 2015-08-27 08:56:39Z glebius $ */
2
3/*-
4 * Copyright (c) 2005
5 * Damien Bergamini <damien.bergamini@free.fr>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

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

84
85enum {
86 URAL_BULK_WR,
87 URAL_BULK_RD,
88 URAL_N_TRANSFER = 2,
89};
90
91struct ural_softc {
2
3/*-
4 * Copyright (c) 2005
5 * Damien Bergamini <damien.bergamini@free.fr>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.

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

84
85enum {
86 URAL_BULK_WR,
87 URAL_BULK_RD,
88 URAL_N_TRANSFER = 2,
89};
90
91struct ural_softc {
92 struct ifnet *sc_ifp;
92 struct ieee80211com sc_ic;
93 struct mbufq sc_snd;
93 device_t sc_dev;
94 struct usb_device *sc_udev;
95
96 uint32_t asic_rev;
97 uint8_t rf_rev;
98
99 struct usb_xfer *sc_xfer[URAL_N_TRANSFER];
100
101 struct ural_tx_data tx_data[RAL_TX_LIST_COUNT];
102 ural_txdhead tx_q;
103 ural_txdhead tx_free;
104 int tx_nfree;
105 struct ural_rx_desc sc_rx_desc;
106
107 struct mtx sc_mtx;
108
109 uint16_t sta[11];
110 uint32_t rf_regs[4];
111 uint8_t txpow[14];
94 device_t sc_dev;
95 struct usb_device *sc_udev;
96
97 uint32_t asic_rev;
98 uint8_t rf_rev;
99
100 struct usb_xfer *sc_xfer[URAL_N_TRANSFER];
101
102 struct ural_tx_data tx_data[RAL_TX_LIST_COUNT];
103 ural_txdhead tx_q;
104 ural_txdhead tx_free;
105 int tx_nfree;
106 struct ural_rx_desc sc_rx_desc;
107
108 struct mtx sc_mtx;
109
110 uint16_t sta[11];
111 uint32_t rf_regs[4];
112 uint8_t txpow[14];
112 uint8_t sc_bssid[6];
113 uint8_t sc_detached;
113 u_int sc_detached:1,
114 sc_running:1;
114
115 struct {
116 uint8_t val;
117 uint8_t reg;
118 } __packed bbp_prom[16];
119
120 int led_mode;
121 int hw_radio;

--- 14 unchanged lines hidden ---
115
116 struct {
117 uint8_t val;
118 uint8_t reg;
119 } __packed bbp_prom[16];
120
121 int led_mode;
122 int hw_radio;

--- 14 unchanged lines hidden ---