For all configurations that have the default pthread stacksize set to some other value than 2048 AND which have the USB MSC device class enabled, add a definition of CONFIG_USBMSC_SCSI_STACKSIZE so that the size of the stack used by USB MSC SCSI worker thread does not increase

This commit is contained in:
Gregory Nutt 2014-03-25 14:21:33 -06:00
parent b951732a2b
commit 316bc83220
4 changed files with 8 additions and 2 deletions

View File

@ -601,6 +601,8 @@ CONFIG_USBMSC_PRODUCTID=0x5342
CONFIG_USBMSC_PRODUCTSTR="Mass Storage"
CONFIG_USBMSC_VERSIONNO=0x399
# CONFIG_USBMSC_REMOVABLE is not set
CONFIG_USBMSC_SCSI_PRIO=128
CONFIG_USBMSC_SCSI_STACKSIZE=340
# CONFIG_USBHOST is not set
CONFIG_WIRELESS=y
# CONFIG_WL_CC1101 is not set

View File

@ -601,6 +601,8 @@ CONFIG_USBMSC_PRODUCTID=0x5342
CONFIG_USBMSC_PRODUCTSTR="Mass Storage"
CONFIG_USBMSC_VERSIONNO=0x399
# CONFIG_USBMSC_REMOVABLE is not set
CONFIG_USBMSC_SCSI_PRIO=128
CONFIG_USBMSC_SCSI_STACKSIZE=464
# CONFIG_USBHOST is not set
CONFIG_WIRELESS=y
# CONFIG_WL_CC1101 is not set

View File

@ -565,6 +565,8 @@ CONFIG_USBMSC_PRODUCTID=0x5342
CONFIG_USBMSC_PRODUCTSTR="Mass Storage"
CONFIG_USBMSC_VERSIONNO=0x399
# CONFIG_USBMSC_REMOVABLE is not set
CONFIG_USBMSC_SCSI_PRIO=128
CONFIG_USBMSC_SCSI_STACKSIZE=340
# CONFIG_USBHOST is not set
CONFIG_WIRELESS=y
# CONFIG_WL_CC1101 is not set
@ -993,8 +995,6 @@ CONFIG_SYSTEM_USBMSC_DEVPATH3="/dev/mmcsd2"
# CONFIG_SYSTEM_USBMSC_DEBUGMM is not set
CONFIG_SYSTEM_USBMSC_CMD_STACKSIZE=768
CONFIG_SYSTEM_USBMSC_CMD_PRIORITY=100
CONFIG_SYSTEM_USBMSC_DAEMON_STACKSIZE=2048
CONFIG_SYSTEM_USBMSC_DAEMON_PRIORITY=100
#
# Zmodem Commands

View File

@ -328,6 +328,8 @@ CONFIG_USBMSC_PRODUCTID=0x5342
CONFIG_USBMSC_PRODUCTSTR="USBdev Storage"
CONFIG_USBMSC_VERSIONNO=0x0399
CONFIG_USBMSC_REMOVABLE=y
CONFIG_USBMSC_SCSI_PRIO=128
CONFIG_USBMSC_SCSI_STACKSIZE=512
# CONFIG_USBHOST is not set
# CONFIG_WIRELESS is not set