Changeset 32


Ignore:
Timestamp:
Sep 30, 2010, 6:37:12 PM (15 years ago)
Author:
markus
Message:

results of testing with AMD SB800... not yet working

Location:
trunk/src/os2ahci
Files:
2 edited

Legend:

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

    r26 r32  
    658658  }
    659659
     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
    660665  /* enable FIS reception */
    661666  ahci_start_fis_rx(ai, p);
     
    665670
    666671  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
    667677    /* enable port interrupts */
    668678    writel(port_mmio + PORT_IRQ_MASK, PORT_IRQ_TF_ERR |
  • trunk/src/os2ahci/os2ahci.c

    r26 r32  
    214214      case 'n':
    215215        /* disable NCQ on this port */
    216         drv_parm_int(s, disable_ncq[adapter_index][port_index], u8, 10);
     216        disable_ncq[adapter_index][port_index] = 1;
    217217        break;
    218218
Note: See TracChangeset for help on using the changeset viewer.