mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 18:27:56 +08:00
Refresh all composite configurations.
This commit is contained in:
@@ -51,11 +51,8 @@ CONFIG_USBDEV=y
|
||||
CONFIG_USBMSC_BULKINREQLEN=256
|
||||
CONFIG_USBMSC_BULKOUTREQLEN=256
|
||||
CONFIG_USBMSC_COMPOSITE=y
|
||||
CONFIG_USBMSC_EPBULKIN=5
|
||||
CONFIG_USBMSC_EPBULKOUT=4
|
||||
CONFIG_USBMSC_NRDREQS=2
|
||||
CONFIG_USBMSC_NWRREQS=2
|
||||
CONFIG_USBMSC_PRODUCTSTR="USBdev Storage"
|
||||
CONFIG_USBMSC_REMOVABLE=y
|
||||
CONFIG_USBMSC_VERSIONNO=0x0399
|
||||
CONFIG_USBMSC=y
|
||||
|
||||
@@ -97,6 +97,7 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBMSC_COMPOSITE
|
||||
static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devdesc,
|
||||
FAR struct usbdevclass_driver_s **classdev)
|
||||
{
|
||||
@@ -111,6 +112,7 @@ static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devd
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
* Name: board_mscuninitialize
|
||||
@@ -129,10 +131,12 @@ static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devd
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBMSC_COMPOSITE
|
||||
void board_mscuninitialize(FAR struct usbdevclass_driver_s *classdev)
|
||||
{
|
||||
usbmsc_uninitialize(classdev);
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
||||
@@ -134,8 +134,6 @@ CONFIG_USART2_RXBUFSIZE=32
|
||||
CONFIG_USART2_TXBUFSIZE=32
|
||||
CONFIG_USBDEV_COMPOSITE=y
|
||||
CONFIG_USBMSC_COMPOSITE=y
|
||||
CONFIG_USBMSC_EPBULKIN=5
|
||||
CONFIG_USBMSC_EPBULKOUT=4
|
||||
CONFIG_USBMSC_NRDREQS=2
|
||||
CONFIG_USBMSC_NWRREQS=2
|
||||
CONFIG_USBMSC_REMOVABLE=y
|
||||
|
||||
@@ -108,6 +108,7 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBMSC_COMPOSITE
|
||||
static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devdesc,
|
||||
FAR struct usbdevclass_driver_s **classdev)
|
||||
{
|
||||
@@ -122,8 +123,9 @@ static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devd
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
/************************************************************************************
|
||||
* Name: board_mscuninitialize
|
||||
*
|
||||
* Description:
|
||||
@@ -140,10 +142,12 @@ static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devd
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBMSC_COMPOSITE
|
||||
void board_mscuninitialize(FAR struct usbdevclass_driver_s *classdev)
|
||||
{
|
||||
usbmsc_uninitialize(classdev);
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
||||
@@ -76,6 +76,7 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBMSC_COMPOSITE
|
||||
static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devdesc,
|
||||
FAR struct usbdevclass_driver_s **classdev)
|
||||
{
|
||||
@@ -90,8 +91,9 @@ static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devd
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
/************************************************************************************
|
||||
* Name: board_mscuninitialize
|
||||
*
|
||||
* Description:
|
||||
@@ -108,10 +110,12 @@ static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devd
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBMSC_COMPOSITE
|
||||
void board_mscuninitialize(FAR struct usbdevclass_driver_s *classdev)
|
||||
{
|
||||
usbmsc_uninitialize(classdev);
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
||||
@@ -110,8 +110,6 @@ CONFIG_USBDEV_COMPOSITE=y
|
||||
CONFIG_USBDEV_TRACE_NRECORDS=32
|
||||
CONFIG_USBDEV_TRACE=y
|
||||
CONFIG_USBMSC_COMPOSITE=y
|
||||
CONFIG_USBMSC_EPBULKIN=5
|
||||
CONFIG_USBMSC_EPBULKOUT=4
|
||||
CONFIG_USBMSC_NRDREQS=2
|
||||
CONFIG_USBMSC_NWRREQS=2
|
||||
CONFIG_USBMSC_SCSI_STACKSIZE=340
|
||||
|
||||
@@ -58,11 +58,8 @@ CONFIG_USBDEV_COMPOSITE=y
|
||||
CONFIG_USBMSC_BULKINREQLEN=256
|
||||
CONFIG_USBMSC_BULKOUTREQLEN=256
|
||||
CONFIG_USBMSC_COMPOSITE=y
|
||||
CONFIG_USBMSC_EPBULKIN=5
|
||||
CONFIG_USBMSC_EPBULKOUT=4
|
||||
CONFIG_USBMSC_NRDREQS=2
|
||||
CONFIG_USBMSC_NWRREQS=2
|
||||
CONFIG_USBMSC_PRODUCTSTR="USBdev Storage"
|
||||
CONFIG_USBMSC_REMOVABLE=y
|
||||
CONFIG_USBMSC_VERSIONNO=0x0399
|
||||
CONFIG_USBMSC=y
|
||||
|
||||
@@ -106,6 +106,7 @@
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBMSC_COMPOSITE
|
||||
static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devdesc,
|
||||
FAR struct usbdevclass_driver_s **classdev)
|
||||
{
|
||||
@@ -120,8 +121,9 @@ static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devd
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
/************************************************************************************
|
||||
* Name: board_mscuninitialize
|
||||
*
|
||||
* Description:
|
||||
@@ -138,10 +140,12 @@ static int board_mscclassobject(int minor, FAR struct usbdev_description_s *devd
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_USBMSC_COMPOSITE
|
||||
void board_mscuninitialize(FAR struct usbdevclass_driver_s *classdev)
|
||||
{
|
||||
usbmsc_uninitialize(classdev);
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
||||
Reference in New Issue
Block a user