| .. | .. |
|---|
| 65 | 65 | void *data; |
|---|
| 66 | 66 | }; |
|---|
| 67 | 67 | |
|---|
| 68 | +#define INTERRUPT_TYPE_NONE (0) |
|---|
| 69 | +#define INTERRUPT_TYPE_INTX (1<<0) |
|---|
| 70 | +#define INTERRUPT_TYPE_MSI (1<<1) |
|---|
| 71 | +#define INTERRUPT_TYPE_MSIX (1<<2) |
|---|
| 72 | + |
|---|
| 68 | 73 | extern bool xen_pcibk_permissive; |
|---|
| 69 | 74 | |
|---|
| 70 | 75 | #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset) |
|---|
| .. | .. |
|---|
| 126 | 131 | int xen_pcibk_config_header_add_fields(struct pci_dev *dev); |
|---|
| 127 | 132 | int xen_pcibk_config_capability_add_fields(struct pci_dev *dev); |
|---|
| 128 | 133 | |
|---|
| 134 | +int xen_pcibk_get_interrupt_type(struct pci_dev *dev); |
|---|
| 135 | + |
|---|
| 129 | 136 | #endif /* __XEN_PCIBACK_CONF_SPACE_H__ */ |
|---|