compat: backport definition of PCI_MSIX_ENTRY_CTRL_MASKBIT
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Mon, 3 Dec 2012 19:50:49 +0000 (11:50 -0800)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Mon, 3 Dec 2012 19:50:49 +0000 (11:50 -0800)
This backports the addition of PCI_MSIX_ENTRY_CTRL_MASKBIT.

mcgrof@frijol ~/linux-next (git::master)$ git describe --contains 8d805286968811223cca002134ba3d81244d5313
v2.6.38-rc1~55^2~14

commit 8d805286968811223cca002134ba3d81244d5313
Author: Sheng Yang <sheng@linux.intel.com>
Date:   Thu Nov 11 15:46:55 2010 +0800

    PCI: Add mask bit definition for MSI-X table

    Then we can use it instead of magic number 1.

Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Cc: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
include/linux/compat-2.6.38.h

index b397c74db4a99b2ebf849b4e8e80214b08430137..0aa5d9b7996d983eff742236777eb25228792856 100644 (file)
@@ -10,6 +10,8 @@
 #include <linux/etherdevice.h>
 #include <net/sch_generic.h>
 
+#define   PCI_MSIX_ENTRY_CTRL_MASKBIT  1
+
 #define alloc_etherdev_mqs(sizeof_priv, tx_q, rx_q) alloc_etherdev_mq(sizeof_priv, tx_q)
 
 /* MSI-X entry's format */