diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2007-12-05 12:10:36 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:06:22 -0500 |
commit | 923dd2a46349bb1bb94aa894b7ff61093618d68a (patch) | |
tree | b27462e645d8f05fb30449ccb956a4adaa5eee04 /arch/cris/arch-v10/drivers/Kconfig | |
parent | a4ffc0a0b240a29cbe489f6db9dae112a49ef1c1 (diff) |
CRIS: Rearrange Kconfigs for v10 and v32 to allow compilation without warnings.
- Remove some unneeded configs and add some new ones.
- Merge common config items to common file instead of duplicating them.
- Pull in standard Kconfig.preempt.
- Remove some unneeded Kconfigs for subsystems not (yet) available on CRIS
(md, scsi, ieee1394, i2o, isdn, telephony, media, pcmcia, pci)
- Rename CRISv32 config items which had different types from CRISv10.
(ETRAX_LED2G, ETRAX_LED2R, ETRAX_LED3G, ETRAX_LED3R, ETRAX_I2C_DATA_PORT,
ETRAX_I2C_CLK_PORT)
Diffstat (limited to 'arch/cris/arch-v10/drivers/Kconfig')
-rw-r--r-- | arch/cris/arch-v10/drivers/Kconfig | 154 |
1 files changed, 0 insertions, 154 deletions
diff --git a/arch/cris/arch-v10/drivers/Kconfig b/arch/cris/arch-v10/drivers/Kconfig index 96740ef497d4..10e9b507c1b3 100644 --- a/arch/cris/arch-v10/drivers/Kconfig +++ b/arch/cris/arch-v10/drivers/Kconfig | |||
@@ -9,37 +9,6 @@ config ETRAX_ETHERNET | |||
9 | This option enables the ETRAX 100LX built-in 10/100Mbit Ethernet | 9 | This option enables the ETRAX 100LX built-in 10/100Mbit Ethernet |
10 | controller. | 10 | controller. |
11 | 11 | ||
12 | choice | ||
13 | prompt "Network LED behavior" | ||
14 | depends on ETRAX_ETHERNET | ||
15 | default ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY | ||
16 | |||
17 | config ETRAX_NETWORK_LED_ON_WHEN_LINK | ||
18 | bool "LED_on_when_link" | ||
19 | help | ||
20 | Selecting LED_on_when_link will light the LED when there is a | ||
21 | connection and will flash off when there is activity. | ||
22 | |||
23 | Selecting LED_on_when_activity will light the LED only when | ||
24 | there is activity. | ||
25 | |||
26 | This setting will also affect the behaviour of other activity LEDs | ||
27 | e.g. Bluetooth. | ||
28 | |||
29 | config ETRAX_NETWORK_LED_ON_WHEN_ACTIVITY | ||
30 | bool "LED_on_when_activity" | ||
31 | help | ||
32 | Selecting LED_on_when_link will light the LED when there is a | ||
33 | connection and will flash off when there is activity. | ||
34 | |||
35 | Selecting LED_on_when_activity will light the LED only when | ||
36 | there is activity. | ||
37 | |||
38 | This setting will also affect the behaviour of other activity LEDs | ||
39 | e.g. Bluetooth. | ||
40 | |||
41 | endchoice | ||
42 | |||
43 | config ETRAX_SERIAL | 12 | config ETRAX_SERIAL |
44 | bool "Serial-port support" | 13 | bool "Serial-port support" |
45 | depends on ETRAX_ARCH_V10 | 14 | depends on ETRAX_ARCH_V10 |
@@ -84,32 +53,6 @@ config ETRAX_SERIAL_PORT0 | |||
84 | the same DMA channels. | 53 | the same DMA channels. |
85 | 54 | ||
86 | choice | 55 | choice |
87 | prompt "Ser0 DMA out assignment" | ||
88 | depends on ETRAX_SERIAL_PORT0 | ||
89 | default ETRAX_SERIAL_PORT0_DMA6_OUT | ||
90 | |||
91 | config ETRAX_SERIAL_PORT0_NO_DMA_OUT | ||
92 | bool "No DMA out" | ||
93 | |||
94 | config ETRAX_SERIAL_PORT0_DMA6_OUT | ||
95 | bool "DMA 6" | ||
96 | |||
97 | endchoice | ||
98 | |||
99 | choice | ||
100 | prompt "Ser0 DMA in assignment" | ||
101 | depends on ETRAX_SERIAL_PORT0 | ||
102 | default ETRAX_SERIAL_PORT0_DMA7_IN | ||
103 | |||
104 | config ETRAX_SERIAL_PORT0_NO_DMA_IN | ||
105 | bool "No DMA in" | ||
106 | |||
107 | config ETRAX_SERIAL_PORT0_DMA7_IN | ||
108 | bool "DMA 7" | ||
109 | |||
110 | endchoice | ||
111 | |||
112 | choice | ||
113 | prompt "Ser0 DTR, RI, DSR and CD assignment" | 56 | prompt "Ser0 DTR, RI, DSR and CD assignment" |
114 | depends on ETRAX_SERIAL_PORT0 | 57 | depends on ETRAX_SERIAL_PORT0 |
115 | default ETRAX_SER0_DTR_RI_DSR_CD_ON_NONE | 58 | default ETRAX_SER0_DTR_RI_DSR_CD_ON_NONE |
@@ -198,32 +141,6 @@ config ETRAX_SERIAL_PORT1 | |||
198 | Enables the ETRAX 100 serial driver for ser1 (ttyS1). | 141 | Enables the ETRAX 100 serial driver for ser1 (ttyS1). |
199 | 142 | ||
200 | choice | 143 | choice |
201 | prompt "Ser1 DMA out assignment" | ||
202 | depends on ETRAX_SERIAL_PORT1 | ||
203 | default ETRAX_SERIAL_PORT1_DMA8_OUT | ||
204 | |||
205 | config ETRAX_SERIAL_PORT1_NO_DMA_OUT | ||
206 | bool "No DMA out" | ||
207 | |||
208 | config ETRAX_SERIAL_PORT1_DMA8_OUT | ||
209 | bool "DMA 8" | ||
210 | |||
211 | endchoice | ||
212 | |||
213 | choice | ||
214 | prompt "Ser1 DMA in assignment" | ||
215 | depends on ETRAX_SERIAL_PORT1 | ||
216 | default ETRAX_SERIAL_PORT1_DMA9_IN | ||
217 | |||
218 | config ETRAX_SERIAL_PORT1_NO_DMA_IN | ||
219 | bool "No DMA in" | ||
220 | |||
221 | config ETRAX_SERIAL_PORT1_DMA9_IN | ||
222 | bool "DMA 9" | ||
223 | |||
224 | endchoice | ||
225 | |||
226 | choice | ||
227 | prompt "Ser1 DTR, RI, DSR and CD assignment" | 144 | prompt "Ser1 DTR, RI, DSR and CD assignment" |
228 | depends on ETRAX_SERIAL_PORT1 | 145 | depends on ETRAX_SERIAL_PORT1 |
229 | default ETRAX_SER1_DTR_RI_DSR_CD_ON_NONE | 146 | default ETRAX_SER1_DTR_RI_DSR_CD_ON_NONE |
@@ -315,32 +232,6 @@ config ETRAX_SERIAL_PORT2 | |||
315 | Enables the ETRAX 100 serial driver for ser2 (ttyS2). | 232 | Enables the ETRAX 100 serial driver for ser2 (ttyS2). |
316 | 233 | ||
317 | choice | 234 | choice |
318 | prompt "Ser2 DMA out assignment" | ||
319 | depends on ETRAX_SERIAL_PORT2 | ||
320 | default ETRAX_SERIAL_PORT2_DMA2_OUT | ||
321 | |||
322 | config ETRAX_SERIAL_PORT2_NO_DMA_OUT | ||
323 | bool "No DMA out" | ||
324 | |||
325 | config ETRAX_SERIAL_PORT2_DMA2_OUT | ||
326 | bool "DMA 2" | ||
327 | |||
328 | endchoice | ||
329 | |||
330 | choice | ||
331 | prompt "Ser2 DMA in assignment" | ||
332 | depends on ETRAX_SERIAL_PORT2 | ||
333 | default ETRAX_SERIAL_PORT2_DMA3_IN | ||
334 | |||
335 | config ETRAX_SERIAL_PORT2_NO_DMA_IN | ||
336 | bool "No DMA in" | ||
337 | |||
338 | config ETRAX_SERIAL_PORT2_DMA3_IN | ||
339 | bool "DMA 3" | ||
340 | |||
341 | endchoice | ||
342 | |||
343 | choice | ||
344 | prompt "Ser2 DTR, RI, DSR and CD assignment" | 235 | prompt "Ser2 DTR, RI, DSR and CD assignment" |
345 | depends on ETRAX_SERIAL_PORT2 | 236 | depends on ETRAX_SERIAL_PORT2 |
346 | default ETRAX_SER2_DTR_RI_DSR_CD_ON_NONE | 237 | default ETRAX_SER2_DTR_RI_DSR_CD_ON_NONE |
@@ -429,32 +320,6 @@ config ETRAX_SERIAL_PORT3 | |||
429 | Enables the ETRAX 100 serial driver for ser3 (ttyS3). | 320 | Enables the ETRAX 100 serial driver for ser3 (ttyS3). |
430 | 321 | ||
431 | choice | 322 | choice |
432 | prompt "Ser3 DMA out assignment" | ||
433 | depends on ETRAX_SERIAL_PORT3 | ||
434 | default ETRAX_SERIAL_PORT3_DMA4_OUT | ||
435 | |||
436 | config ETRAX_SERIAL_PORT3_NO_DMA_OUT | ||
437 | bool "No DMA out" | ||
438 | |||
439 | config ETRAX_SERIAL_PORT3_DMA4_OUT | ||
440 | bool "DMA 4" | ||
441 | |||
442 | endchoice | ||
443 | |||
444 | choice | ||
445 | prompt "Ser3 DMA in assignment" | ||
446 | depends on ETRAX_SERIAL_PORT3 | ||
447 | default ETRAX_SERIAL_PORT3_DMA5_IN | ||
448 | |||
449 | config ETRAX_SERIAL_PORT3_NO_DMA_IN | ||
450 | bool "No DMA in" | ||
451 | |||
452 | config ETRAX_SERIAL_PORT3_DMA5_IN | ||
453 | bool "DMA 5" | ||
454 | |||
455 | endchoice | ||
456 | |||
457 | choice | ||
458 | prompt "Ser3 DTR, RI, DSR and CD assignment" | 323 | prompt "Ser3 DTR, RI, DSR and CD assignment" |
459 | depends on ETRAX_SERIAL_PORT3 | 324 | depends on ETRAX_SERIAL_PORT3 |
460 | default ETRAX_SER3_DTR_RI_DSR_CD_ON_NONE | 325 | default ETRAX_SER3_DTR_RI_DSR_CD_ON_NONE |
@@ -743,25 +608,6 @@ config ETRAX_RTC | |||
743 | normal time reading should be done using libc function time and | 608 | normal time reading should be done using libc function time and |
744 | friends. | 609 | friends. |
745 | 610 | ||
746 | choice | ||
747 | prompt "RTC chip" | ||
748 | depends on ETRAX_RTC | ||
749 | default ETRAX_DS1302 | ||
750 | |||
751 | config ETRAX_DS1302 | ||
752 | bool "DS1302" | ||
753 | help | ||
754 | Enables the driver for the DS1302 Real-Time Clock battery-backed | ||
755 | chip on some products. | ||
756 | |||
757 | config ETRAX_PCF8563 | ||
758 | bool "PCF8563" | ||
759 | help | ||
760 | Enables the driver for the PCF8563 Real-Time Clock battery-backed | ||
761 | chip on some products. | ||
762 | |||
763 | endchoice | ||
764 | |||
765 | config ETRAX_DS1302_RST_ON_GENERIC_PORT | 611 | config ETRAX_DS1302_RST_ON_GENERIC_PORT |
766 | bool "DS1302 RST on Generic Port" | 612 | bool "DS1302 RST on Generic Port" |
767 | depends on ETRAX_DS1302 | 613 | depends on ETRAX_DS1302 |