diff options
author | Michael Chan <mchan@broadcom.com> | 2005-11-04 08:53:48 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2005-11-05 21:00:03 -0500 |
commit | f4e418f7f3286f854883f9f7e3bbf7005340d2de (patch) | |
tree | 655a1c3c3ea012e0521b83728034b7a675ae8e5f /drivers/net/a2065.h | |
parent | e3648b3d8de3b37fae7acbb57db1e001a19cd3b7 (diff) |
[PATCH] bnx2: refine bnx2_poll
Refine bnx2_poll() logic to write back the most up-to-date status tag
when all work has been processed. This eliminates some occasional
extra interrupts when a older status tag is written even though all
work has been processed.
The idea is to read the status tag just before exiting bnx2_poll() and
then check again for any new work. If no new work is pending, the
status tag written back will not generate any extra interrupt. This
logic is similar to the changes David Miller did to tg3_poll().
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/a2065.h')
0 files changed, 0 insertions, 0 deletions