1/* $FreeBSD: head/sys/dev/usb/wlan/if_rum.c 211314 2010-08-14 20:12:10Z bschmidt $ */
2
3/*-
4 * Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2006 Niall O'Higgins <niallo@openbsd.org>
6 * Copyright (c) 2007-2008 Hans Petter Selasky <hselasky@FreeBSD.org>
7 *
8 * Permission to use, copy, modify, and distribute this software for any
9 * purpose with or without fee is hereby granted, provided that the above
--- 4 unchanged lines hidden (view full) ---
14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 */
20
21#include <sys/cdefs.h>
22__FBSDID("$FreeBSD: head/sys/dev/usb/wlan/if_rum.c 211314 2010-08-14 20:12:10Z bschmidt $");
23
24/*-
25 * Ralink Technology RT2501USB/RT2601USB chipset driver
26 * http://www.ralinktech.com.tw/
27 */
28
29#include <sys/param.h>
30#include <sys/sockio.h>
--- 103 unchanged lines hidden (view full) ---
134 RUM_DEV(RALINK, RT2671),
135 RUM_DEV(SITECOMEU, WL113R2),
136 RUM_DEV(SITECOMEU, WL172),
137 RUM_DEV(SPARKLAN, RT2573),
138 RUM_DEV(SURECOM, RT2573),
139#undef RUM_DEV
140};
141
142MODULE_DEPEND(rum, wlan, 1, 1, 1);
143MODULE_DEPEND(rum, usb, 1, 1, 1);
144
145static device_probe_t rum_match;
146static device_attach_t rum_attach;
147static device_detach_t rum_detach;
148
149static usb_callback_t rum_bulk_read_callback;
150static usb_callback_t rum_bulk_write_callback;
151
152static usb_error_t rum_do_request(struct rum_softc *sc,
--- 2202 unchanged lines hidden (view full) ---
2355 .name = "rum",
2356 .methods = rum_methods,
2357 .size = sizeof(struct rum_softc),
2358};
2359
2360static devclass_t rum_devclass;
2361
2362DRIVER_MODULE(rum, uhub, rum_driver, rum_devclass, NULL, 0);
2
3/*-
4 * Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2006 Niall O'Higgins <niallo@openbsd.org>
6 * Copyright (c) 2007-2008 Hans Petter Selasky <hselasky@FreeBSD.org>
7 *
8 * Permission to use, copy, modify, and distribute this software for any
9 * purpose with or without fee is hereby granted, provided that the above
--- 4 unchanged lines hidden (view full) ---
14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 */
20
21#include <sys/cdefs.h>
22__FBSDID("$FreeBSD: head/sys/dev/usb/wlan/if_rum.c 211314 2010-08-14 20:12:10Z bschmidt $");
23
24/*-
25 * Ralink Technology RT2501USB/RT2601USB chipset driver
26 * http://www.ralinktech.com.tw/
27 */
28
29#include <sys/param.h>
30#include <sys/sockio.h>
--- 103 unchanged lines hidden (view full) ---
134 RUM_DEV(RALINK, RT2671),
135 RUM_DEV(SITECOMEU, WL113R2),
136 RUM_DEV(SITECOMEU, WL172),
137 RUM_DEV(SPARKLAN, RT2573),
138 RUM_DEV(SURECOM, RT2573),
139#undef RUM_DEV
140};
141
142MODULE_DEPEND(rum, wlan, 1, 1, 1);
143MODULE_DEPEND(rum, usb, 1, 1, 1);
144
145static device_probe_t rum_match;
146static device_attach_t rum_attach;
147static device_detach_t rum_detach;
148
149static usb_callback_t rum_bulk_read_callback;
150static usb_callback_t rum_bulk_write_callback;
151
152static usb_error_t rum_do_request(struct rum_softc *sc,
--- 2202 unchanged lines hidden (view full) ---
2355 .name = "rum",
2356 .methods = rum_methods,
2357 .size = sizeof(struct rum_softc),
2358};
2359
2360static devclass_t rum_devclass;
2361
2362DRIVER_MODULE(rum, uhub, rum_driver, rum_devclass, NULL, 0);