Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
net: can: Introduce MEN 16Z192-00 CAN controller driver
This CAN Controller is found on MEN Chameleon FPGAs.
The driver/device supports the CAN2.0 specification.
There are 255 RX and 255 Tx buffer within the IP. The
pointer for the buffer are handled by HW to make the
access from within the driver as simple as possible.
The driver also supports parameters to configure the
buffer level interrupt for RX/TX as well as a RX timeout
interrupt using ethtool.
With this configuration options, the driver/device
provides flexibility for different types of usecases.
Changes in version 2:
Since the hardware does not have TX-done notification,
the local loopback mechanism is implemented using ECHO skbs.
The skb is added to echo stack, upon packet reception,
received and echo skb are matched.
LED trigger support is added.
Changes in version 3:
Fixed compiler warning.
Changes in version 4:
Implemented the module parameters using ethtool coalesce.
Removed LED trigger implementation. Used FIELD_GET and
FIELD_PREP for setting and getting register values. Replaced
some hard-coded values with macros.
Changes in version 5:
Fixed compiler warning.
Signed-off-by: Abhijeet Badurkar <abhijeet.badurkar@duagon.com>- Loading branch information