Changeset 70
- Timestamp:
- Jan 31, 2011, 9:41:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ata.c
r69 r70 124 124 /* add upper 4 bits to device field */ 125 125 ata_cmd.device |= (ata_cmd.lba_l >> 24) & 0x0fU; 126 /* only lower 24 bits come into _debuglba_l */126 /* only lower 24 bits come into lba_l */ 127 127 ata_cmd.lba_l &= 0x00ffffffUL; 128 128 break; … … 386 386 } 387 387 388 /* return the best match we found so far(0 indicating failure) */388 /* return the best match we found (0 indicating failure) */ 389 389 *sector_cnt = max_sector_cnt; 390 390 *sg_cnt = max_sg_cnt; … … 440 440 * guess in most cases. If the information stored in the geometry 441 441 * fields is apparently incorrect, we'll use the algorithm typically 442 * used by SCSI adapters and modern PC BIOS releases:442 * used by SCSI adapters and modern PC BIOS versions: 443 443 * 444 444 * - 512 bytes per sector
Note:
See TracChangeset
for help on using the changeset viewer.