|
Lines 680-686
Link Here
|
| 680 |
ifp->if_hwassist = 0; |
680 |
ifp->if_hwassist = 0; |
| 681 |
} |
681 |
} |
| 682 |
|
682 |
|
| 683 |
adapter->timer_handle = timeout(em_local_timer, adapter, 2*hz); |
683 |
adapter->timer_handle = timeout(em_local_timer, adapter, MAINT_TIMER_INTERVAL); |
| 684 |
em_clear_hw_cntrs(&adapter->hw); |
684 |
em_clear_hw_cntrs(&adapter->hw); |
| 685 |
#ifdef DEVICE_POLLING |
685 |
#ifdef DEVICE_POLLING |
| 686 |
/* |
686 |
/* |
|
Lines 719-725
Link Here
|
| 719 |
em_check_for_link(&adapter->hw); |
719 |
em_check_for_link(&adapter->hw); |
| 720 |
em_print_link_status(adapter); |
720 |
em_print_link_status(adapter); |
| 721 |
adapter->timer_handle = timeout(em_local_timer, |
721 |
adapter->timer_handle = timeout(em_local_timer, |
| 722 |
adapter, 2*hz); |
722 |
adapter, MAINT_TIMER_INTERVAL); |
| 723 |
} |
723 |
} |
| 724 |
} |
724 |
} |
| 725 |
if (ifp->if_flags & IFF_RUNNING) { |
725 |
if (ifp->if_flags & IFF_RUNNING) { |
|
Lines 770-776
Link Here
|
| 770 |
em_check_for_link(&adapter->hw); |
770 |
em_check_for_link(&adapter->hw); |
| 771 |
em_print_link_status(adapter); |
771 |
em_print_link_status(adapter); |
| 772 |
adapter->timer_handle = |
772 |
adapter->timer_handle = |
| 773 |
timeout(em_local_timer, adapter, 2*hz); |
773 |
timeout(em_local_timer, adapter, MAINT_TIMER_INTERVAL); |
| 774 |
} |
774 |
} |
| 775 |
|
775 |
|
| 776 |
if (ifp->if_flags & IFF_RUNNING) { |
776 |
if (ifp->if_flags & IFF_RUNNING) { |
|
Lines 1160-1166
Link Here
|
| 1160 |
if (em_display_debug_stats && ifp->if_flags & IFF_RUNNING) { |
1160 |
if (em_display_debug_stats && ifp->if_flags & IFF_RUNNING) { |
| 1161 |
em_print_hw_stats(adapter); |
1161 |
em_print_hw_stats(adapter); |
| 1162 |
} |
1162 |
} |
| 1163 |
adapter->timer_handle = timeout(em_local_timer, adapter, 2*hz); |
1163 |
adapter->timer_handle = timeout(em_local_timer, adapter, |
|
|
1164 |
MAINT_TIMER_INTERVAL); |
| 1164 |
|
1165 |
|
| 1165 |
splx(s); |
1166 |
splx(s); |
| 1166 |
return; |
1167 |
return; |