usb_process.c (578d0eff) | usb_process.c (9360ae40) |
---|---|
1/* $FreeBSD$ */ 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 --- 41 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 | 1/* $FreeBSD$ */ 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 --- 41 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 --- |