cgxb4: Stop using ethtool SPEED_* constants
authorBen Hutchings <ben@decadent.org.uk>
Sun, 23 Feb 2014 00:03:24 +0000 (00:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Feb 2014 00:04:08 +0000 (19:04 -0500)
commite8b39015b591f359d464d026170dcf76f7ed5b8e
tree936c476451d06a592165c0b6509148452f93220e
parent7debf7806e0e984ea7e43cc271dc9400b0dffc14
cgxb4: Stop using ethtool SPEED_* constants

ethtool speed values are just numbers of megabits and there is no need
to add SPEED_40000.  To be consistent, use integer constants directly
for all speeds.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c