uark.c (199816) | uark.c (212122) |
---|---|
1/* $OpenBSD: uark.c,v 1.1 2006/08/14 08:30:22 jsg Exp $ */ 2 3/* 4 * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> 5 * 6 * Permission to use, copy, modify, and distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * | 1/* $OpenBSD: uark.c,v 1.1 2006/08/14 08:30:22 jsg Exp $ */ 2 3/* 4 * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> 5 * 6 * Permission to use, copy, modify, and distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * |
18 * $FreeBSD: head/sys/dev/usb/serial/uark.c 199816 2009-11-26 00:43:17Z thompsa $ | 18 * $FreeBSD: head/sys/dev/usb/serial/uark.c 212122 2010-09-01 23:47:53Z thompsa $ |
19 */ 20 21/* 22 * NOTE: all function names beginning like "uark_cfg_" can only 23 * be called from within the config thread function ! 24 */ 25 26 --- 137 unchanged lines hidden (view full) --- 164 .name = "uark", 165 .methods = uark_methods, 166 .size = sizeof(struct uark_softc), 167}; 168 169DRIVER_MODULE(uark, uhub, uark_driver, uark_devclass, NULL, 0); 170MODULE_DEPEND(uark, ucom, 1, 1, 1); 171MODULE_DEPEND(uark, usb, 1, 1, 1); | 19 */ 20 21/* 22 * NOTE: all function names beginning like "uark_cfg_" can only 23 * be called from within the config thread function ! 24 */ 25 26 --- 137 unchanged lines hidden (view full) --- 164 .name = "uark", 165 .methods = uark_methods, 166 .size = sizeof(struct uark_softc), 167}; 168 169DRIVER_MODULE(uark, uhub, uark_driver, uark_devclass, NULL, 0); 170MODULE_DEPEND(uark, ucom, 1, 1, 1); 171MODULE_DEPEND(uark, usb, 1, 1, 1); |
172MODULE_VERSION(uark, 1); |
|
172 173static const struct usb_device_id uark_devs[] = { 174 {USB_VPI(USB_VENDOR_ARKMICRO, USB_PRODUCT_ARKMICRO_ARK3116, 0)}, 175}; 176 177static int 178uark_probe(device_t dev) 179{ --- 263 unchanged lines hidden --- | 173 174static const struct usb_device_id uark_devs[] = { 175 {USB_VPI(USB_VENDOR_ARKMICRO, USB_PRODUCT_ARKMICRO_ARK3116, 0)}, 176}; 177 178static int 179uark_probe(device_t dev) 180{ --- 263 unchanged lines hidden --- |