Changeset 71 for trunk/src/os2ahci/ata.c


Ignore:
Timestamp:
Feb 15, 2011, 1:18:21 PM (14 years ago)
Author:
chris
Message:
  • Added minimum NCQ depth for SATA devices which don't support NCQ at all
  • Removed ATAPI devices from the flush cache queue as they caused timeouts with a DVD drive in an HP test box
  • Various cosmetic changes to debug levels, etc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/ata.c

    r70 r71  
    624624
    625625  io->BlocksXferred += add_workspace(iorb)->blocks;
    626   ddprintf("ata(pi)_read_pp(): blocks transferred = %d\n", (int) io->BlocksXferred);
     626  dprintf("ata_read_pp(): blocks transferred = %d\n", (int) io->BlocksXferred);
    627627
    628628  if (io->BlocksXferred >= io->BlockCount) {
     
    756756
    757757  io->BlocksXferred += add_workspace(iorb)->blocks;
    758   ddprintf("ata_write_pp(): blocks transferred = %d\n", (int) io->BlocksXferred);
     758  dprintf("ata_write_pp(): blocks transferred = %d\n", (int) io->BlocksXferred);
    759759
    760760  if (io->BlocksXferred >= io->BlockCount) {
Note: See TracChangeset for help on using the changeset viewer.