]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Add PCI bus info to ethtool driver query output
authorWong Vee Khee <vee.khee.wong@intel.com>
Wed, 17 Feb 2021 09:57:05 +0000 (17:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2021 22:25:50 +0000 (14:25 -0800)
commitf163d3d7ffbc9c16070910cc90caa5c4d31b77ba
tree9054e5fa327e18c5d6590ec682ab575775eecb69
parentd7c21ab8fc97eccc36ffd160159d840c9bcff9db
net: stmmac: Add PCI bus info to ethtool driver query output

This patch populates the PCI bus info in the ethtool driver query data.

Users will be able to view PCI bus info using 'ethtool -i <interface>'.

Signed-off-by: Wong Vee Khee <vee.khee.wong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
include/linux/stmmac.h