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

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

50 kthread_create((f), (s), (p), RFHIGHPID, 0, __VA_ARGS__)
51#define USB_THREAD_SUSPEND(p) kthread_suspend(p,0)
52#define USB_THREAD_EXIT(err) kthread_exit(err)
53#endif
54
55#if USB_DEBUG
56static int usb2_proc_debug;
57
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.

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

50 kthread_create((f), (s), (p), RFHIGHPID, 0, __VA_ARGS__)
51#define USB_THREAD_SUSPEND(p) kthread_suspend(p,0)
52#define USB_THREAD_EXIT(err) kthread_exit(err)
53#endif
54
55#if USB_DEBUG
56static int usb2_proc_debug;
57
58SYSCTL_NODE(_hw_usb2, OID_AUTO, proc, CTLFLAG_RW, 0, "USB process");
59SYSCTL_INT(_hw_usb2_proc, OID_AUTO, debug, CTLFLAG_RW, &usb2_proc_debug, 0,
58SYSCTL_NODE(_hw_usb, OID_AUTO, proc, CTLFLAG_RW, 0, "USB process");
59SYSCTL_INT(_hw_usb_proc, OID_AUTO, debug, CTLFLAG_RW, &usb2_proc_debug, 0,
60 "Debug level");
61#endif
62
63/*------------------------------------------------------------------------*
64 * usb2_process
65 *
66 * This function is the USB process dispatcher.
67 *------------------------------------------------------------------------*/

--- 359 unchanged lines hidden ---
60 "Debug level");
61#endif
62
63/*------------------------------------------------------------------------*
64 * usb2_process
65 *
66 * This function is the USB process dispatcher.
67 *------------------------------------------------------------------------*/

--- 359 unchanged lines hidden ---