Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/usb/storage/ustorage_fs.c
Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
#define USB_DEBUG_VAR ustorage_fs_debug | #define USB_DEBUG_VAR ustorage_fs_debug | ||||
#include <dev/usb/usb_debug.h> | #include <dev/usb/usb_debug.h> | ||||
#endif /* USB_GLOBAL_INCLUDE_FILE */ | #endif /* USB_GLOBAL_INCLUDE_FILE */ | ||||
#ifdef USB_DEBUG | #ifdef USB_DEBUG | ||||
static int ustorage_fs_debug = 0; | static int ustorage_fs_debug = 0; | ||||
SYSCTL_NODE(_hw_usb, OID_AUTO, ustorage_fs, CTLFLAG_RW, 0, "USB ustorage_fs"); | SYSCTL_NODE(_hw_usb, OID_AUTO, ustorage_fs, CTLFLAG_RW | CTLFLAG_MPSAFE, 0, | ||||
"USB ustorage_fs"); | |||||
SYSCTL_INT(_hw_usb_ustorage_fs, OID_AUTO, debug, CTLFLAG_RWTUN, | SYSCTL_INT(_hw_usb_ustorage_fs, OID_AUTO, debug, CTLFLAG_RWTUN, | ||||
&ustorage_fs_debug, 0, "ustorage_fs debug level"); | &ustorage_fs_debug, 0, "ustorage_fs debug level"); | ||||
#endif | #endif | ||||
/* Define some limits */ | /* Define some limits */ | ||||
#ifndef USTORAGE_FS_BULK_SIZE | #ifndef USTORAGE_FS_BULK_SIZE | ||||
#define USTORAGE_FS_BULK_SIZE (1U << 17) /* bytes */ | #define USTORAGE_FS_BULK_SIZE (1U << 17) /* bytes */ | ||||
▲ Show 20 Lines • Show All 1,878 Lines • Show Last 20 Lines |