summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ltc4151.c
diff options
context:
space:
mode:
authorRasesh Mody <rmody@brocade.com>2012-12-11 12:24:54 +0000
committerDavid S. Miller <davem@davemloft.net>2012-12-11 18:25:51 -0500
commit215a64a25cd483e54d472987426d78694fc46ed0 (patch)
tree2711f45ceb775ebb132b752377aa34e8cd023a6f /drivers/hwmon/ltc4151.c
parent30f9fc947938d483c48011530973903797e8739f (diff)
bna: Add RX State
Change Details: - BNA state machine for Rx in start_wait state moves it to stop_wait on receipt of RX_E_STOP. In Rx stop_wait state, on receipt of RX_E_STARTED event does enet stop RX_E_STOPPED event does rx_cleanup_cbfn rx_cleanup_cbfn in this case is called without post_cbfn. post_cbfn happens only after RX_E_STARTED event is received in start_wait. Without doing post_cbfn, NAPI remains disabled and in cleanup we try to disable again causing endless wait. ifconfig process and other workers can thus get stuck. - Introducing start_stop_wait state for Rx. This state handles the case of if post_cbfn is not done simply do stop without the cleanup. Signed-off-by: Rasesh Mody <rmody@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon/ltc4151.c')
0 files changed, 0 insertions, 0 deletions