diff options
author | Rafał Miłecki <[email protected]> | 2021-12-29 18:16:42 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-12-30 17:28:32 -0800 |
commit | af30f8eaa8fe4ff1987280f716309711997bd979 (patch) | |
tree | 20da6fd77b6d221ca28f1df0a65169dfe195e1db /net/unix/sysctl_net_unix.c | |
parent | d6c6d0bb2cb3af91c9c1546af7cdf4770d0df443 (diff) |
net: dsa: bcm_sf2: refactor LED regs access
1. Define more regs. Some switches (e.g. BCM4908) have up to 6 regs.
2. Add helper for handling non-lineral port <-> reg mappings.
3. Add support for 12 B LED reg blocks on BCM4908 (different layout)
Complete support for LEDs setup will be implemented once Linux receives
a proper design & implementation for "hardware" LEDs.
Signed-off-by: Rafał Miłecki <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions