diff options
| author | Kevin Cernekee <[email protected]> | 2014-11-25 16:49:51 -0800 |
|---|---|---|
| committer | Florian Fainelli <[email protected]> | 2014-11-28 15:44:43 -0800 |
| commit | f80835875d3d1a4764711a90f6cc2669f037f527 (patch) | |
| tree | 7b5cfaf8ac02554e5fda1b0b5e09c02d90108978 /net/switchdev/switchdev.c | |
| parent | 2b53eadcea05b680278f8d078b166e1e295e2a4f (diff) | |
bus: brcmstb_gisb: Look up register offsets in a table
There are at least 4 incompatible variations of this hardware block,
so let's use the ARB_* constants as a table index instead of hardcoding
specific register offsets. Also, allow for the possibility of adding
old devices that are missing some of the registers.
Signed-off-by: Kevin Cernekee <[email protected]>
Signed-off-by: Florian Fainelli <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions