]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/tg3.h
tg3: Add support code around kernel interrupt API
[net-next-2.6.git] / drivers / net / tg3.h
index 626b96805c3ed1b9a164d90444e256beec0e1cc9..a78a0db15a71946c8f601341d4a38885fabda82b 100644 (file)
@@ -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 */