]> git.baikalelectronics.ru Git - kernel.git/commit
ehea: fix wrongly reported speed and port
authorKleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Wed, 4 May 2011 13:05:11 +0000 (13:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2011 18:49:24 +0000 (11:49 -0700)
commit7ea45da25fece1733b8b9e1ea2dae68bb7a8de9e
tree169e1e674371320fa7a59e4c28681df324832c0e
parent4a9c41a250fb369804726f5f2783b5d9cb7357d4
ehea: fix wrongly reported speed and port

Currently EHEA reports to ethtool as supporting 10M, 100M, 1G and
10G and connected to FIBRE independent of the hardware configuration.
However, when connected to FIBRE the only supported speed is 10G
full-duplex, and the other speeds and modes are only supported
when connected to twisted pair.

Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Acked-by: Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ehea/ehea_ethtool.c