Fixes for class driver i/f

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@967 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-09-30 20:53:58 +00:00
parent 34de5a08ec
commit 7e6696d8ad
7 changed files with 141 additions and 155 deletions

View File

@ -379,36 +379,34 @@ CONFIG_LPC214X_USBDEV_DMAINTMASK=0
# #
# USB Serial Device Configuration # USB Serial Device Configuration
# #
# CONFIG_USBSERIAL_EPOUT # CONFIG_USBSER_EPOUT and CONFIG_USBSER_EPIN
# CONFIG_USBSERIAL_EPIN # Logical endoint addresses
# CONFIG_USBSERIAL_NWRREQS # CONFIG_USBSER_NWRREQS and CONFIG_USBSER_NRDREQS
# The number of write requests that can be in flight # The number of write/read requests that can be in flight
# CONFIG_USBSERIAL_NRDREQS # CONFIG_USBSER_VENDORID and CONFIG_USBSER_VENDORSTR
# The number of read requests that can be in flight # The vendor ID code/string
# CONFIG_USBSERIAL_RXBUFSIZE # CONFIG_USBSER_PRODUCTID and CONFIG_USBSER_PRODUCTSTR
# Size of the serial receive buffer # The product ID code/string
# CONFIG_USBSERIAL_TXBUFSIZE # CONFIG_USBSER_RXBUFSIZE and CONFIG_USBSER_TXBUFSIZE
# Size of the serial transmit buffer # Size of the serial receive/transmit buffers
# CONFIG_USBSER_VENDORID CONFIG_USBSER_EPOUT=1
# The vendor ID code CONFIG_USBSER_EPIN=2
# CONFIG_USBSER_PRODUCTID CONFIG_USBSER_NWRREQS=4
# The product ID code CONFIG_USBSER_NRDREQS=4
CONFIG_USBSERIAL_EPOUT=1
CONFIG_USBSERIAL_EPIN=2
CONFIG_USBSERIAL_NWRREQS=4
CONFIG_USBSERIAL_NRDREQS=4
CONFIG_USBSER_VENDORID=0x0525 CONFIG_USBSER_VENDORID=0x0525
CONFIG_USBSER_PRODUCTID=0xa4a6 CONFIG_USBSER_PRODUCTID=0xa4a6
CONFIG_USBSERIAL_RXBUFSIZE=512 CONFIG_USBSER_VENDORSTR="Nuttx"
CONFIG_USBSERIAL_TXBUFSIZE=512 CONFIG_USBSER_PRODUCTSTR="USBdev Serial"
CONFIG_USBSER_RXBUFSIZE=512
CONFIG_USBSER_TXBUFSIZE=512
# #
# USB Device Zero Configuration # USB Device Zero Configuration
# CONFIG_USBSER_VENDORID # CONFIG_USBZERO_VENDORID
# The vendor ID code # The vendor ID code
# CONFIG_USBSER_PRODUCTID # CONFIG_USBZERO_PRODUCTID
# The product ID code # The product ID code
CONFIG_USBZERO_VENDORID=0x0525 ONFIG_USBZERO_VENDORID=0x0525
CONFIG_USBZERO_PRODUCTID=0xa4a0 CONFIG_USBZERO_PRODUCTID=0xa4a0
# #

View File

