net/freescale: Don't set zero if FW not-available in ucc_geth
Rely on ethtool to properly present the fact that FW is not available for the ucc_geth driver. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
1c944a9c7e
commit
bf5d4c064c
@ -334,7 +334,6 @@ uec_get_drvinfo(struct net_device *netdev,
|
|||||||
struct ethtool_drvinfo *drvinfo)
|
struct ethtool_drvinfo *drvinfo)
|
||||||
{
|
{
|
||||||
strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver));
|
strlcpy(drvinfo->driver, DRV_NAME, sizeof(drvinfo->driver));
|
||||||
strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version));
|
|
||||||
strlcpy(drvinfo->bus_info, "QUICC ENGINE", sizeof(drvinfo->bus_info));
|
strlcpy(drvinfo->bus_info, "QUICC ENGINE", sizeof(drvinfo->bus_info));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user