aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can')
-rw-r--r--drivers/net/can/Kconfig21
-rw-r--r--drivers/net/can/c_can/Kconfig2
-rw-r--r--drivers/net/can/cc770/Kconfig2
-rw-r--r--drivers/net/can/mscan/Kconfig2
-rw-r--r--drivers/net/can/sja1000/Kconfig2
-rw-r--r--drivers/net/can/softing/Kconfig2
-rw-r--r--drivers/net/can/usb/Kconfig2
7 files changed, 18 insertions, 15 deletions
diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig
index 8088d8fa5611..0c5a65682d01 100644
--- a/drivers/net/can/Kconfig
+++ b/drivers/net/can/Kconfig
@@ -36,9 +36,10 @@ config CAN_DEV
36 support. This is the standard library for CAN drivers. 36 support. This is the standard library for CAN drivers.
37 If unsure, say Y. 37 If unsure, say Y.
38 38
39if CAN_DEV
40
39config CAN_CALC_BITTIMING 41config CAN_CALC_BITTIMING
40 bool "CAN bit-timing calculation" 42 bool "CAN bit-timing calculation"
41 depends on CAN_DEV
42 default y 43 default y
43 ---help--- 44 ---help---
44 If enabled, CAN bit-timing parameters will be calculated for the 45 If enabled, CAN bit-timing parameters will be calculated for the
@@ -52,13 +53,13 @@ config CAN_CALC_BITTIMING
52 53
53config CAN_AT91 54config CAN_AT91
54 tristate "Atmel AT91 onchip CAN controller" 55 tristate "Atmel AT91 onchip CAN controller"
55 depends on CAN_DEV && (ARCH_AT91SAM9263 || ARCH_AT91SAM9X5) 56 depends on ARCH_AT91SAM9263 || ARCH_AT91SAM9X5
56 ---help--- 57 ---help---
57 This is a driver for the SoC CAN controller in Atmel's AT91SAM9263 58 This is a driver for the SoC CAN controller in Atmel's AT91SAM9263
58 and AT91SAM9X5 processors. 59 and AT91SAM9X5 processors.
59 60
60config CAN_TI_HECC 61config CAN_TI_HECC
61 depends on CAN_DEV && ARCH_OMAP3 62 depends on ARCH_OMAP3
62 tristate "TI High End CAN Controller" 63 tristate "TI High End CAN Controller"
63 ---help--- 64 ---help---
64 Driver for TI HECC (High End CAN Controller) module found on many 65 Driver for TI HECC (High End CAN Controller) module found on many
@@ -66,12 +67,12 @@ config CAN_TI_HECC
66 67
67config CAN_MCP251X 68config CAN_MCP251X
68 tristate "Microchip MCP251x SPI CAN controllers" 69 tristate "Microchip MCP251x SPI CAN controllers"
69 depends on CAN_DEV && SPI && HAS_DMA 70 depends on SPI && HAS_DMA
70 ---help--- 71 ---help---
71 Driver for the Microchip MCP251x SPI CAN controllers. 72 Driver for the Microchip MCP251x SPI CAN controllers.
72 73
73config CAN_BFIN 74config CAN_BFIN
74 depends on CAN_DEV && (BF534 || BF536 || BF537 || BF538 || BF539 || BF54x) 75 depends on BF534 || BF536 || BF537 || BF538 || BF539 || BF54x
75 tristate "Analog Devices Blackfin on-chip CAN" 76 tristate "Analog Devices Blackfin on-chip CAN"
76 ---help--- 77 ---help---
77 Driver for the Analog Devices Blackfin on-chip CAN controllers 78 Driver for the Analog Devices Blackfin on-chip CAN controllers
@@ -81,7 +82,7 @@ config CAN_BFIN
81 82
82config CAN_JANZ_ICAN3 83config CAN_JANZ_ICAN3
83 tristate "Janz VMOD-ICAN3 Intelligent CAN controller" 84 tristate "Janz VMOD-ICAN3 Intelligent CAN controller"
84 depends on CAN_DEV && MFD_JANZ_CMODIO 85 depends on MFD_JANZ_CMODIO
85 ---help--- 86 ---help---
86 Driver for Janz VMOD-ICAN3 Intelligent CAN controller module, which 87 Driver for Janz VMOD-ICAN3 Intelligent CAN controller module, which
87 connects to a MODULbus carrier board. 88 connects to a MODULbus carrier board.
@@ -94,13 +95,13 @@ config HAVE_CAN_FLEXCAN
94 95
95config CAN_FLEXCAN 96config CAN_FLEXCAN
96 tristate "Support for Freescale FLEXCAN based chips" 97 tristate "Support for Freescale FLEXCAN based chips"
97 depends on CAN_DEV && HAVE_CAN_FLEXCAN 98 depends on HAVE_CAN_FLEXCAN
98 ---help--- 99 ---help---
99 Say Y here if you want to support for Freescale FlexCAN. 100 Say Y here if you want to support for Freescale FlexCAN.
100 101
101config PCH_CAN 102config PCH_CAN
102 tristate "Intel EG20T PCH CAN controller" 103 tristate "Intel EG20T PCH CAN controller"
103 depends on CAN_DEV && PCI 104 depends on PCI
104 ---help--- 105 ---help---
105 This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which 106 This driver is for PCH CAN of Topcliff (Intel EG20T PCH) which
106 is an IOH for x86 embedded processor (Intel Atom E6xx series). 107 is an IOH for x86 embedded processor (Intel Atom E6xx series).
@@ -108,7 +109,7 @@ config PCH_CAN
108 109
109config CAN_GRCAN 110config CAN_GRCAN
110 tristate "Aeroflex Gaisler GRCAN and GRHCAN CAN devices" 111 tristate "Aeroflex Gaisler GRCAN and GRHCAN CAN devices"
111 depends on CAN_DEV && OF 112 depends on OF
112 ---help--- 113 ---help---
113 Say Y here if you want to use Aeroflex Gaisler GRCAN or GRHCAN. 114 Say Y here if you want to use Aeroflex Gaisler GRCAN or GRHCAN.
114 Note that the driver supports little endian, even though little 115 Note that the driver supports little endian, even though little
@@ -127,6 +128,8 @@ source "drivers/net/can/usb/Kconfig"
127 128
128source "drivers/net/can/softing/Kconfig" 129source "drivers/net/can/softing/Kconfig"
129 130
131endif
132
130config CAN_DEBUG_DEVICES 133config CAN_DEBUG_DEVICES
131 bool "CAN devices debugging messages" 134 bool "CAN devices debugging messages"
132 ---help--- 135 ---help---
diff --git a/drivers/net/can/c_can/Kconfig b/drivers/net/can/c_can/Kconfig
index 3b83bafcd947..61ffc12d8fd8 100644
--- a/drivers/net/can/c_can/Kconfig
+++ b/drivers/net/can/c_can/Kconfig
@@ -1,6 +1,6 @@
1menuconfig CAN_C_CAN 1menuconfig CAN_C_CAN
2 tristate "Bosch C_CAN/D_CAN devices" 2 tristate "Bosch C_CAN/D_CAN devices"
3 depends on CAN_DEV && HAS_IOMEM 3 depends on HAS_IOMEM
4 4
5if CAN_C_CAN 5if CAN_C_CAN
6 6
diff --git a/drivers/net/can/cc770/Kconfig b/drivers/net/can/cc770/Kconfig
index 22c07a8c8b43..6a9a5ba79220 100644
--- a/drivers/net/can/cc770/Kconfig
+++ b/drivers/net/can/cc770/Kconfig
@@ -1,6 +1,6 @@
1menuconfig CAN_CC770 1menuconfig CAN_CC770
2 tristate "Bosch CC770 and Intel AN82527 devices" 2 tristate "Bosch CC770 and Intel AN82527 devices"
3 depends on CAN_DEV && HAS_IOMEM 3 depends on HAS_IOMEM
4 4
5if CAN_CC770 5if CAN_CC770
6 6
diff --git a/drivers/net/can/mscan/Kconfig b/drivers/net/can/mscan/Kconfig
index d38706958af6..f19be5269e7b 100644
--- a/drivers/net/can/mscan/Kconfig
+++ b/drivers/net/can/mscan/Kconfig
@@ -1,5 +1,5 @@
1config CAN_MSCAN 1config CAN_MSCAN
2 depends on CAN_DEV && (PPC || M68K) 2 depends on PPC || M68K
3 tristate "Support for Freescale MSCAN based chips" 3 tristate "Support for Freescale MSCAN based chips"
4 ---help--- 4 ---help---
5 The Motorola Scalable Controller Area Network (MSCAN) definition 5 The Motorola Scalable Controller Area Network (MSCAN) definition
diff --git a/drivers/net/can/sja1000/Kconfig b/drivers/net/can/sja1000/Kconfig
index 92f73c708a3d..1bed54f1d40e 100644
--- a/drivers/net/can/sja1000/Kconfig
+++ b/drivers/net/can/sja1000/Kconfig
@@ -1,6 +1,6 @@
1menuconfig CAN_SJA1000 1menuconfig CAN_SJA1000
2 tristate "Philips/NXP SJA1000 devices" 2 tristate "Philips/NXP SJA1000 devices"
3 depends on CAN_DEV && HAS_IOMEM 3 depends on HAS_IOMEM
4 4
5if CAN_SJA1000 5if CAN_SJA1000
6 6
diff --git a/drivers/net/can/softing/Kconfig b/drivers/net/can/softing/Kconfig
index 5de46a9a77bb..96b6fe158b5b 100644
--- a/drivers/net/can/softing/Kconfig
+++ b/drivers/net/can/softing/Kconfig
@@ -1,6 +1,6 @@
1config CAN_SOFTING 1config CAN_SOFTING
2 tristate "Softing Gmbh CAN generic support" 2 tristate "Softing Gmbh CAN generic support"
3 depends on CAN_DEV && HAS_IOMEM 3 depends on HAS_IOMEM
4 ---help--- 4 ---help---
5 Support for CAN cards from Softing Gmbh & some cards 5 Support for CAN cards from Softing Gmbh & some cards
6 from Vector Gmbh. 6 from Vector Gmbh.
diff --git a/drivers/net/can/usb/Kconfig b/drivers/net/can/usb/Kconfig
index a4e4bee35710..acba33d1e2b0 100644
--- a/drivers/net/can/usb/Kconfig
+++ b/drivers/net/can/usb/Kconfig
@@ -1,5 +1,5 @@
1menu "CAN USB interfaces" 1menu "CAN USB interfaces"
2 depends on USB && CAN_DEV 2 depends on USB
3 3
4config CAN_EMS_USB 4config CAN_EMS_USB
5 tristate "EMS CPC-USB/ARM7 CAN/USB interface" 5 tristate "EMS CPC-USB/ARM7 CAN/USB interface"