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>
This commit is contained in:
committed by
David S. Miller
parent
2d31ecaf10
commit
4f125f42dd
@ -2514,6 +2514,9 @@ struct tg3_napi {
|
||||
dma_addr_t status_mapping;
|
||||
dma_addr_t rx_rcb_mapping;
|
||||
dma_addr_t tx_desc_mapping;
|
||||
|
||||
char irq_lbl[IFNAMSIZ];
|
||||
unsigned int irq_vec;
|
||||
};
|
||||
|
||||
struct tg3 {
|
||||
@ -2829,6 +2832,9 @@ struct tg3 {
|
||||
|
||||
#define SST_25VF0X0_PAGE_SIZE 4098
|
||||
|
||||
unsigned int irq_max;
|
||||
unsigned int irq_cnt;
|
||||
|
||||
struct ethtool_coalesce coal;
|
||||
|
||||
/* firmware info */
|
||||
|
Reference in New Issue
Block a user