Changeset 36 for trunk/src/os2ahci/ahci.c
- Timestamp:
- Nov 5, 2010, 1:40:22 PM (15 years ago)
- Location:
- trunk/src/os2ahci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci
- Property svn:ignore
-
old new 8 8 *.out 9 9 *.map 10 TAGS 11 bldday.h
-
- Property svn:ignore
-
trunk/src/os2ahci/ahci.c
r35 r36 546 546 } 547 547 548 /* clear any pending adapter-level interrupts */548 /* clear pending interrupt status */ 549 549 writel(ai->mmio + HOST_IRQ_STAT, readl(ai->mmio + HOST_IRQ_STAT)); 550 550 readl(ai->mmio + HOST_IRQ_STAT); /* flush */ … … 671 671 ahci_start_fis_rx(ai, p); 672 672 673 /* enable DMA*/673 /* enable command engine */ 674 674 ahci_start_engine(ai, p); 675 675 … … 752 752 } 753 753 754 /* disable DMA*/754 /* disable command engine */ 755 755 if ((rc = ahci_stop_engine(ai, p)) != 0) { 756 756 dprintf("error: failed to stop port HW engine (%d)\n", rc); … … 847 847 u16 cmd_max = ai->cmd_max; 848 848 int i; 849 850 /* Enable AHCI mode; apparently, the AHCI mode may end up becoming 851 * disabled, either during the boot sequence (by the BIOS) or by 852 * something else. The Linux AHCI drivers have this call in the 853 * command processing chain, and apparently for a good reason because 854 * without this, commands won't be executed. 855 */ 856 ahci_enable_ahci(ai); 849 857 850 858 /* determine whether this will be an NCQ request */
Note:
See TracChangeset
for help on using the changeset viewer.