]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
be2net: fix to set proper flow control on resume
authorAjit Khaparde <ajitk@serverengines.com>
Fri, 6 Nov 2009 02:06:59 +0000 (02:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 04:26:03 +0000 (20:26 -0800)
commit9e90c961134929678022aee0c68b16c1ed520614
treefee2dad0fcbfe8e5168edf9a394ecfa8061cc386
parentbb7b22840141a4fab8f232ee90d30cdf728bb032
be2net: fix to set proper flow control on resume

If be2 goes into suspend after a user changes the flow control settings,
we are not programming them back after resume. This patch takes care of it.
We now get the flow control settings before going to suspend mode and
then apply them during resume.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_ethtool.c
drivers/net/benet/be_main.c