aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2009-09-01 08:55:46 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-02 03:43:33 -0400
commit679563f47cd2547a0e091b5bd3ddf30027af6b08 (patch)
treeefb6a8a9e6d080447b89014725bfcfad0b33a3e6 /drivers/net/tg3.h
parent4f125f42dd55390016e21f8b3960f99d02d1001f (diff)
tg3: Add MSI-X support
This patch adds MSI-X support. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r--drivers/net/tg3.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index a78a0db15a71..65bbd773606f 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -2621,6 +2621,9 @@ struct tg3 {
2621#define TG3_FLAG_NVRAM 0x00002000 2621#define TG3_FLAG_NVRAM 0x00002000
2622#define TG3_FLAG_NVRAM_BUFFERED 0x00004000 2622#define TG3_FLAG_NVRAM_BUFFERED 0x00004000
2623#define TG3_FLAG_SUPPORT_MSI 0x00008000 2623#define TG3_FLAG_SUPPORT_MSI 0x00008000
2624#define TG3_FLAG_SUPPORT_MSIX 0x00010000
2625#define TG3_FLAG_SUPPORT_MSI_OR_MSIX (TG3_FLAG_SUPPORT_MSI | \
2626 TG3_FLAG_SUPPORT_MSIX)
2624#define TG3_FLAG_PCIX_MODE 0x00020000 2627#define TG3_FLAG_PCIX_MODE 0x00020000
2625#define TG3_FLAG_PCI_HIGH_SPEED 0x00040000 2628#define TG3_FLAG_PCI_HIGH_SPEED 0x00040000
2626#define TG3_FLAG_PCI_32BIT 0x00080000 2629#define TG3_FLAG_PCI_32BIT 0x00080000
@@ -2659,6 +2662,9 @@ struct tg3 {
2659#define TG3_FLG2_5750_PLUS 0x00080000 2662#define TG3_FLG2_5750_PLUS 0x00080000
2660#define TG3_FLG2_PROTECTED_NVRAM 0x00100000 2663#define TG3_FLG2_PROTECTED_NVRAM 0x00100000
2661#define TG3_FLG2_USING_MSI 0x00200000 2664#define TG3_FLG2_USING_MSI 0x00200000
2665#define TG3_FLG2_USING_MSIX 0x00400000
2666#define TG3_FLG2_USING_MSI_OR_MSIX (TG3_FLG2_USING_MSI | \
2667 TG3_FLG2_USING_MSIX)
2662#define TG3_FLG2_MII_SERDES 0x00800000 2668#define TG3_FLG2_MII_SERDES 0x00800000
2663#define TG3_FLG2_ANY_SERDES (TG3_FLG2_PHY_SERDES | \ 2669#define TG3_FLG2_ANY_SERDES (TG3_FLG2_PHY_SERDES | \
2664 TG3_FLG2_MII_SERDES) 2670 TG3_FLG2_MII_SERDES)