]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Return flowctrl config through ethtool
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 8 Dec 2011 14:40:17 +0000 (14:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 00:43:48 +0000 (19:43 -0500)
commit401ffc8497e4a6f706bb4b289546551bd7d7748e
tree59ab0e259394d3e67fc68aa11fa3807d43272e5c
parent1a8b01b371f501dd474e78f8a0e80bb4307e14fa
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.

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>
drivers/net/ethernet/broadcom/tg3.c