summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorHayes Wang <hayeswang@realtek.com>2011-07-06 15:58:03 +0800
committerFrancois Romieu <romieu@fr.zoreil.com>2011-07-14 23:22:22 +0200
commit92fc43b4159b518f5baae57301f26d770b0834c9 (patch)
treefa2a785a90e3d5d0aada24cf0672d2c516db38b6 /tools/perf/util/scripting-engines/trace-event-perl.c
parent4f6b00e5f139d7be3ca8371b769778f94fa549dd (diff)
r8169: modify the flow of the hw reset.
- Disable tx and rx by resetting hw, so replace rtl8169_asic_down with rtl8169_hw_reset. - RxConfig bits 0 ~ 5 have to be cleared before hw reset to avoid receiving spurious data. - Certain chips need to do some checking before reset. - Remove hw reset which is done before hw_start. It is done in close, down or device probe functions. - Move rtl8169_init_ring_indexes function into rtl_hw_reset function. The indexes of tx and rx only need to be zero when the hw resets. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions