core/linux-kirkwood: activate NSA325 HDD2 by default.

This commit is contained in:
Jason Plum 2013-10-12 20:42:58 -04:00
parent 3a2534250e
commit 2734aa0dd4
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ pkgname=('linux-kirkwood' 'linux-headers-kirkwood')
_kernelname=${pkgname#linux}
_basekernel=3.11.4
pkgver=${_basekernel}
pkgrel=3
pkgrel=4
cryptover=1.6
bfqver=v6r2
uksmver="0.1.2.2"
@ -33,7 +33,7 @@ source=("ftp://ftp.kernel.org/pub/linux/kernel/v3.x/linux-${_basekernel}.tar.xz"
"http://algo.ing.unimo.it/people/paolo/disk_sched/patches/$(echo $_basekernel |cut -c 1-4).0-${bfqver}/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-${bfqver}-for-$(echo $_basekernel |cut -c 1-4).0.patch")
md5sums=('39f2a90cd8ad2fa62a4e5c6ffaa1a948'
'67ce8a66cdf2e732c83efdba18d2f2c6'
'00837ef51c35627274d6d07bf8c43b4e'
'd7d67b1b949bd1ee8825b71c86682c34'
'SKIP'
'65d5a4f313310bb2a732d022d51ea7e7'

View file

@ -2926,7 +2926,7 @@ diff -rupN a/arch/arm/mach-kirkwood/nsa325-setup.c b/arch/arm/mach-kirkwood/nsa3
+
+ /* turn on the second drive bay */
+ if (gpio_request(NSA325_GPIO_HDD2_POWER, "HDD2 Power Enable") ||
+ gpio_direction_output(NSA325_GPIO_HDD2_POWER,0))
+ gpio_direction_output(NSA325_GPIO_HDD2_POWER,1))
+ pr_err("nsa325: failed to configure HDD2 power enable GPIO\n");
+ gpio_free(NSA325_GPIO_HDD2_POWER);
+