Changeset 55 for trunk/src/os2ahci
- Timestamp:
- Dec 14, 2010, 12:03:32 PM (15 years ago)
- Location:
- trunk/src/os2ahci
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ahci.c
r53 r55 32 32 ? atapi_##func : ata_##func 33 33 34 35 /* #define LBATEST 36 * uncomment to perform sector mapping test of first drive */ 37 34 38 #define LBATEST_SECTORS_PER_READ 64 35 39 #define LBATEST_SECTOR_SIZE 512 36 40 37 #define LBATEST38 41 39 42 /* ------------------------ typedefs and structures ------------------------ */ … … 1654 1657 DevHelp_FreePhys(phys_addr); 1655 1658 1659 LBA test compiled? 1660 1656 1661 } 1657 1662 #endif -
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), -
trunk/src/os2ahci/os2ahci.def
r48 r55 1 1 library os2ahci 2 Description '$@#thi.guten (www.thiguten.de):1.00.201012 02#@OS/2 AHCI Adapter Device Driver'2 Description '$@#thi.guten (www.thiguten.de):1.00.20101214#@OS/2 AHCI Adapter Device Driver' 3 3 protmode 4 4
Note:
See TracChangeset
for help on using the changeset viewer.