156 NULL,
157 rtw_m_ioctl,
158 NULL, /* mc_getcapab */
159 NULL,
160 NULL,
161 rtw_m_setprop,
162 rtw_m_getprop,
163 rtw_m_propinfo
164 };
165
166 DDI_DEFINE_STREAM_OPS(rtw_dev_ops, nulldev, nulldev, rtw_attach, rtw_detach,
167 nodev, NULL, D_MP, NULL, rtw_quiesce);
168
169 static struct modldrv rtw_modldrv = {
170 &mod_driverops, /* Type of module. This one is a driver */
171 "realtek 8180L driver 1.7", /* short description */
172 &rtw_dev_ops /* driver specific ops */
173 };
174
175 static struct modlinkage modlinkage = {
176 MODREV_1, (void *)&rtw_modldrv, NULL
177 };
178
179 static uint32_t rtw_qlen[RTW_NTXPRI] = {
180 RTW_TXQLENLO,
181 RTW_TXQLENMD,
182 RTW_TXQLENHI,
183 RTW_TXQLENBCN
184 };
185
186 uint32_t rtw_dbg_flags = 0;
187 /*
188 * RTW_DEBUG_ATTACH | RTW_DEBUG_TUNE |
189 * RTW_DEBUG_ACCESS | RTW_DEBUG_INIT | RTW_DEBUG_PKTFILT |
190 * RTW_DEBUG_RECV | RTW_DEBUG_XMIT | RTW_DEBUG_80211 | RTW_DEBUG_INTR |
191 * RTW_DEBUG_PKTDUMP;
192 */
193
194 /*
195 * Supported rates for 802.11b modes (in 500Kbps unit).
196 */
|
156 NULL,
157 rtw_m_ioctl,
158 NULL, /* mc_getcapab */
159 NULL,
160 NULL,
161 rtw_m_setprop,
162 rtw_m_getprop,
163 rtw_m_propinfo
164 };
165
166 DDI_DEFINE_STREAM_OPS(rtw_dev_ops, nulldev, nulldev, rtw_attach, rtw_detach,
167 nodev, NULL, D_MP, NULL, rtw_quiesce);
168
169 static struct modldrv rtw_modldrv = {
170 &mod_driverops, /* Type of module. This one is a driver */
171 "realtek 8180L driver 1.7", /* short description */
172 &rtw_dev_ops /* driver specific ops */
173 };
174
175 static struct modlinkage modlinkage = {
176 MODREV_1, { (void *)&rtw_modldrv, NULL }
177 };
178
179 static uint32_t rtw_qlen[RTW_NTXPRI] = {
180 RTW_TXQLENLO,
181 RTW_TXQLENMD,
182 RTW_TXQLENHI,
183 RTW_TXQLENBCN
184 };
185
186 uint32_t rtw_dbg_flags = 0;
187 /*
188 * RTW_DEBUG_ATTACH | RTW_DEBUG_TUNE |
189 * RTW_DEBUG_ACCESS | RTW_DEBUG_INIT | RTW_DEBUG_PKTFILT |
190 * RTW_DEBUG_RECV | RTW_DEBUG_XMIT | RTW_DEBUG_80211 | RTW_DEBUG_INTR |
191 * RTW_DEBUG_PKTDUMP;
192 */
193
194 /*
195 * Supported rates for 802.11b modes (in 500Kbps unit).
196 */
|