Deleted Added
full compact
usb_debug.h (190749) usb_debug.h (192502)
1/* $FreeBSD: head/sys/dev/usb/usb_debug.h 190749 2009-04-05 21:24:15Z piso $ */
1/* $FreeBSD: head/sys/dev/usb/usb_debug.h 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.

--- 15 unchanged lines hidden (view full) ---

25 */
26
27/* This file contains various factored out debug macros. */
28
29#ifndef _USB2_DEBUG_H_
30#define _USB2_DEBUG_H_
31
32/* Declare parent SYSCTL USB node. */
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.

--- 15 unchanged lines hidden (view full) ---

25 */
26
27/* This file contains various factored out debug macros. */
28
29#ifndef _USB2_DEBUG_H_
30#define _USB2_DEBUG_H_
31
32/* Declare parent SYSCTL USB node. */
33SYSCTL_DECL(_hw_usb2);
33SYSCTL_DECL(_hw_usb);
34
35/* Declare global USB debug variable. */
36extern int usb2_debug;
37
38/* Check if USB debugging is enabled. */
39#ifdef USB_DEBUG_VAR
40#if (USB_DEBUG != 0)
41#define DPRINTFN(n,fmt,...) do { \

--- 24 unchanged lines hidden ---
34
35/* Declare global USB debug variable. */
36extern int usb2_debug;
37
38/* Check if USB debugging is enabled. */
39#ifdef USB_DEBUG_VAR
40#if (USB_DEBUG != 0)
41#define DPRINTFN(n,fmt,...) do { \

--- 24 unchanged lines hidden ---