Changeset 2aceec5 in mainline for uspace/drv/bus/usb/usbmast/usbmast.h
- Timestamp:
- 2011-07-15T21:24:35Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4118f5f, 8ad496d
- Parents:
- e6b32a8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/usbmast.h
re6b32a8 r2aceec5 40 40 #include <usb/usb.h> 41 41 42 /** Mass storage device. */ 43 typedef struct { 44 /** DDF device */ 45 ddf_dev_t *ddf_dev; 46 /** USB device */ 47 usb_device_t *usb_dev; 48 /** Number of LUNs */ 49 unsigned luns; 50 } usbmast_dev_t; 51 42 52 /** Mass storage function. 43 53 * … … 45 55 */ 46 56 typedef struct { 57 /** Mass storage device the function belongs to */ 58 usbmast_dev_t *mdev; 47 59 /** DDF function */ 48 60 ddf_fun_t *ddf_fun; 49 61 /** LUN */ 50 62 unsigned lun; 51 /** Total number of blocks .*/63 /** Total number of blocks */ 52 64 uint64_t nblocks; 53 /** Block size in bytes .*/65 /** Block size in bytes */ 54 66 size_t block_size; 55 /** USB device function belongs to */56 usb_device_t *usb_dev;57 67 } usbmast_fun_t; 58 68
Note:
See TracChangeset
for help on using the changeset viewer.