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)
commit20e07e2c3cf310578ef19fb4f1e64dc9832abd9d
tree9054e5fa327e18c5d6590ec682ab575775eecb69
parent41f1a01bb6c678681147f52180a7c20b0e12e137
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