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/ahci.c

    r164 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
     
    234235
    235236#if 0
     237  /* init_reset is set by default. This code is commented out to allow
     238   * unsetting init_reset by a command line switch
     239   */
    236240  if ((ai->bios_config[HOST_CTL / sizeof(u32)] & HOST_AHCI_EN) == 0 &&
    237241      ai->pci->vendor == PCI_VENDOR_ID_INTEL) {
     
    13431347    dprintf("flushing cache on %d.%d.%d\n", ad_no(ai), p, d);
    13441348    return(ahci_exec_polled_cmd(ai, p, d, 30000,
    1345                                 ai->ports[p].devs[d].lba48 ? ATA_CMD_FLUSH_EXT
    1346                                                            : ATA_CMD_FLUSH,
    1347                                 AP_END));
     1349           ai->ports[p].devs[d].lba48 ? ATA_CMD_FLUSH_EXT : ATA_CMD_FLUSH, AP_END));
    13481350  }
    13491351  return 0;
Note: See TracChangeset for help on using the changeset viewer.