diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-03-12 11:41:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-12 17:06:37 -0800 |
commit | 01488a0ccd9abe15565bed50a45afcddbb0fe199 (patch) | |
tree | 7ea402021af0db6a3838673f4c5c01f0423b5dc3 /drivers/net/dsa/bcm_sf2.h | |
parent | 6ad086009f87f65043c2a2c0efa27e3915c50e6e (diff) | |
download | linux-stable-01488a0ccd9abe15565bed50a45afcddbb0fe199.tar.gz linux-stable-01488a0ccd9abe15565bed50a45afcddbb0fe199.tar.bz2 linux-stable-01488a0ccd9abe15565bed50a45afcddbb0fe199.zip |
net: dsa: bcm_sf2: store PHY interface/mode in port structure
It's needed later for proper switch / crossbar setup.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.h')
-rw-r--r-- | drivers/net/dsa/bcm_sf2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/bcm_sf2.h b/drivers/net/dsa/bcm_sf2.h index 1ed901a68536..a0fe0bf46d9f 100644 --- a/drivers/net/dsa/bcm_sf2.h +++ b/drivers/net/dsa/bcm_sf2.h @@ -44,6 +44,7 @@ struct bcm_sf2_hw_params { #define BCM_SF2_REGS_NUM 6 struct bcm_sf2_port_status { + phy_interface_t mode; unsigned int link; bool enabled; }; |