@ -379,34 +379,32 @@ CONFIG_LPC214X_USBDEV_DMAINTMASK=0
# #
# USB Serial Device Configuration # USB Serial Device Configuration
# #
# CONFIG_USBSERIAL_EPOUT # CONFIG_USBSER_EPOUT and CONFIG_USBSER_EPIN
# CONFIG_USBSERIAL_EPIN # Logical endoint addresses
# CONFIG_USBSERIAL_NWRREQS # CONFIG_USBSER_NWRREQS and CONFIG_USBSER_NRDREQS
# The number of write requests that can be in flight # The number of write/read requests that can be in flight
# CONFIG_USBSERIAL_NRDREQS # CONFIG_USBSER_VENDORID and CONFIG_USBSER_VENDORSTR
# The number of read requests that can be in flight # The vendor ID code/string
# CONFIG_USBSERIAL_RXBUFSIZE # CONFIG_USBSER_PRODUCTID and CONFIG_USBSER_PRODUCTSTR
# Size of the serial receive buffer # The product ID code/string
# CONFIG_USBSERIAL_TXBUFSIZE # CONFIG_USBSER_RXBUFSIZE and CONFIG_USBSER_TXBUFSIZE
# Size of the serial transmit buffer # Size of the serial receive/transmit buffers
# CONFIG_USBSER_VENDORID CONFIG_USBSER_EPOUT=1
# The vendor ID code CONFIG_USBSER_EPIN=2
# CONFIG_USBSER_PRODUCTID CONFIG_USBSER_NWRREQS=4
# The product ID code CONFIG_USBSER_NRDREQS=4
CONFIG_USBSERIAL_EPOUT=1
CONFIG_USBSERIAL_EPIN=2
CONFIG_USBSERIAL_NWRREQS=4
CONFIG_USBSERIAL_NRDREQS=4
CONFIG_USBSER_VENDORID=0x0525 CONFIG_USBSER_VENDORID=0x0525
CONFIG_USBSER_PRODUCTID=0xa4a6 CONFIG_USBSER_PRODUCTID=0xa4a6
CONFIG_USBSERIAL_RXBUFSIZE=512 CONFIG_USBSER_VENDORSTR="Nuttx"
CONFIG_USBSERIAL_TXBUFSIZE=512 CONFIG_USBSER_PRODUCTSTR="USBdev Serial"
CONFIG_USBSER_RXBUFSIZE=512
CONFIG_USBSER_TXBUFSIZE=512
# #
# USB Device Zero Configuration # USB Device Zero Configuration
# CONFIG_USBSER_VENDORID # CONFIG_USBZERO_VENDORID
# The vendor ID code # The vendor ID code
# CONFIG_USBSER_PRODUCTID # CONFIG_USBZERO_PRODUCTID
# The product ID code # The product ID code
CONFIG_USBZERO_VENDORID=0x0525 CONFIG_USBZERO_VENDORID=0x0525
CONFIG_USBZERO_PRODUCTID=0xa4a0 CONFIG_USBZERO_PRODUCTID=0xa4a0

View File

@ -356,34 +356,32 @@ CONFIG_DM320_USBDEV_DMA=n
# #
# USB Serial Device Configuration # USB Serial Device Configuration
# #
# CONFIG_USBSERIAL_EPOUT # CONFIG_USBSER_EPOUT and CONFIG_USBSER_EPIN
# CONFIG_USBSERIAL_EPIN # Logical endoint addresses
# CONFIG_USBSERIAL_NWRREQS # CONFIG_USBSER_NWRREQS and CONFIG_USBSER_NRDREQS
# The number of write requests that can be in flight # The number of write/read requests that can be in flight
# CONFIG_USBSERIAL_NRDREQS # CONFIG_USBSER_VENDORID and CONFIG_USBSER_VENDORSTR
# The number of read requests that can be in flight # The vendor ID code/string
# CONFIG_USBSERIAL_RXBUFSIZE # CONFIG_USBSER_PRODUCTID and CONFIG_USBSER_PRODUCTSTR
# Size of the serial receive buffer # The product ID code/string
# CONFIG_USBSERIAL_TXBUFSIZE # CONFIG_USBSER_RXBUFSIZE and CONFIG_USBSER_TXBUFSIZE
# Size of the serial transmit buffer # Size of the serial receive/transmit buffers
# CONFIG_USBSER_VENDORID CONFIG_USBSER_EPOUT=1
# The vendor ID code CONFIG_USBSER_EPIN=2
# CONFIG_USBSER_PRODUCTID CONFIG_USBSER_NWRREQS=4
# The product ID code CONFIG_USBSER_NRDREQS=4
CONFIG_USBSERIAL_EPOUT=1
CONFIG_USBSERIAL_EPIN=2
CONFIG_USBSERIAL_NWRREQS=4
CONFIG_USBSERIAL_NRDREQS=4
CONFIG_USBSER_VENDORID=0x0525 CONFIG_USBSER_VENDORID=0x0525
CONFIG_USBSER_PRODUCTID=0xa4a6 CONFIG_USBSER_PRODUCTID=0xa4a6
CONFIG_USBSERIAL_RXBUFSIZE=512 CONFIG_USBSER_VENDORSTR="Nuttx"
CONFIG_USBSERIAL_TXBUFSIZE=512 CONFIG_USBSER_PRODUCTSTR="USBdev Serial"
CONFIG_USBSER_RXBUFSIZE=512
CONFIG_USBSER_TXBUFSIZE=512
# #
# USB Device Zero Configuration # USB Device Zero Configuration
# CONFIG_USBSER_VENDORID # CONFIG_USBZERO_VENDORID
# The vendor ID code # The vendor ID code
# CONFIG_USBSER_PRODUCTID # CONFIG_USBZERO_PRODUCTID
# The product ID code # The product ID code
CONFIG_USBZERO_VENDORID=0x0525 CONFIG_USBZERO_VENDORID=0x0525
CONFIG_USBZERO_PRODUCTID=0xa4a0 CONFIG_USBZERO_PRODUCTID=0xa4a0

