]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Return flowctrl config through ethtool
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 8 Dec 2011 14:40:17 +0000 (14:40 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 02:38:20 +0000 (10:38 +0800)
commit84f0e1568a3001a2bc1f593a1c33517dbb57a238
tree9f1a7bbec9250e05a4282b8fd5b346ab0111cb57
parentafa7eb75d3a786eb4d344e0b617cd26d326d40ae
tg3: Return flowctrl config through ethtool

This patch changes the driver to return the flow control configuration
rather than the flow control status through the ETHTOOL_GPAUSEPARAM
ioctl.

(cherry picked from commit 4a2db503c57f7223d851dc7ab8cefca614e0d98a)
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/tg3.c