mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-27 04:22:58 +00:00
bnxt_en: Update to Firmware 1.2.2 spec.
Use new field names in API structs and stop using deprecated fields auto_link_speed and auto_duplex in phy_cfg/phy_qcfg structs. Update copyright year to 2016. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
04c85bfb4f
commit
11f15ed394
@@ -1,6 +1,6 @@
|
||||
/* Broadcom NetXtreme-C/E network driver.
|
||||
*
|
||||
* Copyright (c) 2014-2015 Broadcom Corporation
|
||||
* Copyright (c) 2014-2016 Broadcom Corporation
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@@ -728,7 +728,7 @@ static int bnxt_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
|
||||
ethtool_speed = bnxt_fw_to_ethtool_speed(link_info->link_speed);
|
||||
ethtool_cmd_speed_set(cmd, ethtool_speed);
|
||||
if (link_info->transceiver ==
|
||||
PORT_PHY_QCFG_RESP_TRANSCEIVER_TYPE_XCVR_INTERNAL)
|
||||
PORT_PHY_QCFG_RESP_XCVR_PKG_TYPE_XCVR_INTERNAL)
|
||||
cmd->transceiver = XCVR_INTERNAL;
|
||||
else
|
||||
cmd->transceiver = XCVR_EXTERNAL;
|
||||
|
||||
Reference in New Issue
Block a user