ptp: ocp: parameterize input/output sma selectors
authorJonathan Lemon <jonathan.lemon@gmail.com>
Thu, 19 May 2022 21:21:48 +0000 (14:21 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 May 2022 18:39:54 +0000 (11:39 -0700)
commitaa56a7ffc0fb9ad5f754af79ee91ebe9ec96f28d
tree681df85bc1ea9db6b7756dfbfd6483e532b72b25
parent5a728ac578c07f29d8b36bbd907cdea132c1607d
ptp: ocp: parameterize input/output sma selectors

Group the sma input/output tables together and select the correct
group from the bp information.  This allows adding new groups with
different sma mappings.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_ocp.c