diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2009-09-01 08:55:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-02 03:43:30 -0400 |
commit | 4f125f42dd55390016e21f8b3960f99d02d1001f (patch) | |
tree | a976eb6c317db2a93bad2ba339be627deb59b3be /drivers/net/tg3.h | |
parent | 2d31ecaf10c4ae03d49aed516481b2839b0220f6 (diff) |
tg3: Add support code around kernel interrupt API
This patch adds code to support multiple interrupt vectors around the
kernel's interrupt API.
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 626b96805c3e..a78a0db15a71 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -2514,6 +2514,9 @@ struct tg3_napi { | |||
2514 | dma_addr_t status_mapping; | 2514 | dma_addr_t status_mapping; |
2515 | dma_addr_t rx_rcb_mapping; | 2515 | dma_addr_t rx_rcb_mapping; |
2516 | dma_addr_t tx_desc_mapping; | 2516 | dma_addr_t tx_desc_mapping; |
2517 | |||
2518 | char irq_lbl[IFNAMSIZ]; | ||
2519 | unsigned int irq_vec; | ||
2517 | }; | 2520 | }; |
2518 | 2521 | ||
2519 | struct tg3 { | 2522 | struct tg3 { |
@@ -2829,6 +2832,9 @@ struct tg3 { | |||
2829 | 2832 | ||
2830 | #define SST_25VF0X0_PAGE_SIZE 4098 | 2833 | #define SST_25VF0X0_PAGE_SIZE 4098 |
2831 | 2834 | ||
2835 | unsigned int irq_max; | ||
2836 | unsigned int irq_cnt; | ||
2837 | |||
2832 | struct ethtool_coalesce coal; | 2838 | struct ethtool_coalesce coal; |
2833 | 2839 | ||
2834 | /* firmware info */ | 2840 | /* firmware info */ |