04 Nov, 2020

1 commit

  • The help text for the CAN_ISOTP config symbol uses the acronym "PDU". However,
    this acronym is not explained here, nor in Documentation/networking/can.rst.

    Expand the acronym to make it easier for users to decide if they need to enable
    the CAN_ISOTP option or not.

    Signed-off-by: Geert Uytterhoeven
    Link: https://lore.kernel.org/r/20201013141341.28487-1-geert+renesas@glider.be
    Acked-by: Oliver Hartkopp
    Signed-off-by: Marc Kleine-Budde

    Geert Uytterhoeven
     

12 Oct, 2020

1 commit

  • As pointed out by Jakub Kicinski here:
    http://lore.kernel.org/r/20201009175751.5c54097f@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com
    this patch addresses the remarked issues:

    - remove empty line in comment
    - remove default=y for CAN_ISOTP in Kconfig
    - make use of pr_notice_once()
    - use GFP_ATOMIC instead of gfp_any() in soft hrtimer context

    The version strings in the CAN subsystem are removed by a separate patch.

    Signed-off-by: Oliver Hartkopp
    Link: https://lore.kernel.org/r/20201012074354.25839-1-socketcan@hartkopp.net
    Signed-off-by: Marc Kleine-Budde

    Oliver Hartkopp
     

08 Oct, 2020

1 commit

  • CAN Transport Protocols offer support for segmented Point-to-Point
    communication between CAN nodes via two defined CAN Identifiers.
    As CAN frames can only transport a small amount of data bytes
    (max. 8 bytes for 'classic' CAN and max. 64 bytes for CAN FD) this
    segmentation is needed to transport longer PDUs as needed e.g. for
    vehicle diagnosis (UDS, ISO 14229) or IP-over-CAN traffic.
    This protocol driver implements data transfers according to
    ISO 15765-2:2016 for 'classic' CAN and CAN FD frame types.

    Signed-off-by: Oliver Hartkopp
    Link: https://lore.kernel.org/r/20200928200404.82229-1-socketcan@hartkopp.net
    [mkl: Removed "WITH Linux-syscall-note" from isotp.c.
    Fixed indention, a checkpatch warning and typos.
    Replaced __u{8,32} by u{8,32}.
    Removed always false (optlen < 0) check in isotp_setsockopt().]
    Signed-off-by: Marc Kleine-Budde

    Oliver Hartkopp
     

14 Jun, 2020

1 commit

  • Since commit 84af7a6194e4 ("checkpatch: kconfig: prefer 'help' over
    '---help---'"), the number of '---help---' has been gradually
    decreasing, but there are still more than 2400 instances.

    This commit finishes the conversion. While I touched the lines,
    I also fixed the indentation.

    There are a variety of indentation styles found.

    a) 4 spaces + '---help---'
    b) 7 spaces + '---help---'
    c) 8 spaces + '---help---'
    d) 1 space + 1 tab + '---help---'
    e) 1 tab + '---help---' (correct indentation)
    f) 1 tab + 1 space + '---help---'
    g) 1 tab + 2 spaces + '---help---'

    In order to convert all of them to 1 tab + 'help', I ran the
    following commend:

    $ find . -name 'Kconfig*' | xargs sed -i 's/^[[:space:]]*---help---/\thelp/'

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

04 Sep, 2019

1 commit

  • SAE J1939 is the vehicle bus recommended practice used for communication
    and diagnostics among vehicle components. Originating in the car and
    heavy-duty truck industry in the United States, it is now widely used in
    other parts of the world.

    J1939, ISO 11783 and NMEA 2000 all share the same high level protocol.
    SAE J1939 can be considered the replacement for the older SAE J1708 and
    SAE J1587 specifications.

    Acked-by: Oliver Hartkopp
    Signed-off-by: Bastian Stender
    Signed-off-by: Elenita Hinds
    Signed-off-by: kbuild test robot
    Signed-off-by: Kurt Van Dijck
    Signed-off-by: Maxime Jayat
    Signed-off-by: Robin van der Gracht
    Signed-off-by: Oleksij Rempel
    Signed-off-by: Marc Kleine-Budde

    The j1939 authors
     

24 Jul, 2019

1 commit


21 May, 2019

1 commit


26 Jan, 2018

1 commit

  • The kernel documentation is now restructured text. Convert the SocketCAN
    documentation and include it in the toplevel kernel documentation.

    This patch doesn't do any content change.

    All references to can.txt in the code are converted to can.rst.

    Signed-off-by: Robert Schwebel
    Signed-off-by: Marc Kleine-Budde

    Robert Schwebel
     

26 Jan, 2013

2 commits


17 Sep, 2011

1 commit

  • This patch adds a CAN Gateway/Router to route (and modify) CAN frames.

    It is based on the PF_CAN core infrastructure for msg filtering and msg
    sending and can optionally modify routed CAN frames on the fly.
    CAN frames can *only* be routed between CAN network interfaces (one hop).
    They can be modified with AND/OR/XOR/SET operations as configured by the
    netlink configuration interface known e.g. from iptables. From the netlink
    view this can-gw implements RTM_{NEW|DEL|GET}ROUTE for PF_CAN.

    The CAN specific userspace tool to manage CAN routing entries can be found in
    the CAN utils http://svn.berlios.de/wsvn/socketcan/trunk/can-utils/cangw.c
    at the SocketCAN SVN on BerliOS.

    Signed-off-by: Oliver Hartkopp
    Signed-off-by: David S. Miller

    Oliver Hartkopp
     

29 Jan, 2008

4 commits