Changeset 00aece0 in mainline for uspace/srv/bd/ata_bd/ata_hw.h
- Timestamp:
- 2012-02-18T16:47:38Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4449c6c
- Parents:
- bd5f3b7 (diff), f943dd3 (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
-
TabularUnified uspace/srv/bd/ata_bd/ata_hw.h ¶
rbd5f3b7 r00aece0 244 244 enum ata_pkt_command { 245 245 PCMD_INQUIRY = 0x12, 246 PCMD_READ_12 = 0xa8 246 PCMD_READ_12 = 0xa8, 247 PCMD_READ_TOC = 0x43 247 248 }; 248 249 … … 269 270 uint8_t _res2; 270 271 } __attribute__ ((packed)) ata_pcmd_read_12_t; 272 273 /** ATAPI Read TOC command */ 274 typedef struct { 275 uint8_t opcode; /**< Operation code (PCMD_READ_TOC) */ 276 uint8_t msf; /**< 0x2 = MSF bit set */ 277 uint8_t format; /**< low 3 bits */ 278 uint8_t _res0; 279 uint8_t _res1; 280 uint8_t _res2; 281 uint8_t start; /**< starting track/session number */ 282 uint16_t size; /**< Allocation length */ 283 uint8_t oldformat; /**< high 2 bits */ 284 uint8_t _res3; 285 uint8_t _res4; 286 } __attribute__ ((packed)) ata_pcmd_read_toc_t; 271 287 272 288 /** Data returned from Inquiry command (mandatory part) */
Note:
See TracChangeset
for help on using the changeset viewer.