usb_generic.c (192499) | usb_generic.c (192502) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_generic.c 192499 2009-05-21 00:04:17Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_generic.c 192502 2009-05-21 01:48:42Z thompsa $ */ |
2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 90 unchanged lines hidden (view full) --- 100 .f_stop_read = &ugen_stop_io, 101 .f_start_write = &ugen_start_write, 102 .f_stop_write = &ugen_stop_io, 103}; 104 105#if USB_DEBUG 106static int ugen_debug = 0; 107 | 2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 90 unchanged lines hidden (view full) --- 100 .f_stop_read = &ugen_stop_io, 101 .f_start_write = &ugen_start_write, 102 .f_stop_write = &ugen_stop_io, 103}; 104 105#if USB_DEBUG 106static int ugen_debug = 0; 107 |
108SYSCTL_NODE(_hw_usb2, OID_AUTO, ugen, CTLFLAG_RW, 0, "USB generic"); 109SYSCTL_INT(_hw_usb2_ugen, OID_AUTO, debug, CTLFLAG_RW, &ugen_debug, | 108SYSCTL_NODE(_hw_usb, OID_AUTO, ugen, CTLFLAG_RW, 0, "USB generic"); 109SYSCTL_INT(_hw_usb_ugen, OID_AUTO, debug, CTLFLAG_RW, &ugen_debug, |
110 0, "Debug level"); 111#endif 112 113 114/* prototypes */ 115 116static int 117ugen_transfer_setup(struct usb2_fifo *f, --- 2069 unchanged lines hidden --- | 110 0, "Debug level"); 111#endif 112 113 114/* prototypes */ 115 116static int 117ugen_transfer_setup(struct usb2_fifo *f, --- 2069 unchanged lines hidden --- |