usb_dev.c (196498) | usb_dev.c (199675) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_dev.c 196498 2009-08-24 05:05:38Z alfred $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_dev.c 199675 2009-11-22 21:21:22Z thompsa $ */ |
2/*- 3 * Copyright (c) 2006-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. --- 70 unchanged lines hidden (view full) --- 80#if USB_HAVE_UGEN 81 82#ifdef USB_DEBUG 83static int usb_fifo_debug = 0; 84 85SYSCTL_NODE(_hw_usb, OID_AUTO, dev, CTLFLAG_RW, 0, "USB device"); 86SYSCTL_INT(_hw_usb_dev, OID_AUTO, debug, CTLFLAG_RW, 87 &usb_fifo_debug, 0, "Debug Level"); | 2/*- 3 * Copyright (c) 2006-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. --- 70 unchanged lines hidden (view full) --- 80#if USB_HAVE_UGEN 81 82#ifdef USB_DEBUG 83static int usb_fifo_debug = 0; 84 85SYSCTL_NODE(_hw_usb, OID_AUTO, dev, CTLFLAG_RW, 0, "USB device"); 86SYSCTL_INT(_hw_usb_dev, OID_AUTO, debug, CTLFLAG_RW, 87 &usb_fifo_debug, 0, "Debug Level"); |
88 89TUNABLE_INT("hw.usb.dev.debug", &usb_fifo_debug); |
|
88#endif 89 90#if ((__FreeBSD_version >= 700001) || (__FreeBSD_version == 0) || \ 91 ((__FreeBSD_version >= 600034) && (__FreeBSD_version < 700000))) 92#define USB_UCRED struct ucred *ucred, 93#else 94#define USB_UCRED 95#endif --- 2181 unchanged lines hidden --- | 90#endif 91 92#if ((__FreeBSD_version >= 700001) || (__FreeBSD_version == 0) || \ 93 ((__FreeBSD_version >= 600034) && (__FreeBSD_version < 700000))) 94#define USB_UCRED struct ucred *ucred, 95#else 96#define USB_UCRED 97#endif --- 2181 unchanged lines hidden --- |