View File

@ -364,34 +364,32 @@ CONFIG_DM320_USBDEV_DMA=n
# #
# USB Serial Device Configuration # USB Serial Device Configuration
# #
# CONFIG_USBSERIAL_EPOUT # CONFIG_USBSER_EPOUT and CONFIG_USBSER_EPIN
# CONFIG_USBSERIAL_EPIN # Logical endoint addresses
# CONFIG_USBSERIAL_NWRREQS # CONFIG_USBSER_NWRREQS and CONFIG_USBSER_NRDREQS
# The number of write requests that can be in flight # The number of write/read requests that can be in flight
# CONFIG_USBSERIAL_NRDREQS # CONFIG_USBSER_VENDORID and CONFIG_USBSER_VENDORSTR
# The number of read requests that can be in flight # The vendor ID code/string
# CONFIG_USBSERIAL_RXBUFSIZE # CONFIG_USBSER_PRODUCTID and CONFIG_USBSER_PRODUCTSTR
# Size of the serial receive buffer # The product ID code/string
# CONFIG_USBSERIAL_TXBUFSIZE # CONFIG_USBSER_RXBUFSIZE and CONFIG_USBSER_TXBUFSIZE
# Size of the serial transmit buffer # Size of the serial receive/transmit buffers
# CONFIG_USBSER_VENDORID CONFIG_USBSER_EPOUT=1
# The vendor ID code CONFIG_USBSER_EPIN=2
# CONFIG_USBSER_PRODUCTID CONFIG_USBSER_NWRREQS=4
# The product ID code CONFIG_USBSER_NRDREQS=4
CONFIG_USBSERIAL_EPOUT=1
CONFIG_USBSERIAL_EPIN=2
CONFIG_USBSERIAL_NWRREQS=4
CONFIG_USBSERIAL_NRDREQS=4
CONFIG_USBSER_VENDORID=0x0525 CONFIG_USBSER_VENDORID=0x0525
CONFIG_USBSER_PRODUCTID=0xa4a6 CONFIG_USBSER_PRODUCTID=0xa4a6
CONFIG_USBSERIAL_RXBUFSIZE=512 CONFIG_USBSER_VENDORSTR="Nuttx"
CONFIG_USBSERIAL_TXBUFSIZE=512 CONFIG_USBSER_PRODUCTSTR="USBdev Serial"
CONFIG_USBSER_RXBUFSIZE=512
CONFIG_USBSER_TXBUFSIZE=512
# #
# USB Device Zero Configuration # USB Device Zero Configuration
# CONFIG_USBSER_VENDORID # CONFIG_USBZERO_VENDORID
# The vendor ID code # The vendor ID code
# CONFIG_USBSER_PRODUCTID # CONFIG_USBZERO_PRODUCTID
# The product ID code # The product ID code
CONFIG_USBZERO_VENDORID=0x0525 CONFIG_USBZERO_VENDORID=0x0525
CONFIG_USBZERO_PRODUCTID=0xa4a0 CONFIG_USBZERO_PRODUCTID=0xa4a0

View File

