projects
/
openwrt
/
staging
/
jogo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee6b5c6
)
oxnas: use libata ledtrig support for kd20 hdd leds
author
John Crispin
<
[email protected]
>
Fri, 12 Dec 2014 20:24:33 +0000
(20:24 +0000)
committer
John Crispin
<
[email protected]
>
Fri, 12 Dec 2014 20:24:33 +0000
(20:24 +0000)
Signed-off-by: Daniel Golle <
[email protected]
>
SVN-Revision: 43675
target/linux/oxnas/config-3.14
patch
|
blob
|
history
target/linux/oxnas/config-3.18
patch
|
blob
|
history
target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
patch
|
blob
|
history
target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig
patch
|
blob
|
history
diff --git
a/target/linux/oxnas/config-3.14
b/target/linux/oxnas/config-3.14
index 473a2bf75bdea1042d10595ee66cdd4a67aa2197..a065363fb32b66ffdce78fcf8b21892df7b13b13 100644
(file)
--- a/
target/linux/oxnas/config-3.14
+++ b/
target/linux/oxnas/config-3.14
@@
-345,3
+345,4
@@
CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZLIB_DEFLATE=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZONE_DMA_FLAG=0
+CONFIG_ATA_LEDS=y
diff --git
a/target/linux/oxnas/config-3.18
b/target/linux/oxnas/config-3.18
index 56dce65caff5992b183fdd3d8f78df2dba549007..b9172d98c6cc48eb37871a3243d0686a91b75cc7 100644
(file)
--- a/
target/linux/oxnas/config-3.18
+++ b/
target/linux/oxnas/config-3.18
@@
-364,3
+364,4
@@
CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZLIB_DEFLATE=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZONE_DMA_FLAG=0
+CONFIG_ATA_LEDS=y
diff --git
a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
index 2db15ea5dc813e919af27c60fb5aa7646b704b0a..79442be3469661648ef074106352451f7ba66335 100644
(file)
--- a/
target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
+++ b/
target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts
@@
-107,6
+107,7
@@
hdd1blue {
label = "kd20:blue:hdd1";
gpios = <&GPIOA 27 0>;
+ linux,default-trigger = "ata1";
};
hdd1red {
label = "kd20:red:hdd1";
@@
-115,6
+116,7
@@
hdd2blue {
label = "kd20:blue:hdd2";
gpios = <&GPIOB 6 0>;
+ linux,default-trigger = "ata2";
};
hdd2red {
label = "kd20:red:hdd2";
diff --git
a/target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig
b/target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig
index eb96f1b74c38f617d6209b782225408549137cfa..6bdf3f6efd3188d1fac00ced1c17c4301a4e00cc 100644
(file)
--- a/
target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig
+++ b/
target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig
@@
-18,6
+18,7
@@
config MACH_OX820
select PINCTRL_OXNAS
select PINCTRL
select RESET_CONTROLLER_OXNAS
+ select ARCH_WANT_LIBATA_LEDS
help
Include support for the ox820 platform.