Changeset 32
- Timestamp:
- Sep 30, 2010, 6:37:12 PM (15 years ago)
- Location:
- trunk/src/os2ahci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/ahci.c
r26 r32 658 658 } 659 659 660 /* clear SError, if any */ 661 status = readl(port_mmio + PORT_SCR_ERR); 662 ddprintf(" PORT_SCR_ERR = 0x%lx\n", status); 663 writel(port_mmio + PORT_SCR_ERR, status); 664 660 665 /* enable FIS reception */ 661 666 ahci_start_fis_rx(ai, p); … … 665 670 666 671 if (ei) { 672 /* clear any pending interrupts on this port */ 673 if ((status = readl(port_mmio + PORT_IRQ_STAT)) != 0) { 674 writel(port_mmio + PORT_IRQ_STAT, status); 675 } 676 667 677 /* enable port interrupts */ 668 678 writel(port_mmio + PORT_IRQ_MASK, PORT_IRQ_TF_ERR | -
trunk/src/os2ahci/os2ahci.c
r26 r32 214 214 case 'n': 215 215 /* disable NCQ on this port */ 216 d rv_parm_int(s, disable_ncq[adapter_index][port_index], u8, 10);216 disable_ncq[adapter_index][port_index] = 1; 217 217 break; 218 218
Note:
See TracChangeset
for help on using the changeset viewer.