1/* $FreeBSD: head/sys/dev/usb/wlan/if_rum.c 212122 2010-09-01 23:47:53Z thompsa $ */ |
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 212122 2010-09-01 23:47:53Z thompsa $"); |
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 |
142static device_probe_t rum_match; 143static device_attach_t rum_attach; 144static device_detach_t rum_detach; 145 146static usb_callback_t rum_bulk_read_callback; 147static usb_callback_t rum_bulk_write_callback; 148 149static usb_error_t rum_do_request(struct rum_softc *sc, --- 2202 unchanged lines hidden (view full) --- 2352 .name = "rum", 2353 .methods = rum_methods, 2354 .size = sizeof(struct rum_softc), 2355}; 2356 2357static devclass_t rum_devclass; 2358 2359DRIVER_MODULE(rum, uhub, rum_driver, rum_devclass, NULL, 0); |
2360MODULE_DEPEND(rum, wlan, 1, 1, 1); 2361MODULE_DEPEND(rum, usb, 1, 1, 1); 2362MODULE_VERSION(rum, 1); |