diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-08-07 04:55:03 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-08-07 04:55:03 -0400 |
commit | 4fb8af10d0fd09372d52966b76922b9e82bbc950 (patch) | |
tree | d240e4d40357583e3f3eb228dccf20122a5b31ed /arch/arm | |
parent | f44f82e8a20b98558486eb14497b2f71c78fa325 (diff) | |
parent | 64a99d2a8c3ed5c4e39f3ae1cc682aa8fd3977fc (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
Diffstat (limited to 'arch/arm')
37 files changed, 76 insertions, 49 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c8f528284a94..4b8acd2851f4 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -17,6 +17,7 @@ config ARM | |||
17 | select HAVE_KRETPROBES if (HAVE_KPROBES) | 17 | select HAVE_KRETPROBES if (HAVE_KPROBES) |
18 | select HAVE_FTRACE if (!XIP_KERNEL) | 18 | select HAVE_FTRACE if (!XIP_KERNEL) |
19 | select HAVE_DYNAMIC_FTRACE if (HAVE_FTRACE) | 19 | select HAVE_DYNAMIC_FTRACE if (HAVE_FTRACE) |
20 | select HAVE_GENERIC_DMA_COHERENT | ||
20 | help | 21 | help |
21 | The ARM series is a line of low-power-consumption RISC chip designs | 22 | The ARM series is a line of low-power-consumption RISC chip designs |
22 | licensed by ARM Ltd and targeted at embedded applications and | 23 | licensed by ARM Ltd and targeted at embedded applications and |
@@ -234,6 +235,7 @@ config ARCH_VERSATILE | |||
234 | config ARCH_AT91 | 235 | config ARCH_AT91 |
235 | bool "Atmel AT91" | 236 | bool "Atmel AT91" |
236 | select GENERIC_GPIO | 237 | select GENERIC_GPIO |
238 | select HAVE_CLK | ||
237 | help | 239 | help |
238 | This enables support for systems based on the Atmel AT91RM9200, | 240 | This enables support for systems based on the Atmel AT91RM9200, |
239 | AT91SAM9 and AT91CAP9 processors. | 241 | AT91SAM9 and AT91CAP9 processors. |
@@ -267,7 +269,6 @@ config ARCH_EP93XX | |||
267 | select ARM_VIC | 269 | select ARM_VIC |
268 | select GENERIC_GPIO | 270 | select GENERIC_GPIO |
269 | select HAVE_CLK | 271 | select HAVE_CLK |
270 | select HAVE_CLK | ||
271 | select ARCH_REQUIRE_GPIOLIB | 272 | select ARCH_REQUIRE_GPIOLIB |
272 | help | 273 | help |
273 | This enables support for the Cirrus EP93xx series of CPUs. | 274 | This enables support for the Cirrus EP93xx series of CPUs. |
@@ -1224,6 +1225,8 @@ source "drivers/dma/Kconfig" | |||
1224 | 1225 | ||
1225 | source "drivers/dca/Kconfig" | 1226 | source "drivers/dca/Kconfig" |
1226 | 1227 | ||
1228 | source "drivers/regulator/Kconfig" | ||
1229 | |||
1227 | source "drivers/uio/Kconfig" | 1230 | source "drivers/uio/Kconfig" |
1228 | 1231 | ||
1229 | endmenu | 1232 | endmenu |
diff --git a/arch/arm/configs/at91cap9adk_defconfig b/arch/arm/configs/at91cap9adk_defconfig index be2b2f38fd94..bf97801a1068 100644 --- a/arch/arm/configs/at91cap9adk_defconfig +++ b/arch/arm/configs/at91cap9adk_defconfig | |||
@@ -170,7 +170,7 @@ CONFIG_MACH_AT91CAP9ADK=y | |||
170 | # AT91 Board Options | 170 | # AT91 Board Options |
171 | # | 171 | # |
172 | CONFIG_MTD_AT91_DATAFLASH_CARD=y | 172 | CONFIG_MTD_AT91_DATAFLASH_CARD=y |
173 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | 173 | # CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16 is not set |
174 | 174 | ||
175 | # | 175 | # |
176 | # AT91 Feature Selections | 176 | # AT91 Feature Selections |
@@ -442,7 +442,7 @@ CONFIG_MTD_NAND=y | |||
442 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 442 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
443 | CONFIG_MTD_NAND_IDS=y | 443 | CONFIG_MTD_NAND_IDS=y |
444 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 444 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
445 | CONFIG_MTD_NAND_AT91=y | 445 | CONFIG_MTD_NAND_ATMEL=y |
446 | # CONFIG_MTD_NAND_NANDSIM is not set | 446 | # CONFIG_MTD_NAND_NANDSIM is not set |
447 | # CONFIG_MTD_NAND_PLATFORM is not set | 447 | # CONFIG_MTD_NAND_PLATFORM is not set |
448 | # CONFIG_MTD_ALAUDA is not set | 448 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/at91sam9260ek_defconfig b/arch/arm/configs/at91sam9260ek_defconfig index 2011adfa6758..38e6a0abeb4e 100644 --- a/arch/arm/configs/at91sam9260ek_defconfig +++ b/arch/arm/configs/at91sam9260ek_defconfig | |||
@@ -176,7 +176,7 @@ CONFIG_MACH_AT91SAM9260EK=y | |||
176 | # AT91 Board Options | 176 | # AT91 Board Options |
177 | # | 177 | # |
178 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set | 178 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set |
179 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | 179 | # CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16 is not set |
180 | 180 | ||
181 | # | 181 | # |
182 | # AT91 Feature Selections | 182 | # AT91 Feature Selections |
diff --git a/arch/arm/configs/at91sam9261ek_defconfig b/arch/arm/configs/at91sam9261ek_defconfig index 4049768962d2..93b779f94b41 100644 --- a/arch/arm/configs/at91sam9261ek_defconfig +++ b/arch/arm/configs/at91sam9261ek_defconfig | |||
@@ -169,7 +169,7 @@ CONFIG_MACH_AT91SAM9261EK=y | |||
169 | # AT91 Board Options | 169 | # AT91 Board Options |
170 | # | 170 | # |
171 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set | 171 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set |
172 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | 172 | # CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16 is not set |
173 | 173 | ||
174 | # | 174 | # |
175 | # AT91 Feature Selections | 175 | # AT91 Feature Selections |
@@ -433,7 +433,7 @@ CONFIG_MTD_NAND=y | |||
433 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 433 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
434 | CONFIG_MTD_NAND_IDS=y | 434 | CONFIG_MTD_NAND_IDS=y |
435 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 435 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
436 | CONFIG_MTD_NAND_AT91=y | 436 | CONFIG_MTD_NAND_ATMEL=y |
437 | # CONFIG_MTD_NAND_NANDSIM is not set | 437 | # CONFIG_MTD_NAND_NANDSIM is not set |
438 | # CONFIG_MTD_NAND_PLATFORM is not set | 438 | # CONFIG_MTD_NAND_PLATFORM is not set |
439 | # CONFIG_MTD_ALAUDA is not set | 439 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/at91sam9263ek_defconfig b/arch/arm/configs/at91sam9263ek_defconfig index fa1c5aecb5a8..a7ddd94363ca 100644 --- a/arch/arm/configs/at91sam9263ek_defconfig +++ b/arch/arm/configs/at91sam9263ek_defconfig | |||
@@ -169,7 +169,7 @@ CONFIG_MACH_AT91SAM9263EK=y | |||
169 | # AT91 Board Options | 169 | # AT91 Board Options |
170 | # | 170 | # |
171 | CONFIG_MTD_AT91_DATAFLASH_CARD=y | 171 | CONFIG_MTD_AT91_DATAFLASH_CARD=y |
172 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | 172 | # CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16 is not set |
173 | 173 | ||
174 | # | 174 | # |
175 | # AT91 Feature Selections | 175 | # AT91 Feature Selections |
@@ -428,7 +428,7 @@ CONFIG_MTD_NAND=y | |||
428 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 428 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
429 | CONFIG_MTD_NAND_IDS=y | 429 | CONFIG_MTD_NAND_IDS=y |
430 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 430 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
431 | CONFIG_MTD_NAND_AT91=y | 431 | CONFIG_MTD_NAND_ATMEL=y |
432 | # CONFIG_MTD_NAND_NANDSIM is not set | 432 | # CONFIG_MTD_NAND_NANDSIM is not set |
433 | # CONFIG_MTD_NAND_PLATFORM is not set | 433 | # CONFIG_MTD_NAND_PLATFORM is not set |
434 | # CONFIG_MTD_ALAUDA is not set | 434 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/at91sam9g20ek_defconfig b/arch/arm/configs/at91sam9g20ek_defconfig index c06863847364..df0d6ee672b3 100644 --- a/arch/arm/configs/at91sam9g20ek_defconfig +++ b/arch/arm/configs/at91sam9g20ek_defconfig | |||
@@ -168,7 +168,7 @@ CONFIG_MACH_AT91SAM9G20EK=y | |||
168 | # AT91 Board Options | 168 | # AT91 Board Options |
169 | # | 169 | # |
170 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set | 170 | # CONFIG_MTD_AT91_DATAFLASH_CARD is not set |
171 | # CONFIG_MTD_NAND_AT91_BUSWIDTH_16 is not set | 171 | # CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16 is not set |
172 | 172 | ||
173 | # | 173 | # |
174 | # AT91 Feature Selections | 174 | # AT91 Feature Selections |
@@ -442,10 +442,10 @@ CONFIG_MTD_NAND=y | |||
442 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 442 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
443 | CONFIG_MTD_NAND_IDS=y | 443 | CONFIG_MTD_NAND_IDS=y |
444 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 444 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
445 | CONFIG_MTD_NAND_AT91=y | 445 | CONFIG_MTD_NAND_ATMEL=y |
446 | CONFIG_MTD_NAND_AT91_ECC_SOFT=y | 446 | CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y |
447 | # CONFIG_MTD_NAND_AT91_ECC_HW is not set | 447 | # CONFIG_MTD_NAND_ATMEL_ECC_HW is not set |
448 | # CONFIG_MTD_NAND_AT91_ECC_NONE is not set | 448 | # CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set |
449 | # CONFIG_MTD_NAND_NANDSIM is not set | 449 | # CONFIG_MTD_NAND_NANDSIM is not set |
450 | # CONFIG_MTD_NAND_PLATFORM is not set | 450 | # CONFIG_MTD_NAND_PLATFORM is not set |
451 | # CONFIG_MTD_ALAUDA is not set | 451 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/at91sam9rlek_defconfig b/arch/arm/configs/at91sam9rlek_defconfig index d8ec5f9ca6ec..1c76642272a1 100644 --- a/arch/arm/configs/at91sam9rlek_defconfig +++ b/arch/arm/configs/at91sam9rlek_defconfig | |||
@@ -392,7 +392,7 @@ CONFIG_MTD_NAND=y | |||
392 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 392 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
393 | CONFIG_MTD_NAND_IDS=y | 393 | CONFIG_MTD_NAND_IDS=y |
394 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 394 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
395 | CONFIG_MTD_NAND_AT91=y | 395 | CONFIG_MTD_NAND_ATMEL=y |
396 | # CONFIG_MTD_NAND_NANDSIM is not set | 396 | # CONFIG_MTD_NAND_NANDSIM is not set |
397 | # CONFIG_MTD_NAND_PLATFORM is not set | 397 | # CONFIG_MTD_NAND_PLATFORM is not set |
398 | # CONFIG_MTD_ONENAND is not set | 398 | # CONFIG_MTD_ONENAND is not set |
diff --git a/arch/arm/configs/cam60_defconfig b/arch/arm/configs/cam60_defconfig index f3cd4a95373a..f945105d6cd6 100644 --- a/arch/arm/configs/cam60_defconfig +++ b/arch/arm/configs/cam60_defconfig | |||
@@ -466,10 +466,10 @@ CONFIG_MTD_NAND_VERIFY_WRITE=y | |||
466 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 466 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
467 | CONFIG_MTD_NAND_IDS=y | 467 | CONFIG_MTD_NAND_IDS=y |
468 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 468 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
469 | CONFIG_MTD_NAND_AT91=y | 469 | CONFIG_MTD_NAND_ATMEL=y |
470 | # CONFIG_MTD_NAND_AT91_ECC_SOFT is not set | 470 | # CONFIG_MTD_NAND_ATMEL_ECC_SOFT is not set |
471 | CONFIG_MTD_NAND_AT91_ECC_HW=y | 471 | CONFIG_MTD_NAND_ATMEL_ECC_HW=y |
472 | # CONFIG_MTD_NAND_AT91_ECC_NONE is not set | 472 | # CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set |
473 | # CONFIG_MTD_NAND_NANDSIM is not set | 473 | # CONFIG_MTD_NAND_NANDSIM is not set |
474 | # CONFIG_MTD_NAND_PLATFORM is not set | 474 | # CONFIG_MTD_NAND_PLATFORM is not set |
475 | # CONFIG_MTD_ALAUDA is not set | 475 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/qil-a9260_defconfig b/arch/arm/configs/qil-a9260_defconfig index ef903bed061e..5cbd81589647 100644 --- a/arch/arm/configs/qil-a9260_defconfig +++ b/arch/arm/configs/qil-a9260_defconfig | |||
@@ -458,10 +458,10 @@ CONFIG_MTD_NAND=y | |||
458 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 458 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
459 | CONFIG_MTD_NAND_IDS=y | 459 | CONFIG_MTD_NAND_IDS=y |
460 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 460 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
461 | CONFIG_MTD_NAND_AT91=y | 461 | CONFIG_MTD_NAND_ATMEL=y |
462 | CONFIG_MTD_NAND_AT91_ECC_SOFT=y | 462 | CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y |
463 | # CONFIG_MTD_NAND_AT91_ECC_HW is not set | 463 | # CONFIG_MTD_NAND_ATMEL_ECC_HW is not set |
464 | # CONFIG_MTD_NAND_AT91_ECC_NONE is not set | 464 | # CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set |
465 | # CONFIG_MTD_NAND_NANDSIM is not set | 465 | # CONFIG_MTD_NAND_NANDSIM is not set |
466 | # CONFIG_MTD_NAND_PLATFORM is not set | 466 | # CONFIG_MTD_NAND_PLATFORM is not set |
467 | # CONFIG_MTD_ALAUDA is not set | 467 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/sam9_l9260_defconfig b/arch/arm/configs/sam9_l9260_defconfig index 8688362bcf7b..1174e2764875 100644 --- a/arch/arm/configs/sam9_l9260_defconfig +++ b/arch/arm/configs/sam9_l9260_defconfig | |||
@@ -429,7 +429,7 @@ CONFIG_MTD_NAND=y | |||
429 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 429 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
430 | CONFIG_MTD_NAND_IDS=y | 430 | CONFIG_MTD_NAND_IDS=y |
431 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 431 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
432 | CONFIG_MTD_NAND_AT91=y | 432 | CONFIG_MTD_NAND_ATMEL=y |
433 | # CONFIG_MTD_NAND_NANDSIM is not set | 433 | # CONFIG_MTD_NAND_NANDSIM is not set |
434 | CONFIG_MTD_NAND_PLATFORM=y | 434 | CONFIG_MTD_NAND_PLATFORM=y |
435 | # CONFIG_MTD_ONENAND is not set | 435 | # CONFIG_MTD_ONENAND is not set |
diff --git a/arch/arm/configs/usb-a9260_defconfig b/arch/arm/configs/usb-a9260_defconfig index 3680bd2df26d..fcb4aaabd439 100644 --- a/arch/arm/configs/usb-a9260_defconfig +++ b/arch/arm/configs/usb-a9260_defconfig | |||
@@ -458,10 +458,10 @@ CONFIG_MTD_NAND=y | |||
458 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 458 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
459 | CONFIG_MTD_NAND_IDS=y | 459 | CONFIG_MTD_NAND_IDS=y |
460 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 460 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
461 | CONFIG_MTD_NAND_AT91=y | 461 | CONFIG_MTD_NAND_ATMEL=y |
462 | CONFIG_MTD_NAND_AT91_ECC_SOFT=y | 462 | CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y |
463 | # CONFIG_MTD_NAND_AT91_ECC_HW is not set | 463 | # CONFIG_MTD_NAND_ATMEL_ECC_HW is not set |
464 | # CONFIG_MTD_NAND_AT91_ECC_NONE is not set | 464 | # CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set |
465 | # CONFIG_MTD_NAND_NANDSIM is not set | 465 | # CONFIG_MTD_NAND_NANDSIM is not set |
466 | # CONFIG_MTD_NAND_PLATFORM is not set | 466 | # CONFIG_MTD_NAND_PLATFORM is not set |
467 | # CONFIG_MTD_ALAUDA is not set | 467 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/usb-a9263_defconfig b/arch/arm/configs/usb-a9263_defconfig index 48d455bc7363..b786e0407e8e 100644 --- a/arch/arm/configs/usb-a9263_defconfig +++ b/arch/arm/configs/usb-a9263_defconfig | |||
@@ -450,10 +450,10 @@ CONFIG_MTD_NAND=y | |||
450 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 450 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
451 | CONFIG_MTD_NAND_IDS=y | 451 | CONFIG_MTD_NAND_IDS=y |
452 | # CONFIG_MTD_NAND_DISKONCHIP is not set | 452 | # CONFIG_MTD_NAND_DISKONCHIP is not set |
453 | CONFIG_MTD_NAND_AT91=y | 453 | CONFIG_MTD_NAND_ATMEL=y |
454 | CONFIG_MTD_NAND_AT91_ECC_SOFT=y | 454 | CONFIG_MTD_NAND_ATMEL_ECC_SOFT=y |
455 | # CONFIG_MTD_NAND_AT91_ECC_HW is not set | 455 | # CONFIG_MTD_NAND_ATMEL_ECC_HW is not set |
456 | # CONFIG_MTD_NAND_AT91_ECC_NONE is not set | 456 | # CONFIG_MTD_NAND_ATMEL_ECC_NONE is not set |
457 | # CONFIG_MTD_NAND_NANDSIM is not set | 457 | # CONFIG_MTD_NAND_NANDSIM is not set |
458 | # CONFIG_MTD_NAND_PLATFORM is not set | 458 | # CONFIG_MTD_NAND_PLATFORM is not set |
459 | # CONFIG_MTD_ALAUDA is not set | 459 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/configs/yl9200_defconfig b/arch/arm/configs/yl9200_defconfig index 26de37f74686..a9f41c24c9dc 100644 --- a/arch/arm/configs/yl9200_defconfig +++ b/arch/arm/configs/yl9200_defconfig | |||
@@ -421,7 +421,7 @@ CONFIG_MTD_NAND=y | |||
421 | # CONFIG_MTD_NAND_ECC_SMC is not set | 421 | # CONFIG_MTD_NAND_ECC_SMC is not set |
422 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | 422 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set |
423 | CONFIG_MTD_NAND_IDS=y | 423 | CONFIG_MTD_NAND_IDS=y |
424 | CONFIG_MTD_NAND_AT91=y | 424 | CONFIG_MTD_NAND_ATMEL=y |
425 | # CONFIG_MTD_NAND_NANDSIM is not set | 425 | # CONFIG_MTD_NAND_NANDSIM is not set |
426 | CONFIG_MTD_NAND_PLATFORM=y | 426 | CONFIG_MTD_NAND_PLATFORM=y |
427 | # CONFIG_MTD_ALAUDA is not set | 427 | # CONFIG_MTD_ALAUDA is not set |
diff --git a/arch/arm/include/asm/dma-mapping.h b/arch/arm/include/asm/dma-mapping.h index f41335ba6337..45329fca1b64 100644 --- a/arch/arm/include/asm/dma-mapping.h +++ b/arch/arm/include/asm/dma-mapping.h | |||
@@ -7,6 +7,8 @@ | |||
7 | 7 | ||
8 | #include <linux/scatterlist.h> | 8 | #include <linux/scatterlist.h> |
9 | 9 | ||
10 | #include <asm-generic/dma-coherent.h> | ||
11 | |||
10 | /* | 12 | /* |
11 | * DMA-consistent mapping functions. These allocate/free a region of | 13 | * DMA-consistent mapping functions. These allocate/free a region of |
12 | * uncached, unwrite-buffered mapped memory space for use with DMA | 14 | * uncached, unwrite-buffered mapped memory space for use with DMA |
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 5bad6b9b00d7..a048b92cb407 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig | |||
@@ -297,7 +297,7 @@ config MTD_AT91_DATAFLASH_CARD | |||
297 | help | 297 | help |
298 | Enable support for the DataFlash card. | 298 | Enable support for the DataFlash card. |
299 | 299 | ||
300 | config MTD_NAND_AT91_BUSWIDTH_16 | 300 | config MTD_NAND_ATMEL_BUSWIDTH_16 |
301 | bool "Enable 16-bit data bus interface to NAND flash" | 301 | bool "Enable 16-bit data bus interface to NAND flash" |
302 | depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91CAP9ADK) | 302 | depends on (MACH_AT91SAM9260EK || MACH_AT91SAM9261EK || MACH_AT91SAM9263EK || MACH_AT91SAM9G20EK || MACH_AT91CAP9ADK) |
303 | help | 303 | help |
diff --git a/arch/arm/mach-at91/at91cap9_devices.c b/arch/arm/mach-at91/at91cap9_devices.c index dc8b40783d94..25765f1afca9 100644 --- a/arch/arm/mach-at91/at91cap9_devices.c +++ b/arch/arm/mach-at91/at91cap9_devices.c | |||
@@ -376,7 +376,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
376 | * NAND / SmartMedia | 376 | * NAND / SmartMedia |
377 | * -------------------------------------------------------------------- */ | 377 | * -------------------------------------------------------------------- */ |
378 | 378 | ||
379 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 379 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
380 | static struct atmel_nand_data nand_data; | 380 | static struct atmel_nand_data nand_data; |
381 | 381 | ||
382 | #define NAND_BASE AT91_CHIPSELECT_3 | 382 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/at91rm9200_devices.c b/arch/arm/mach-at91/at91rm9200_devices.c index 8ced9bc82099..d2c5c84bf6b8 100644 --- a/arch/arm/mach-at91/at91rm9200_devices.c +++ b/arch/arm/mach-at91/at91rm9200_devices.c | |||
@@ -368,7 +368,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
368 | * NAND / SmartMedia | 368 | * NAND / SmartMedia |
369 | * -------------------------------------------------------------------- */ | 369 | * -------------------------------------------------------------------- */ |
370 | 370 | ||
371 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 371 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
372 | static struct atmel_nand_data nand_data; | 372 | static struct atmel_nand_data nand_data; |
373 | 373 | ||
374 | #define NAND_BASE AT91_CHIPSELECT_3 | 374 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/at91sam9260_devices.c b/arch/arm/mach-at91/at91sam9260_devices.c index cae5f52f1278..f5fec0a9cf49 100644 --- a/arch/arm/mach-at91/at91sam9260_devices.c +++ b/arch/arm/mach-at91/at91sam9260_devices.c | |||
@@ -283,7 +283,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
283 | * NAND / SmartMedia | 283 | * NAND / SmartMedia |
284 | * -------------------------------------------------------------------- */ | 284 | * -------------------------------------------------------------------- */ |
285 | 285 | ||
286 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 286 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
287 | static struct atmel_nand_data nand_data; | 287 | static struct atmel_nand_data nand_data; |
288 | 288 | ||
289 | #define NAND_BASE AT91_CHIPSELECT_3 | 289 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/at91sam9261_devices.c b/arch/arm/mach-at91/at91sam9261_devices.c index 483d436af22d..b80860e31383 100644 --- a/arch/arm/mach-at91/at91sam9261_devices.c +++ b/arch/arm/mach-at91/at91sam9261_devices.c | |||
@@ -198,7 +198,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
198 | * NAND / SmartMedia | 198 | * NAND / SmartMedia |
199 | * -------------------------------------------------------------------- */ | 199 | * -------------------------------------------------------------------- */ |
200 | 200 | ||
201 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 201 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
202 | static struct atmel_nand_data nand_data; | 202 | static struct atmel_nand_data nand_data; |
203 | 203 | ||
204 | #define NAND_BASE AT91_CHIPSELECT_3 | 204 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/at91sam9263_devices.c b/arch/arm/mach-at91/at91sam9263_devices.c index 9762b15f658a..42108d02f593 100644 --- a/arch/arm/mach-at91/at91sam9263_devices.c +++ b/arch/arm/mach-at91/at91sam9263_devices.c | |||
@@ -352,7 +352,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
352 | * NAND / SmartMedia | 352 | * NAND / SmartMedia |
353 | * -------------------------------------------------------------------- */ | 353 | * -------------------------------------------------------------------- */ |
354 | 354 | ||
355 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 355 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
356 | static struct atmel_nand_data nand_data; | 356 | static struct atmel_nand_data nand_data; |
357 | 357 | ||
358 | #define NAND_BASE AT91_CHIPSELECT_3 | 358 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/at91sam9rl_devices.c b/arch/arm/mach-at91/at91sam9rl_devices.c index 5f3094870cad..9c61576f1c8d 100644 --- a/arch/arm/mach-at91/at91sam9rl_devices.c +++ b/arch/arm/mach-at91/at91sam9rl_devices.c | |||
@@ -194,7 +194,7 @@ void __init at91_add_device_mmc(short mmc_id, struct at91_mmc_data *data) {} | |||
194 | * NAND / SmartMedia | 194 | * NAND / SmartMedia |
195 | * -------------------------------------------------------------------- */ | 195 | * -------------------------------------------------------------------- */ |
196 | 196 | ||
197 | #if defined(CONFIG_MTD_NAND_AT91) || defined(CONFIG_MTD_NAND_AT91_MODULE) | 197 | #if defined(CONFIG_MTD_NAND_ATMEL) || defined(CONFIG_MTD_NAND_ATMEL_MODULE) |
198 | static struct atmel_nand_data nand_data; | 198 | static struct atmel_nand_data nand_data; |
199 | 199 | ||
200 | #define NAND_BASE AT91_CHIPSELECT_3 | 200 | #define NAND_BASE AT91_CHIPSELECT_3 |
diff --git a/arch/arm/mach-at91/board-cap9adk.c b/arch/arm/mach-at91/board-cap9adk.c index 83a4494adc9e..fd21d4240e8e 100644 --- a/arch/arm/mach-at91/board-cap9adk.c +++ b/arch/arm/mach-at91/board-cap9adk.c | |||
@@ -188,7 +188,7 @@ static struct atmel_nand_data __initdata cap9adk_nand_data = { | |||
188 | // .rdy_pin = ... not connected | 188 | // .rdy_pin = ... not connected |
189 | .enable_pin = AT91_PIN_PD15, | 189 | .enable_pin = AT91_PIN_PD15, |
190 | .partition_info = nand_partitions, | 190 | .partition_info = nand_partitions, |
191 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 191 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
192 | .bus_width_16 = 1, | 192 | .bus_width_16 = 1, |
193 | #else | 193 | #else |
194 | .bus_width_16 = 0, | 194 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-qil-a9260.c b/arch/arm/mach-at91/board-qil-a9260.c index cb3e48cd1d5b..5393b8079bd7 100644 --- a/arch/arm/mach-at91/board-qil-a9260.c +++ b/arch/arm/mach-at91/board-qil-a9260.c | |||
@@ -147,7 +147,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
147 | .rdy_pin = AT91_PIN_PC13, | 147 | .rdy_pin = AT91_PIN_PC13, |
148 | .enable_pin = AT91_PIN_PC14, | 148 | .enable_pin = AT91_PIN_PC14, |
149 | .partition_info = nand_partitions, | 149 | .partition_info = nand_partitions, |
150 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 150 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
151 | .bus_width_16 = 1, | 151 | .bus_width_16 = 1, |
152 | #else | 152 | #else |
153 | .bus_width_16 = 0, | 153 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-sam9-l9260.c b/arch/arm/mach-at91/board-sam9-l9260.c index 61eab0deb353..fe8a8ac89d64 100644 --- a/arch/arm/mach-at91/board-sam9-l9260.c +++ b/arch/arm/mach-at91/board-sam9-l9260.c | |||
@@ -148,7 +148,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
148 | .rdy_pin = AT91_PIN_PC13, | 148 | .rdy_pin = AT91_PIN_PC13, |
149 | .enable_pin = AT91_PIN_PC14, | 149 | .enable_pin = AT91_PIN_PC14, |
150 | .partition_info = nand_partitions, | 150 | .partition_info = nand_partitions, |
151 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 151 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
152 | .bus_width_16 = 1, | 152 | .bus_width_16 = 1, |
153 | #else | 153 | #else |
154 | .bus_width_16 = 0, | 154 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-sam9260ek.c b/arch/arm/mach-at91/board-sam9260ek.c index de5b072dad3a..6f3b377dc378 100644 --- a/arch/arm/mach-at91/board-sam9260ek.c +++ b/arch/arm/mach-at91/board-sam9260ek.c | |||
@@ -185,7 +185,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
185 | .rdy_pin = AT91_PIN_PC13, | 185 | .rdy_pin = AT91_PIN_PC13, |
186 | .enable_pin = AT91_PIN_PC14, | 186 | .enable_pin = AT91_PIN_PC14, |
187 | .partition_info = nand_partitions, | 187 | .partition_info = nand_partitions, |
188 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 188 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
189 | .bus_width_16 = 1, | 189 | .bus_width_16 = 1, |
190 | #else | 190 | #else |
191 | .bus_width_16 = 0, | 191 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-sam9261ek.c b/arch/arm/mach-at91/board-sam9261ek.c index 9a67434a1264..9d3c65e79c36 100644 --- a/arch/arm/mach-at91/board-sam9261ek.c +++ b/arch/arm/mach-at91/board-sam9261ek.c | |||
@@ -190,7 +190,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
190 | .rdy_pin = AT91_PIN_PC15, | 190 | .rdy_pin = AT91_PIN_PC15, |
191 | .enable_pin = AT91_PIN_PC14, | 191 | .enable_pin = AT91_PIN_PC14, |
192 | .partition_info = nand_partitions, | 192 | .partition_info = nand_partitions, |
193 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 193 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
194 | .bus_width_16 = 1, | 194 | .bus_width_16 = 1, |
195 | #else | 195 | #else |
196 | .bus_width_16 = 0, | 196 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-sam9263ek.c b/arch/arm/mach-at91/board-sam9263ek.c index cc925eca1116..334b159285c3 100644 --- a/arch/arm/mach-at91/board-sam9263ek.c +++ b/arch/arm/mach-at91/board-sam9263ek.c | |||
@@ -194,7 +194,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
194 | .rdy_pin = AT91_PIN_PA22, | 194 | .rdy_pin = AT91_PIN_PA22, |
195 | .enable_pin = AT91_PIN_PD15, | 195 | .enable_pin = AT91_PIN_PD15, |
196 | .partition_info = nand_partitions, | 196 | .partition_info = nand_partitions, |
197 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 197 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
198 | .bus_width_16 = 1, | 198 | .bus_width_16 = 1, |
199 | #else | 199 | #else |
200 | .bus_width_16 = 0, | 200 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-sam9g20ek.c b/arch/arm/mach-at91/board-sam9g20ek.c index 688295f104ce..f0975bba6d51 100644 --- a/arch/arm/mach-at91/board-sam9g20ek.c +++ b/arch/arm/mach-at91/board-sam9g20ek.c | |||
@@ -149,7 +149,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
149 | .rdy_pin = AT91_PIN_PC13, | 149 | .rdy_pin = AT91_PIN_PC13, |
150 | .enable_pin = AT91_PIN_PC14, | 150 | .enable_pin = AT91_PIN_PC14, |
151 | .partition_info = nand_partitions, | 151 | .partition_info = nand_partitions, |
152 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 152 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
153 | .bus_width_16 = 1, | 153 | .bus_width_16 = 1, |
154 | #else | 154 | #else |
155 | .bus_width_16 = 0, | 155 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-usb-a9260.c b/arch/arm/mach-at91/board-usb-a9260.c index aed31f863600..4048e47c5190 100644 --- a/arch/arm/mach-at91/board-usb-a9260.c +++ b/arch/arm/mach-at91/board-usb-a9260.c | |||
@@ -121,7 +121,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
121 | .rdy_pin = AT91_PIN_PC13, | 121 | .rdy_pin = AT91_PIN_PC13, |
122 | .enable_pin = AT91_PIN_PC14, | 122 | .enable_pin = AT91_PIN_PC14, |
123 | .partition_info = nand_partitions, | 123 | .partition_info = nand_partitions, |
124 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 124 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
125 | .bus_width_16 = 1, | 125 | .bus_width_16 = 1, |
126 | #else | 126 | #else |
127 | .bus_width_16 = 0, | 127 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-at91/board-usb-a9263.c b/arch/arm/mach-at91/board-usb-a9263.c index e37343aedf1b..a2b94947f575 100644 --- a/arch/arm/mach-at91/board-usb-a9263.c +++ b/arch/arm/mach-at91/board-usb-a9263.c | |||
@@ -134,7 +134,7 @@ static struct atmel_nand_data __initdata ek_nand_data = { | |||
134 | .rdy_pin = AT91_PIN_PA22, | 134 | .rdy_pin = AT91_PIN_PA22, |
135 | .enable_pin = AT91_PIN_PD15, | 135 | .enable_pin = AT91_PIN_PD15, |
136 | .partition_info = nand_partitions, | 136 | .partition_info = nand_partitions, |
137 | #if defined(CONFIG_MTD_NAND_AT91_BUSWIDTH_16) | 137 | #if defined(CONFIG_MTD_NAND_ATMEL_BUSWIDTH_16) |
138 | .bus_width_16 = 1, | 138 | .bus_width_16 = 1, |
139 | #else | 139 | #else |
140 | .bus_width_16 = 0, | 140 | .bus_width_16 = 0, |
diff --git a/arch/arm/mach-kirkwood/rd88f6281-setup.c b/arch/arm/mach-kirkwood/rd88f6281-setup.c index e1f8de2c74a2..b6437f47a77f 100644 --- a/arch/arm/mach-kirkwood/rd88f6281-setup.c +++ b/arch/arm/mach-kirkwood/rd88f6281-setup.c | |||
@@ -18,6 +18,7 @@ | |||
18 | #include <linux/timer.h> | 18 | #include <linux/timer.h> |
19 | #include <linux/ata_platform.h> | 19 | #include <linux/ata_platform.h> |
20 | #include <linux/mv643xx_eth.h> | 20 | #include <linux/mv643xx_eth.h> |
21 | #include <linux/ethtool.h> | ||
21 | #include <asm/mach-types.h> | 22 | #include <asm/mach-types.h> |
22 | #include <asm/mach/arch.h> | 23 | #include <asm/mach/arch.h> |
23 | #include <asm/mach/pci.h> | 24 | #include <asm/mach/pci.h> |
@@ -69,6 +70,8 @@ static struct platform_device rd88f6281_nand_flash = { | |||
69 | 70 | ||
70 | static struct mv643xx_eth_platform_data rd88f6281_ge00_data = { | 71 | static struct mv643xx_eth_platform_data rd88f6281_ge00_data = { |
71 | .phy_addr = -1, | 72 | .phy_addr = -1, |
73 | .speed = SPEED_1000, | ||
74 | .duplex = DUPLEX_FULL, | ||
72 | }; | 75 | }; |
73 | 76 | ||
74 | static struct mv_sata_platform_data rd88f6281_sata_data = { | 77 | static struct mv_sata_platform_data rd88f6281_sata_data = { |
diff --git a/arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c b/arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c index d50e3650a09e..73e9242da7ad 100644 --- a/arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c +++ b/arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/irq.h> | 15 | #include <linux/irq.h> |
16 | #include <linux/mtd/physmap.h> | 16 | #include <linux/mtd/physmap.h> |
17 | #include <linux/mv643xx_eth.h> | 17 | #include <linux/mv643xx_eth.h> |
18 | #include <linux/ethtool.h> | ||
18 | #include <asm/mach-types.h> | 19 | #include <asm/mach-types.h> |
19 | #include <asm/gpio.h> | 20 | #include <asm/gpio.h> |
20 | #include <asm/leds.h> | 21 | #include <asm/leds.h> |
@@ -88,6 +89,8 @@ static struct orion5x_mpp_mode rd88f5181l_fxo_mpp_modes[] __initdata = { | |||
88 | 89 | ||
89 | static struct mv643xx_eth_platform_data rd88f5181l_fxo_eth_data = { | 90 | static struct mv643xx_eth_platform_data rd88f5181l_fxo_eth_data = { |
90 | .phy_addr = -1, | 91 | .phy_addr = -1, |
92 | .speed = SPEED_1000, | ||
93 | .duplex = DUPLEX_FULL, | ||
91 | }; | 94 | }; |
92 | 95 | ||
93 | static void __init rd88f5181l_fxo_init(void) | 96 | static void __init rd88f5181l_fxo_init(void) |
diff --git a/arch/arm/mach-orion5x/rd88f5181l-ge-setup.c b/arch/arm/mach-orion5x/rd88f5181l-ge-setup.c index b56447d32e17..ac482019abbf 100644 --- a/arch/arm/mach-orion5x/rd88f5181l-ge-setup.c +++ b/arch/arm/mach-orion5x/rd88f5181l-ge-setup.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/irq.h> | 15 | #include <linux/irq.h> |
16 | #include <linux/mtd/physmap.h> | 16 | #include <linux/mtd/physmap.h> |
17 | #include <linux/mv643xx_eth.h> | 17 | #include <linux/mv643xx_eth.h> |
18 | #include <linux/ethtool.h> | ||
18 | #include <linux/i2c.h> | 19 | #include <linux/i2c.h> |
19 | #include <asm/mach-types.h> | 20 | #include <asm/mach-types.h> |
20 | #include <asm/gpio.h> | 21 | #include <asm/gpio.h> |
@@ -89,6 +90,8 @@ static struct orion5x_mpp_mode rd88f5181l_ge_mpp_modes[] __initdata = { | |||
89 | 90 | ||
90 | static struct mv643xx_eth_platform_data rd88f5181l_ge_eth_data = { | 91 | static struct mv643xx_eth_platform_data rd88f5181l_ge_eth_data = { |
91 | .phy_addr = -1, | 92 | .phy_addr = -1, |
93 | .speed = SPEED_1000, | ||
94 | .duplex = DUPLEX_FULL, | ||
92 | }; | 95 | }; |
93 | 96 | ||
94 | static struct i2c_board_info __initdata rd88f5181l_ge_i2c_rtc = { | 97 | static struct i2c_board_info __initdata rd88f5181l_ge_i2c_rtc = { |
diff --git a/arch/arm/mach-orion5x/wnr854t-setup.c b/arch/arm/mach-orion5x/wnr854t-setup.c index 1af093ff8cf3..25568c2a3d29 100644 --- a/arch/arm/mach-orion5x/wnr854t-setup.c +++ b/arch/arm/mach-orion5x/wnr854t-setup.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
15 | #include <linux/mtd/physmap.h> | 15 | #include <linux/mtd/physmap.h> |
16 | #include <linux/mv643xx_eth.h> | 16 | #include <linux/mv643xx_eth.h> |
17 | #include <linux/ethtool.h> | ||
17 | #include <asm/mach-types.h> | 18 | #include <asm/mach-types.h> |
18 | #include <asm/gpio.h> | 19 | #include <asm/gpio.h> |
19 | #include <asm/mach/arch.h> | 20 | #include <asm/mach/arch.h> |
@@ -92,6 +93,8 @@ static struct platform_device wnr854t_nor_flash = { | |||
92 | 93 | ||
93 | static struct mv643xx_eth_platform_data wnr854t_eth_data = { | 94 | static struct mv643xx_eth_platform_data wnr854t_eth_data = { |
94 | .phy_addr = -1, | 95 | .phy_addr = -1, |
96 | .speed = SPEED_1000, | ||
97 | .duplex = DUPLEX_FULL, | ||
95 | }; | 98 | }; |
96 | 99 | ||
97 | static void __init wnr854t_init(void) | 100 | static void __init wnr854t_init(void) |
diff --git a/arch/arm/mach-orion5x/wrt350n-v2-setup.c b/arch/arm/mach-orion5x/wrt350n-v2-setup.c index aeab55c6a82d..9b8ee8c48bf0 100644 --- a/arch/arm/mach-orion5x/wrt350n-v2-setup.c +++ b/arch/arm/mach-orion5x/wrt350n-v2-setup.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/delay.h> | 14 | #include <linux/delay.h> |
15 | #include <linux/mtd/physmap.h> | 15 | #include <linux/mtd/physmap.h> |
16 | #include <linux/mv643xx_eth.h> | 16 | #include <linux/mv643xx_eth.h> |
17 | #include <linux/ethtool.h> | ||
17 | #include <asm/mach-types.h> | 18 | #include <asm/mach-types.h> |
18 | #include <asm/gpio.h> | 19 | #include <asm/gpio.h> |
19 | #include <asm/mach/arch.h> | 20 | #include <asm/mach/arch.h> |
@@ -100,6 +101,8 @@ static struct platform_device wrt350n_v2_nor_flash = { | |||
100 | 101 | ||
101 | static struct mv643xx_eth_platform_data wrt350n_v2_eth_data = { | 102 | static struct mv643xx_eth_platform_data wrt350n_v2_eth_data = { |
102 | .phy_addr = -1, | 103 | .phy_addr = -1, |
104 | .speed = SPEED_1000, | ||
105 | .duplex = DUPLEX_FULL, | ||
103 | }; | 106 | }; |
104 | 107 | ||
105 | static void __init wrt350n_v2_init(void) | 108 | static void __init wrt350n_v2_init(void) |
diff --git a/arch/arm/mach-pxa/pcm990-baseboard.c b/arch/arm/mach-pxa/pcm990-baseboard.c index 30023b00e476..90056d56b210 100644 --- a/arch/arm/mach-pxa/pcm990-baseboard.c +++ b/arch/arm/mach-pxa/pcm990-baseboard.c | |||
@@ -22,7 +22,6 @@ | |||
22 | 22 | ||
23 | #include <linux/irq.h> | 23 | #include <linux/irq.h> |
24 | #include <linux/platform_device.h> | 24 | #include <linux/platform_device.h> |
25 | #include <linux/ide.h> | ||
26 | #include <linux/i2c.h> | 25 | #include <linux/i2c.h> |
27 | #include <linux/pwm_backlight.h> | 26 | #include <linux/pwm_backlight.h> |
28 | 27 | ||
diff --git a/arch/arm/mm/consistent.c b/arch/arm/mm/consistent.c index 333a82a3717e..db7b3e38ef1d 100644 --- a/arch/arm/mm/consistent.c +++ b/arch/arm/mm/consistent.c | |||
@@ -274,6 +274,11 @@ __dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp, | |||
274 | void * | 274 | void * |
275 | dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp) | 275 | dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp) |
276 | { | 276 | { |
277 | void *memory; | ||
278 | |||
279 | if (dma_alloc_from_coherent(dev, size, handle, &memory)) | ||
280 | return memory; | ||
281 | |||
277 | if (arch_is_coherent()) { | 282 | if (arch_is_coherent()) { |
278 | void *virt; | 283 | void *virt; |
279 | 284 | ||
@@ -362,6 +367,9 @@ void dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, dma_addr | |||
362 | 367 | ||
363 | WARN_ON(irqs_disabled()); | 368 | WARN_ON(irqs_disabled()); |
364 | 369 | ||
370 | if (dma_release_from_coherent(dev, get_order(size), cpu_addr)) | ||
371 | return; | ||
372 | |||
365 | if (arch_is_coherent()) { | 373 | if (arch_is_coherent()) { |
366 | kfree(cpu_addr); | 374 | kfree(cpu_addr); |
367 | return; | 375 | return; |