Ignore:
Timestamp:
Jul 31, 2013, 8:08:59 PM (12 years ago)
Author:
David Azarewicz
Message:

code cleanup - debug messages
fixed defect in smart ioctl

File:
1 edited

Legend:

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

    r162 r165  
    44 * Copyright (c) 2011 thi.guten Software Development
    55 * Copyright (c) 2011 Mensys B.V.
     6 * Portions copyright (c) 2013 David Azarewicz
    67 *
    78 * Authors: Christian Mueller, Markus Thielen
     
    123124      for (d = 0; d <= ai->ports[p].dev_max; d++) {
    124125        if (ai->ports[p].devs[d].present) {
    125           ahci_flush_cache(ai, p, d);
    126         }
     126          ahci_flush_cache(ai, p, d);
     127        }
    127128      }
    128129    }
     
    241242
    242243      #if 0
     244      /* cannot flush caches this way */
    243245      ahci_start_port(ai, p, 0);
    244246
     
    246248      for (d = 0; d <= ai->ports[p].dev_max; d++) {
    247249        if (ai->ports[p].devs[d].present) {
    248           ahci_flush_cache(ai, p, d);
    249         }
     250          ahci_flush_cache(ai, p, d);
     251        }
    250252      }
    251253      #endif
Note: See TracChangeset for help on using the changeset viewer.