]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd8519e03f1b4e6741a1d4d5b42a9b56e231715e9
tree681df85bc1ea9db6b7756dfbfd6483e532b72b25
parent90e20c22db7c678475ad83a3af2ce257cc0b686a
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