Changes between Version 9 and Version 10 of hba_driver
- Timestamp:
- Apr 2, 2015, 12:38:49 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
hba_driver
v9 v10 33 33 unsigned char flag[2]; // W in bit 6 of flag[0] 34 34 unsigned char prdtl[2]; // Number of buffers 35 unsigned int prdbc; 35 unsigned int prdbc; // Number of bytes actually transfered 36 36 unsigned int ctba; // Command Table base address 32 LSB bits 37 37 unsigned int ctbau; // Command Table base address 32 MSB bits … … 45 45 typedef struct hba_cmd_header_s // size = 16 bytes 46 46 { 47 unsigned int 47 unsigned int res0; // reserved 48 48 unsigned char lba0; // LBA 7:0 49 49 unsigned char lba1; // LBA 15:8 … … 54 54 unsigned char lba5; // LBA 47:40 55 55 unsigned char res2; // reserved 56 unsigned int 56 unsigned int res3; // reserved 57 57 } hba_cmd_header_t; 58 58 … … 68 68 { 69 69 hba_cmd_header_t header; // contains LBA 70 hba_cmd_buffer_t buffer;// only one physical buffer70 hba_cmd_buffer_t buffer; // only one physical buffer 71 71 } hba_cmd_table_t; 72 72 }}}