usb_debug.c (190749) | usb_debug.c (192502) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_debug.c 190749 2009-04-05 21:24:15Z piso $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_debug.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. --- 24 unchanged lines hidden (view full) --- 34#include <dev/usb/usb_transfer.h> 35 36/* 37 * Define this unconditionally in case a kernel module is loaded that 38 * has been compiled with debugging options. 39 */ 40int usb2_debug = 0; 41 | 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. --- 24 unchanged lines hidden (view full) --- 34#include <dev/usb/usb_transfer.h> 35 36/* 37 * Define this unconditionally in case a kernel module is loaded that 38 * has been compiled with debugging options. 39 */ 40int usb2_debug = 0; 41 |
42SYSCTL_NODE(_hw, OID_AUTO, usb2, CTLFLAG_RW, 0, "USB debugging"); 43SYSCTL_INT(_hw_usb2, OID_AUTO, debug, CTLFLAG_RW, | 42SYSCTL_NODE(_hw, OID_AUTO, usb, CTLFLAG_RW, 0, "USB debugging"); 43SYSCTL_INT(_hw_usb, OID_AUTO, debug, CTLFLAG_RW, |
44 &usb2_debug, 0, "Debug level"); 45 46/*------------------------------------------------------------------------* 47 * usb2_dump_iface 48 * 49 * This function dumps information about an USB interface. 50 *------------------------------------------------------------------------*/ 51void --- 100 unchanged lines hidden --- | 44 &usb2_debug, 0, "Debug level"); 45 46/*------------------------------------------------------------------------* 47 * usb2_dump_iface 48 * 49 * This function dumps information about an USB interface. 50 *------------------------------------------------------------------------*/ 51void --- 100 unchanged lines hidden --- |