Ignore:
Timestamp:
Jan 23, 2021, 6:50:32 PM (5 years ago)
Author:
David Azarewicz
Message:

Reworked internal implementation of /U

File:
1 edited

Legend:

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

    r205 r206  
    124124      for (d = 0; d <= ai->ports[p].dev_max; d++)
    125125      {
    126         if (ai->ports[p].devs[d].present && !ai->ports[p].devs[d].ignored)
     126        if (ai->ports[p].devs[d].present)
    127127        {
    128128          ahci_flush_cache(ai, p, d);
     
    244244      writel(port_mmio + PORT_SCR_ACT, 0);
    245245      readl(port_mmio + PORT_SCR_ACT);  /* flush */
    246 
    247       #if 0
    248       /* cannot flush caches this way */
    249       ahci_start_port(ai, p, 0);
    250 
    251       /* flush cache on all attached devices */
    252       for (d = 0; d <= ai->ports[p].dev_max; d++)
    253       {
    254         if (ai->ports[p].devs[d].present && !ai->ports[p].devs[d].ignored)
    255         {
    256           ahci_flush_cache(ai, p, d);
    257         }
    258       }
    259       #endif
    260246    }
    261247  }
Note: See TracChangeset for help on using the changeset viewer.