diff options
author | Grygorii Strashko <grygorii.strashko@ti.com> | 2020-09-10 23:28:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-11 17:34:39 -0700 |
commit | 186f5c99b09de8adb8945a19755ce2622b91baf6 (patch) | |
tree | ead8ec559e40e2a20857b5a45b4a030260feb17b /drivers/net/ethernet/ti/cpsw_ale.h | |
parent | net: ethernet: ti: am65-cpsw: use dev_id for ale configuration (diff) | |
download | linux-dev-186f5c99b09de8adb8945a19755ce2622b91baf6.tar.xz linux-dev-186f5c99b09de8adb8945a19755ce2622b91baf6.zip |
net: ethernet: ti: ale: make usage of ale dev_id mandatory
Hence all existing driver updated to use ALE dev_id the usage of ale dev_id
can be made mandatory and cpsw_ale_create() can be updated to use
"features" property from ALE static configuration.
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/cpsw_ale.h')
-rw-r--r-- | drivers/net/ethernet/ti/cpsw_ale.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw_ale.h b/drivers/net/ethernet/ti/cpsw_ale.h index 53ad4246617e..27b30802b384 100644 --- a/drivers/net/ethernet/ti/cpsw_ale.h +++ b/drivers/net/ethernet/ti/cpsw_ale.h @@ -32,6 +32,7 @@ struct cpsw_ale { struct timer_list timer; unsigned long ageout; u32 version; + u32 features; /* These bits are different on NetCP NU Switch ALE */ u32 port_mask_bits; u32 port_num_bits; |