usb_generic.c (196219) | usb_generic.c (199675) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_generic.c 196219 2009-08-14 20:03:53Z jhb $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_generic.c 199675 2009-11-22 21:21:22Z 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. --- 115 unchanged lines hidden (view full) --- 125}; 126 127#ifdef USB_DEBUG 128static int ugen_debug = 0; 129 130SYSCTL_NODE(_hw_usb, OID_AUTO, ugen, CTLFLAG_RW, 0, "USB generic"); 131SYSCTL_INT(_hw_usb_ugen, OID_AUTO, debug, CTLFLAG_RW, &ugen_debug, 132 0, "Debug level"); | 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. --- 115 unchanged lines hidden (view full) --- 125}; 126 127#ifdef USB_DEBUG 128static int ugen_debug = 0; 129 130SYSCTL_NODE(_hw_usb, OID_AUTO, ugen, CTLFLAG_RW, 0, "USB generic"); 131SYSCTL_INT(_hw_usb_ugen, OID_AUTO, debug, CTLFLAG_RW, &ugen_debug, 132 0, "Debug level"); |
133 134TUNABLE_INT("hw.usb.ugen.debug", &ugen_debug); |
|
133#endif 134 135 136/* prototypes */ 137 138static int 139ugen_transfer_setup(struct usb_fifo *f, 140 const struct usb_config *setup, uint8_t n_setup) --- 2063 unchanged lines hidden --- | 135#endif 136 137 138/* prototypes */ 139 140static int 141ugen_transfer_setup(struct usb_fifo *f, 142 const struct usb_config *setup, uint8_t n_setup) --- 2063 unchanged lines hidden --- |