diff options
| -rw-r--r-- | drivers/net/can/Kconfig | 5 | ||||
| -rw-r--r-- | net/can/Kconfig | 7 |
2 files changed, 4 insertions, 8 deletions
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig index b56bd9e80957..8088d8fa5611 100644 --- a/drivers/net/can/Kconfig +++ b/drivers/net/can/Kconfig | |||
| @@ -1,9 +1,7 @@ | |||
| 1 | menu "CAN Device Drivers" | 1 | menu "CAN Device Drivers" |
| 2 | depends on CAN | ||
| 3 | 2 | ||
| 4 | config CAN_VCAN | 3 | config CAN_VCAN |
| 5 | tristate "Virtual Local CAN Interface (vcan)" | 4 | tristate "Virtual Local CAN Interface (vcan)" |
| 6 | depends on CAN | ||
| 7 | ---help--- | 5 | ---help--- |
| 8 | Similar to the network loopback devices, vcan offers a | 6 | Similar to the network loopback devices, vcan offers a |
| 9 | virtual local CAN interface. | 7 | virtual local CAN interface. |
| @@ -13,7 +11,6 @@ config CAN_VCAN | |||
| 13 | 11 | ||
| 14 | config CAN_SLCAN | 12 | config CAN_SLCAN |
| 15 | tristate "Serial / USB serial CAN Adaptors (slcan)" | 13 | tristate "Serial / USB serial CAN Adaptors (slcan)" |
| 16 | depends on CAN | ||
| 17 | ---help--- | 14 | ---help--- |
| 18 | CAN driver for several 'low cost' CAN interfaces that are attached | 15 | CAN driver for several 'low cost' CAN interfaces that are attached |
| 19 | via serial lines or via USB-to-serial adapters using the LAWICEL | 16 | via serial lines or via USB-to-serial adapters using the LAWICEL |
| @@ -33,7 +30,6 @@ config CAN_SLCAN | |||
| 33 | 30 | ||
| 34 | config CAN_DEV | 31 | config CAN_DEV |
| 35 | tristate "Platform CAN drivers with Netlink support" | 32 | tristate "Platform CAN drivers with Netlink support" |
| 36 | depends on CAN | ||
| 37 | default y | 33 | default y |
| 38 | ---help--- | 34 | ---help--- |
| 39 | Enables the common framework for platform CAN drivers with Netlink | 35 | Enables the common framework for platform CAN drivers with Netlink |
| @@ -133,7 +129,6 @@ source "drivers/net/can/softing/Kconfig" | |||
| 133 | 129 | ||
| 134 | config CAN_DEBUG_DEVICES | 130 | config CAN_DEBUG_DEVICES |
| 135 | bool "CAN devices debugging messages" | 131 | bool "CAN devices debugging messages" |
| 136 | depends on CAN | ||
| 137 | ---help--- | 132 | ---help--- |
| 138 | Say Y here if you want the CAN device drivers to produce a bunch of | 133 | Say Y here if you want the CAN device drivers to produce a bunch of |
| 139 | debug messages to the system log. Select this if you are having | 134 | debug messages to the system log. Select this if you are having |
diff --git a/net/can/Kconfig b/net/can/Kconfig index 03200699d274..0435fc42ab04 100644 --- a/net/can/Kconfig +++ b/net/can/Kconfig | |||
| @@ -16,9 +16,10 @@ menuconfig CAN | |||
| 16 | If you want CAN support you should say Y here and also to the | 16 | If you want CAN support you should say Y here and also to the |
| 17 | specific driver for your controller(s) below. | 17 | specific driver for your controller(s) below. |
| 18 | 18 | ||
| 19 | if CAN | ||
| 20 | |||
| 19 | config CAN_RAW | 21 | config CAN_RAW |
| 20 | tristate "Raw CAN Protocol (raw access with CAN-ID filtering)" | 22 | tristate "Raw CAN Protocol (raw access with CAN-ID filtering)" |
| 21 | depends on CAN | ||
| 22 | default N | 23 | default N |
| 23 | ---help--- | 24 | ---help--- |
| 24 | The raw CAN protocol option offers access to the CAN bus via | 25 | The raw CAN protocol option offers access to the CAN bus via |
| @@ -29,7 +30,6 @@ config CAN_RAW | |||
| 29 | 30 | ||
| 30 | config CAN_BCM | 31 | config CAN_BCM |
| 31 | tristate "Broadcast Manager CAN Protocol (with content filtering)" | 32 | tristate "Broadcast Manager CAN Protocol (with content filtering)" |
| 32 | depends on CAN | ||
| 33 | default N | 33 | default N |
| 34 | ---help--- | 34 | ---help--- |
| 35 | The Broadcast Manager offers content filtering, timeout monitoring, | 35 | The Broadcast Manager offers content filtering, timeout monitoring, |
| @@ -42,7 +42,6 @@ config CAN_BCM | |||
| 42 | 42 | ||
| 43 | config CAN_GW | 43 | config CAN_GW |
| 44 | tristate "CAN Gateway/Router (with netlink configuration)" | 44 | tristate "CAN Gateway/Router (with netlink configuration)" |
| 45 | depends on CAN | ||
| 46 | default N | 45 | default N |
| 47 | ---help--- | 46 | ---help--- |
| 48 | The CAN Gateway/Router is used to route (and modify) CAN frames. | 47 | The CAN Gateway/Router is used to route (and modify) CAN frames. |
| @@ -53,3 +52,5 @@ config CAN_GW | |||
| 53 | by the netlink configuration interface known e.g. from iptables. | 52 | by the netlink configuration interface known e.g. from iptables. |
| 54 | 53 | ||
| 55 | source "drivers/net/can/Kconfig" | 54 | source "drivers/net/can/Kconfig" |
| 55 | |||
| 56 | endif | ||