@ -356,34 +356,32 @@ CONFIG_DM320_USBDEV_DMA=n
# #
# USB Serial Device Configuration # USB Serial Device Configuration
# #
# CONFIG_USBSERIAL_EPOUT # CONFIG_USBSER_EPOUT and CONFIG_USBSER_EPIN
# CONFIG_USBSERIAL_EPIN # Logical endoint addresses
# CONFIG_USBSERIAL_NWRREQS # CONFIG_USBSER_NWRREQS and CONFIG_USBSER_NRDREQS
# The number of write requests that can be in flight # The number of write/read requests that can be in flight
# CONFIG_USBSERIAL_NRDREQS # CONFIG_USBSER_VENDORID and CONFIG_USBSER_VENDORSTR
# The number of read requests that can be in flight # The vendor ID code/string
# CONFIG_USBSERIAL_RXBUFSIZE # CONFIG_USBSER_PRODUCTID and CONFIG_USBSER_PRODUCTSTR
# Size of the serial receive buffer # The product ID code/string
# CONFIG_USBSERIAL_TXBUFSIZE # CONFIG_USBSER_RXBUFSIZE and CONFIG_USBSER_TXBUFSIZE
# Size of the serial transmit buffer # Size of the serial receive/transmit buffers
# CONFIG_USBSER_VENDORID CONFIG_USBSER_EPOUT=1
# The vendor ID code CONFIG_USBSER_EPIN=2
# CONFIG_USBSER_PRODUCTID CONFIG_USBSER_NWRREQS=4
# The product ID code CONFIG_USBSER_NRDREQS=4
CONFIG_USBSERIAL_EPOUT=1
CONFIG_USBSERIAL_EPIN=2
CONFIG_USBSERIAL_NWRREQS=4
CONFIG_USBSERIAL_NRDREQS=4
CONFIG_USBSER_VENDORID=0x0525 CONFIG_USBSER_VENDORID=0x0525
CONFIG_USBSER_PRODUCTID=0xa4a6 CONFIG_USBSER_PRODUCTID=0xa4a6
CONFIG_USBSERIAL_RXBUFSIZE=512 CONFIG_USBSER_VENDORSTR="Nuttx"
CONFIG_USBSERIAL_TXBUFSIZE=512 CONFIG_USBSER_PRODUCTSTR="USBdev Serial"
CONFIG_USBSER_RXBUFSIZE=512
CONFIG_USBSER_TXBUFSIZE=512
# #
# USB Device Zero Configuration # USB Device Zero Configuration
# CONFIG_USBSER_VENDORID # CONFIG_USBZERO_VENDORID
# The vendor ID code # The vendor ID code
# CONFIG_USBSER_PRODUCTID # CONFIG_USBZERO_PRODUCTID
# The product ID code # The product ID code
CONFIG_USBZERO_VENDORID=0x0525 CONFIG_USBZERO_VENDORID=0x0525
CONFIG_USBZERO_PRODUCTID=0xa4a0 CONFIG_USBZERO_PRODUCTID=0xa4a0

View File

@ -356,34 +356,32 @@ CONFIG_DM320_USBDEV_DMA=n
# #
# USB Serial Device Configuration # USB Serial Device Configuration
# #
# CONFIG_USBSERIAL_EPOUT # CONFIG_USBSER_EPOUT and CONFIG_USBSER_EPIN
# CONFIG_USBSERIAL_EPIN # Logical endoint addresses
# CONFIG_USBSERIAL_NWRREQS # CONFIG_USBSER_NWRREQS and CONFIG_USBSER_NRDREQS
# The number of write requests that can be in flight # The number of write/read requests that can be in flight
# CONFIG_USBSERIAL_NRDREQS # CONFIG_USBSER_VENDORID and CONFIG_USBSER_VENDORSTR
# The number of read requests that can be in flight # The vendor ID code/string
# CONFIG_USBSERIAL_RXBUFSIZE # CONFIG_USBSER_PRODUCTID and CONFIG_USBSER_PRODUCTSTR
# Size of the serial receive buffer # The product ID code/string
# CONFIG_USBSERIAL_TXBUFSIZE # CONFIG_USBSER_RXBUFSIZE and CONFIG_USBSER_TXBUFSIZE
# Size of the serial transmit buffer # Size of the serial receive/transmit buffers
# CONFIG_USBSER_VENDORID CONFIG_USBSER_EPOUT=1
# The vendor ID code CONFIG_USBSER_EPIN=2
# CONFIG_USBSER_PRODUCTID CONFIG_USBSER_NWRREQS=4
# The product ID code CONFIG_USBSER_NRDREQS=4
CONFIG_USBSERIAL_EPOUT=1
CONFIG_USBSERIAL_EPIN=2
CONFIG_USBSERIAL_NWRREQS=4
CONFIG_USBSERIAL_NRDREQS=4
CONFIG_USBSER_VENDORID=0x0525 CONFIG_USBSER_VENDORID=0x0525
CONFIG_USBSER_PRODUCTID=0xa4a6 CONFIG_USBSER_PRODUCTID=0xa4a6
CONFIG_USBSERIAL_RXBUFSIZE=512 CONFIG_USBSER_VENDORSTR="Nuttx"
CONFIG_USBSERIAL_TXBUFSIZE=512 CONFIG_USBSER_PRODUCTSTR="USBdev Serial"
CONFIG_USBSER_RXBUFSIZE=512
CONFIG_USBSER_TXBUFSIZE=512
# #
# USB Device Zero Configuration # USB Device Zero Configuration
# CONFIG_USBSER_VENDORID # CONFIG_USBZERO_VENDORID
# The vendor ID code # The vendor ID code
# CONFIG_USBSER_PRODUCTID # CONFIG_USBZERO_PRODUCTID
# The product ID code # The product ID code
CONFIG_USBZERO_VENDORID=0x0525 CONFIG_USBZERO_VENDORID=0x0525
CONFIG_USBZERO_PRODUCTID=0xa4a0 CONFIG_USBZERO_PRODUCTID=0xa4a0

