Changeset 165 for trunk/src/os2ahci/ahci.c
- Timestamp:
- Jul 31, 2013, 8:08:59 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ahci.c
r164 r165 4 4 * Copyright (c) 2011 thi.guten Software Development 5 5 * Copyright (c) 2011 Mensys B.V. 6 * Portions copyright (c) 2013 David Azarewicz 6 7 * 7 8 * Authors: Christian Mueller, Markus Thielen … … 234 235 235 236 #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 */ 236 240 if ((ai->bios_config[HOST_CTL / sizeof(u32)] & HOST_AHCI_EN) == 0 && 237 241 ai->pci->vendor == PCI_VENDOR_ID_INTEL) { … … 1343 1347 dprintf("flushing cache on %d.%d.%d\n", ad_no(ai), p, d); 1344 1348 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)); 1348 1350 } 1349 1351 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.