Changeset 17aca1c in mainline for uspace/srv/bd/ata_bd/ata_bd.h
- Timestamp:
- 2011-02-04T20:56:52Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0397e5a4, e29e09cf
- Parents:
- e778543 (diff), 0b37882 (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
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/ata_bd/ata_bd.h
re778543 r17aca1c 53 53 }; 54 54 55 /** Block addressing mode. */ 56 enum addr_mode { 55 enum ata_dev_type { 56 ata_reg_dev, /* Register device (no packet feature set support) */ 57 ata_pkt_dev /* Packet device (supports packet feature set). */ 58 }; 59 60 /** Register device block addressing mode. */ 61 enum rd_addr_mode { 57 62 am_chs, /**< CHS block addressing */ 58 63 am_lba28, /**< LBA-28 block addressing */ … … 62 67 /** Block coordinates */ 63 68 typedef struct { 64 /** Addressing mode used */ 65 enum addr_mode amode; 69 enum rd_addr_mode amode; 66 70 67 71 union { … … 90 94 typedef struct { 91 95 bool present; 92 enum addr_mode amode; 96 97 /** Device type */ 98 enum ata_dev_type dev_type; 99 100 /** Addressing mode to use (if register device) */ 101 enum rd_addr_mode amode; 93 102 94 103 /* … … 102 111 103 112 uint64_t blocks; 113 size_t block_size; 104 114 105 115 char model[STR_BOUNDS(40) + 1];
Note:
See TracChangeset
for help on using the changeset viewer.