View File

@ -356,34 +356,32 @@ CONFIG_DM320_USBDEV_DMA=n
# #
# USB Serial Device Configuration # USB Serial Device Configuration
# #
# CONFIG_USBSERIAL_EPOUT # CONFIG_USBSER_EPOUT and CONFIG_USBSER_EPIN
# CONFIG_USBSERIAL_EPIN # Logical endoint addresses
# CONFIG_USBSERIAL_NWRREQS # CONFIG_USBSER_NWRREQS and CONFIG_USBSER_NRDREQS
# The number of write requests that can be in flight # The number of write/read requests that can be in flight
# CONFIG_USBSERIAL_NRDREQS # CONFIG_USBSER_VENDORID and CONFIG_USBSER_VENDORSTR
# The number of read requests that can be in flight # The vendor ID code/string
# CONFIG_USBSERIAL_RXBUFSIZE # CONFIG_USBSER_PRODUCTID and CONFIG_USBSER_PRODUCTSTR
# Size of the serial receive buffer # The product ID code/string
# CONFIG_USBSERIAL_TXBUFSIZE # CONFIG_USBSER_RXBUFSIZE and CONFIG_USBSER_TXBUFSIZE
# Size of the serial transmit buffer # Size of the serial receive/transmit buffers
# CONFIG_USBSER_VENDORID CONFIG_USBSER_EPOUT=1
# The vendor ID code CONFIG_USBSER_EPIN=2
# CONFIG_USBSER_PRODUCTID CONFIG_USBSER_NWRREQS=4
# The product ID code CONFIG_USBSER_NRDREQS=4
CONFIG_USBSERIAL_EPOUT=1
CONFIG_USBSERIAL_EPIN=2
CONFIG_USBSERIAL_NWRREQS=4
CONFIG_USBSERIAL_NRDREQS=4
CONFIG_USBSER_VENDORID=0x0525 CONFIG_USBSER_VENDORID=0x0525
CONFIG_USBSER_PRODUCTID=0xa4a6 CONFIG_USBSER_PRODUCTID=0xa4a6
CONFIG_USBSERIAL_RXBUFSIZE=512 CONFIG_USBSER_VENDORSTR="Nuttx"
CONFIG_USBSERIAL_TXBUFSIZE=512 CONFIG_USBSER_PRODUCTSTR="USBdev Serial"
CONFIG_USBSER_RXBUFSIZE=512
CONFIG_USBSER_TXBUFSIZE=512
# #
# USB Device Zero Configuration # USB Device Zero Configuration
# CONFIG_USBSER_VENDORID # CONFIG_USBZERO_VENDORID
# The vendor ID code # The vendor ID code
# CONFIG_USBSER_PRODUCTID # CONFIG_USBZERO_PRODUCTID
# The product ID code # The product ID code
CONFIG_USBZERO_VENDORID=0x0525 CONFIG_USBZERO_VENDORID=0x0525
CONFIG_USBZERO_PRODUCTID=0xa4a0 CONFIG_USBZERO_PRODUCTID=0xa4a0