e1000e / PCI / PM: Add basic runtime PM support (rev. 4)
[linux-2.6-block.git] / drivers / net / e1000e / e1000.h
index c2ec095d2163980953e0bd4ad464fdb8736a9450..8da190b930a2fd5779004b4a6216a7e149e36253 100644 (file)
@@ -158,6 +158,9 @@ struct e1000_info;
 #define HV_M_STATUS_SPEED_1000            0x0200
 #define HV_M_STATUS_LINK_UP               0x0040
 
+/* Time to wait before putting the device into D3 if there's no link (in ms). */
+#define LINK_TIMEOUT           100
+
 enum e1000_boards {
        board_82571,
        board_82572,
@@ -370,6 +373,8 @@ struct e1000_adapter {
        struct work_struct update_phy_task;
        struct work_struct led_blink_task;
        struct work_struct print_hang_task;
+
+       bool idle_check;
 };
 
 struct e1000_info {