diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2017-01-20 12:36:29 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-01-22 16:58:31 -0500 |
| commit | a78e86ed586dba0808f765a9498f1fcd803f6ac6 (patch) | |
| tree | 5314cd7aa6e14c527fb7b0bb4a6172047d0caf7b /drivers/net/dsa/b53 | |
| parent | 329b5c58f8b2833f330d64d5a2a1517a0c1e070e (diff) | |
net: dsa: bcm_sf2: Prepare for different register layouts
In preparation for supporting a new device with a slightly different
register layout, affecting the SWITCH_REG and SWITCH_CORE address
spaces, perform a few preparatory steps:
- allow matching the compatible string against a data description
- convert the SWITCH_REG register accesses into an indirection table
- prepare for supporting a SWITCH_CORE register alignment requirement
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/b53')
0 files changed, 0 insertions, 0 deletions
