xref: /minix/minix/drivers/usb/usb_storage/README.txt (revision 7f5f010b)
1-------------------------------------------------------------------------------
2*                           INFORMATION:                                      *
3-------------------------------------------------------------------------------
4README file for "USB Mass Storage driver" that uses DDEkit and libblockdriver.
5
6created march-april 2014, JPEmbedded (info@jpembedded.eu)
7
8-------------------------------------------------------------------------------
9*                           KNOWN LIMITATIONS:                                *
10-------------------------------------------------------------------------------
11-Hardcoded interface number for bulk-only reset.
12-Hardcoded configuration number for simple enumeration.
13-Call to ddekit_minix_create_msg_q in _ddekit_usb_thread uses base that
14 overlaps that of blockdriver's (in mass_storage_task) so initialization
15 must be done in fixed order.
16-Some of DDEKit's functions are declared in source files as they are missing
17 from headers.
18-DDEKit has 'init' but no 'deinit' call, so memory is spilled.
19-Hardcoded geometry.
20-LUN always set to 0.
21-SIGTERM handler uses exit instead of DDEkit semaphores.
22-mass_storage.conf taken from dde-linux26-usb-drivers.
23-Subpartitioning does not seem to work.
24-Type ddekit_usb_dev is not defined in any header file but two variants of it
25 should exist (client and server).
26-Magic number in URB setup buffer assignment as there is no header for that
27 (like usb_ch9.h for descriptors).