Reimagine the USB MSC worker thread as a kernel thread (instead of a pthread)

This commit is contained in:
Gregory Nutt
2014-03-25 14:19:27 -06:00
parent 93380d8156
commit b951732a2b
5 changed files with 367 additions and 140 deletions
+16 -1
View File
@@ -584,10 +584,25 @@ config USBMSC_VERSIONNO
default "0x399"
config USBMSC_REMOVABLE
bool "Mass storage remove able"
bool "Mass storage removable"
default n
---help---
Select if the media is removable
USB Composite Device Configuration
config USBMSC_SCSI_PRIO
int "USBMSC SCSI daemon priority"
default 128
---help---
Priority of the SCSI kernel thread. This must be a relatively high
priority so that the SCSI daemon can be response to USB block driver
accesses.
config USBMSC_SCSI_STACKSIZE
int "USBMSC SCSI daemon stack size"
default 2048
---help---
Stack size used with the SCSI kernel thread. The default value
is not tuned.
endif