diff options
author | Andreas Larsson <andreas@gaisler.com> | 2012-11-15 02:47:14 -0500 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2012-11-15 14:47:26 -0500 |
commit | 6cec9b07fe6a0c4dfbcdcee7c6283529f087c521 (patch) | |
tree | a7c45d677c49ee428f519bf3ed83865011c12431 /Documentation/ABI/testing/sysfs-class-net-grcan | |
parent | c70edb9e8a30c7bd8eae347b9a7d83984e2b5ae3 (diff) |
can: grcan: Add device driver for GRCAN and GRHCAN cores
This driver supports GRCAN and CRHCAN CAN controllers available in the GRLIB
VHDL IP core library.
Signed-off-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-net-grcan')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-net-grcan | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-net-grcan b/Documentation/ABI/testing/sysfs-class-net-grcan new file mode 100644 index 000000000000..f418c92ca555 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-class-net-grcan | |||
@@ -0,0 +1,35 @@ | |||
1 | |||
2 | What: /sys/class/net/<iface>/grcan/enable0 | ||
3 | Date: October 2012 | ||
4 | KernelVersion: 3.8 | ||
5 | Contact: Andreas Larsson <andreas@gaisler.com> | ||
6 | Description: | ||
7 | Hardware configuration of physical interface 0. This file reads | ||
8 | and writes the "Enable 0" bit of the configuration register. | ||
9 | Possible values: 0 or 1. See the GRCAN chapter of the GRLIB IP | ||
10 | core library documentation for details. The default value is 0 | ||
11 | or set by the module parameter grcan.enable0 and can be read at | ||
12 | /sys/module/grcan/parameters/enable0. | ||
13 | |||
14 | What: /sys/class/net/<iface>/grcan/enable1 | ||
15 | Date: October 2012 | ||
16 | KernelVersion: 3.8 | ||
17 | Contact: Andreas Larsson <andreas@gaisler.com> | ||
18 | Description: | ||
19 | Hardware configuration of physical interface 1. This file reads | ||
20 | and writes the "Enable 1" bit of the configuration register. | ||
21 | Possible values: 0 or 1. See the GRCAN chapter of the GRLIB IP | ||
22 | core library documentation for details. The default value is 0 | ||
23 | or set by the module parameter grcan.enable1 and can be read at | ||
24 | /sys/module/grcan/parameters/enable1. | ||
25 | |||
26 | What: /sys/class/net/<iface>/grcan/select | ||
27 | Date: October 2012 | ||
28 | KernelVersion: 3.8 | ||
29 | Contact: Andreas Larsson <andreas@gaisler.com> | ||
30 | Description: | ||
31 | Configuration of which physical interface to be used. Possible | ||
32 | values: 0 or 1. See the GRCAN chapter of the GRLIB IP core | ||
33 | library documentation for details. The default value is 0 or is | ||
34 | set by the module parameter grcan.select and can be read at | ||
35 | /sys/module/grcan/parameters/select. | ||