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

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

File:
1 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 |
Note: See TracChangeset for help on using the changeset viewer.