aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/msi.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/msi.h')
-rw-r--r--drivers/pci/msi.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/pci/msi.h b/drivers/pci/msi.h
index 3519eca50d8a..6793241f3884 100644
--- a/drivers/pci/msi.h
+++ b/drivers/pci/msi.h
@@ -8,19 +8,8 @@
8 8
9#include <asm/msi.h> 9#include <asm/msi.h>
10 10
11/*
12 * Assume the maximum number of hot plug slots supported by the system is about
13 * ten. The worstcase is that each of these slots is hot-added with a device,
14 * which has two MSI/MSI-X capable functions. To avoid any MSI-X driver, which
15 * attempts to request all available vectors, NR_HP_RESERVED_VECTORS is defined
16 * as below to ensure at least one message is assigned to each detected MSI/
17 * MSI-X device function.
18 */
19#define NR_HP_RESERVED_VECTORS 20
20
21extern int vector_irq[NR_VECTORS]; 11extern int vector_irq[NR_VECTORS];
22extern void (*interrupt[NR_IRQS])(void); 12extern void (*interrupt[NR_IRQS])(void);
23extern int pci_vector_resources(int last, int nr_released);
24 13
25/* 14/*
26 * MSI-X Address Register 15 * MSI-X Address Register