Changeset 206 for trunk/src/os2ahci/apm.c
- Timestamp:
- Jan 23, 2021, 6:50:32 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/apm.c
r205 r206 124 124 for (d = 0; d <= ai->ports[p].dev_max; d++) 125 125 { 126 if (ai->ports[p].devs[d].present && !ai->ports[p].devs[d].ignored)126 if (ai->ports[p].devs[d].present) 127 127 { 128 128 ahci_flush_cache(ai, p, d); … … 244 244 writel(port_mmio + PORT_SCR_ACT, 0); 245 245 readl(port_mmio + PORT_SCR_ACT); /* flush */ 246 247 #if 0248 /* 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 #endif260 246 } 261 247 }
Note:
See TracChangeset
for help on using the changeset viewer.