Changeset 55 for trunk/src/os2ahci/ata.c
- Timestamp:
- Dec 14, 2010, 12:03:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ata.c
r46 r55 618 618 { 619 619 IORB_EXECUTEIO _far *io = (IORB_EXECUTEIO _far *) iorb; 620 /* unsigned char _far *p; */ 621 /* u16 mode_sw; */ 620 622 621 623 io->BlocksXferred += add_workspace(iorb)->blocks; … … 628 630 /* requeue this IORB for next iteration */ 629 631 iorb_requeue(iorb); 630 } 632 /* printf("MT: IORB requeued\n"); */ 633 } 634 635 /* MT: print hex dump of first sector read */ 636 /* if (io->cSGList) { */ 637 /* if (DevHelp_PhysToVirt(io->pSGList->ppXferBuf, */ 638 /* (USHORT) io->pSGList->XferBufLen, */ 639 /* (PVOID) &p, &mode_sw)) { */ 640 /* printf("MT: failed to convert S/G pointer to virt address\n"); */ 641 /* } else { */ 642 /* phex(p, (int) io->pSGList->XferBufLen, "sector dump, RBA=0x%08lx\n", */ 643 /* io->RBA); */ 644 /* } */ 645 /* } */ 646 631 647 } 632 648 … … 778 794 779 795 rc = ata_cmd(ai, p, d, slot, 0, 780 AP_SGLIST, apt->pSGList, apt-> ppSGLIST,796 AP_SGLIST, apt->pSGList, apt->cSGList, 781 797 AP_ATA_CMD, apt->pControllerCmd, 782 798 AP_WRITE, !(apt->Flags & PT_DIRECTION_IN),
Note:
See TracChangeset
for help on using the changeset viewer.