]> Pileus Git - ~andy/linux/blobdiff - drivers/net/ehea/ehea.h
ehea: converting msleeps to waitqueue on check_sqs() function
[~andy/linux] / drivers / net / ehea / ehea.h
index 99a929964e3cebde15667e59d913debd6d205b20..1321cb6401cfc9fd2a68ed0ba524a6fc83c17a32 100644 (file)
@@ -40,7 +40,7 @@
 #include <asm/io.h>
 
 #define DRV_NAME       "ehea"
-#define DRV_VERSION    "EHEA_0105"
+#define DRV_VERSION    "EHEA_0106"
 
 /* eHEA capability flags */
 #define DLPAR_PORT_ADD_REM 1
@@ -400,6 +400,7 @@ struct ehea_port_res {
        u32 poll_counter;
        struct net_lro_mgr lro_mgr;
        struct net_lro_desc lro_desc[MAX_LRO_DESCRIPTORS];
+       int sq_restart_flag;
 };
 
 
@@ -490,6 +491,8 @@ struct ehea_port {
        u8 full_duplex;
        u8 autoneg;
        u8 num_def_qps;
+       wait_queue_head_t swqe_avail_wq;
+       wait_queue_head_t restart_wq;
 };
 
 struct port_res_cfg {