Ignore:
Timestamp:
Jul 17, 2017, 4:31:51 AM (8 years ago)
Author:
David Azarewicz
Message:

Added MSI support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/os2ahci.h

    r185 r190  
    280280  unsigned      busy : 1;              /*    if != 0, adapter is busy */
    281281  unsigned      hw_ports : 6;          /*    number of ports as reported by the hardware */
     282  unsigned      int_set:1;             /* interrupt has been set */
    282283
    283284  u32           port_map;              /* 08   bitmap of active ports */
     
    294295  HRESOURCE     rm_adh;                /* 44 resource handle for adapter */
    295296  HRESOURCE     rm_bars[6];            /* 48 resource handle for MMIO and I/O BARs */
    296   HRESOURCE     rm_irq;                /* 60 resource handle for IRQ */
    297297
    298298  u16           bus_dev_func;          /* 64 PCI bus number PCI device and function number */
    299   u16           irq;                   /* 66 interrupt number */
     299  u8            irq;                   /* 66 interrupt number */
     300  u8            irq_pin;               /* 67 irq pin */
    300301
    301302  u32           mmio_phys;             /* 68 physical address of MMIO region */
     
    424425extern int ahci_flush_cache(AD_INFO *ai, int p, int d);
    425426
    426 extern int ahci_intr(u16 irq);
     427extern int ahci_intr(u32 irq);
    427428extern void ahci_port_intr(AD_INFO *ai, int p);
    428429extern void ahci_error_intr(AD_INFO *ai, int p, u32 irq_stat);
Note: See TracChangeset for help on using the changeset viewer.