Changeset 69 for trunk/src/os2ahci/ata.c
- Timestamp:
- Jan 7, 2011, 4:54:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ata.c
r66 r69 107 107 case AP_FEATURES: 108 108 /* ATA features word */ 109 ata_cmd.features = va_arg(va, u16);109 ata_cmd.features |= va_arg(va, u16); 110 110 break; 111 111 … … 118 118 /* 28-bit sector address */ 119 119 ata_cmd.lba_l = va_arg(va, u32); 120 dprintf("LBA28: 0x%08lx\n", ata_cmd.lba_l);121 120 if (ata_cmd.lba_l & 0xf0000000UL) { 122 121 dprintf("error: LBA-28 address %ld has more than 28 bits\n", ata_cmd.lba_l); … … 133 132 ata_cmd.lba_l = va_arg(va, u32); 134 133 ata_cmd.lba_h = va_arg(va, u16); 135 dprintf("LBA48: 0x%08lx\n", ata_cmd.lba_l);136 134 break; 137 135 … … 703 701 AP_COUNT, (u16) (slot << 3), /* tag = slot */ 704 702 AP_SGLIST, io->pSGList + sg_indx, (u16) sg_cnt, 705 AP_DEVICE, 0xc000, /* force unit access (FUA) */ 703 AP_DEVICE, 0x4000, 704 AP_DEVICE, (io->Flags & XIO_DISABLE_HW_WRITE_CACHE) ? 705 0x8000 : 0, /* force unit access */ 706 706 AP_WRITE, 1, 707 707 AP_END);
Note:
See TracChangeset
for help on using the changeset viewer.