summaryrefslogtreecommitdiffstats
path: root/drivers/misc/genwqe/card_base.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-10-04 15:26:47 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-31 04:00:09 -0600
commitd3f45647a427ddbb7ac763ed512eab8b809443e8 (patch)
tree9a6315a617bdc8a0b61cce1a6cd75afdb99cf743 /drivers/misc/genwqe/card_base.h
parentd4608a83f78b489822d0f378acf752c8b71a750c (diff)
downloadlinux-d3f45647a427ddbb7ac763ed512eab8b809443e8.tar.bz2
genwqe: use pci_irq_allocate_vectors
Simply the interrupt setup by using the new PCI layer helpers. One odd thing about this driver is that it looks like it could request multiple MSI vectors, but it will then only ever use a single one. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com>= Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/genwqe/card_base.h')
-rw-r--r--drivers/misc/genwqe/card_base.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/genwqe/card_base.h b/drivers/misc/genwqe/card_base.h
index cb851c14ca4b..5813b5f25006 100644
--- a/drivers/misc/genwqe/card_base.h
+++ b/drivers/misc/genwqe/card_base.h
@@ -41,7 +41,6 @@
#include "genwqe_driver.h"
#define GENWQE_MSI_IRQS 4 /* Just one supported, no MSIx */
-#define GENWQE_FLAG_MSI_ENABLED (1 << 0)
#define GENWQE_MAX_VFS 15 /* maximum 15 VFs are possible */
#define GENWQE_MAX_FUNCS 16 /* 1 PF and 15 VFs */