Changeset 33fee91 in mainline for uspace/srv/bd/sata_bd/sata_bd.h
- Timestamp:
- 2012-08-31T07:35:27Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a3da2b2
- Parents:
- 72cf064 (diff), 0d57c3e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/srv/bd/sata_bd/sata_bd.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/sata_bd/sata_bd.h
r72cf064 r33fee91 38 38 #define SATA_DEV_NAME_LENGTH 256 39 39 40 #include <async.h> 41 #include <bd_srv.h> 42 #include <loc.h> 40 43 #include <sys/types.h> 41 #include <loc.h>42 44 43 45 /** SATA Block Device. */ 44 46 typedef struct { 45 /** Device name in device tree. */ 46 char * dev_name;47 /** SATA Device name. */ 48 char sata_dev_name[SATA_DEV_NAME_LENGTH]; 47 /** Device name in device tree. */ 48 char *dev_name; 49 /** SATA Device name. */ 50 char sata_dev_name[SATA_DEV_NAME_LENGTH]; 49 51 /** Session to device methods. */ 50 async_sess_t * sess;52 async_sess_t *sess; 51 53 /** Loc service id. */ 52 54 service_id_t service_id; 53 55 /** Number of blocks. */ 54 uint64_t blocks; 56 uint64_t blocks; 55 57 /** Size of block. */ 56 size_t block_size; 58 size_t block_size; 59 /** Block device server structure */ 60 bd_srvs_t bds; 57 61 } sata_bd_dev_t; 58 62
Note:
See TracChangeset
for help on using the changeset viewer.
