Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update rockchip CAN bus driver #374

Open
wants to merge 7 commits into
base: linux-6.1-stan-rkr1
Choose a base branch
from

Conversation

jhalmen
Copy link

@jhalmen jhalmen commented Oct 30, 2024

The kernel interfaces have changed since the last time the rockchip can driver was touched.

As I need this to work i dug through the kernel history to find the changes that happened and get the driver to compile again.

This has been tested to work on the Rock 5B

this was renamed from get_can_dlc() in 69d9896 ( can: rename
get_can_dlc() macro with can_cc_dlc2len() )

Signed-off-by: Jonathan Halmen <[email protected]>
these were renamed in 3ab4ce0 ( can: rename CAN FD related
can_len2dlc and can_dlc2len helpers )

Signed-off-by: Jonathan Halmen <[email protected]>
support has been deprecated since 30f3b42 ( can: mark led trigger
as broken ) and removed completely since 6c1e423 ( can: can-dev:
remove obsolete CAN LED support )

Signed-off-by: Jonathan Halmen <[email protected]>
this follows from 1dcb6e5 ( can: dev: can_put_echo_skb(): extend to
handle frame_len )

Signed-off-by: Jonathan Halmen <[email protected]>
this follows from 9420e1d ( can: dev: can_get_echo_skb(): extend to
return can frame length )

Signed-off-by: Jonathan Halmen <[email protected]>
this follows from f318482 ( can: dev: can_free_echo_skb(): extend
to return can frame length )

Signed-off-by: Jonathan Halmen <[email protected]>
since commit 58caed3 ( netdev: reshuffle netif_napi_add() APIs to
allow dropping weight ) introduced this API

Signed-off-by: Jonathan Halmen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant