usb_debug.c (196219) | usb_debug.c (199675) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_debug.c 196219 2009-08-14 20:03:53Z jhb $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_debug.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. --- 52 unchanged lines hidden (view full) --- 62 * has been compiled with debugging options. 63 */ 64int usb_debug = 0; 65 66SYSCTL_NODE(_hw, OID_AUTO, usb, CTLFLAG_RW, 0, "USB debugging"); 67SYSCTL_INT(_hw_usb, OID_AUTO, debug, CTLFLAG_RW, 68 &usb_debug, 0, "Debug level"); 69 | 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. --- 52 unchanged lines hidden (view full) --- 62 * has been compiled with debugging options. 63 */ 64int usb_debug = 0; 65 66SYSCTL_NODE(_hw, OID_AUTO, usb, CTLFLAG_RW, 0, "USB debugging"); 67SYSCTL_INT(_hw_usb, OID_AUTO, debug, CTLFLAG_RW, 68 &usb_debug, 0, "Debug level"); 69 |
70TUNABLE_INT("hw.usb.debug", &usb_debug); 71 |
|
70/*------------------------------------------------------------------------* 71 * usb_dump_iface 72 * 73 * This function dumps information about an USB interface. 74 *------------------------------------------------------------------------*/ 75void 76usb_dump_iface(struct usb_interface *iface) 77{ --- 98 unchanged lines hidden --- | 72/*------------------------------------------------------------------------* 73 * usb_dump_iface 74 * 75 * This function dumps information about an USB interface. 76 *------------------------------------------------------------------------*/ 77void 78usb_dump_iface(struct usb_interface *iface) 79{ --- 98 unchanged lines hidden --- |