lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1301583255-28468-17-git-send-email-jic23@cam.ac.uk>
Date:	Thu, 31 Mar 2011 15:54:10 +0100
From:	Jonathan Cameron <jic23@....ac.uk>
To:	linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:	arnd@...db.de, tglx@...utronix.de,
	Jonathan Cameron <jic23@....ac.uk>
Subject: [PATCH 16/21] stargate2 - add an IIO interrupt pool

Included here as a somewhat obvious example and because it's my test platform.

Signed-off-by: Jonathan Cameron <jic23@....ac.uk>
---
 arch/arm/mach-pxa/stargate2.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-pxa/stargate2.c b/arch/arm/mach-pxa/stargate2.c
index cb5611d..3005b9c 100644
--- a/arch/arm/mach-pxa/stargate2.c
+++ b/arch/arm/mach-pxa/stargate2.c
@@ -56,8 +56,9 @@
 
 #include "devices.h"
 #include "generic.h"
-
-#define STARGATE_NR_IRQS	(IRQ_BOARD_START + 8)
+#include "../../../drivers/staging/iio/iio-board-info.h"
+#define STARGATE_IIO_IRQ_POOL 16
+#define STARGATE_NR_IRQS	(IRQ_BOARD_START + STARGATE_IIO_IRQ_POOL)
 
 /* Bluetooth */
 #define SG2_BT_RESET		81
@@ -408,6 +409,7 @@ static struct i2c_pxa_platform_data i2c_pdata = {
 
 static void __init imote2_stargate2_init(void)
 {
+	iio_set_irq_pool(IRQ_BOARD_START, STARGATE_IIO_IRQ_POOL);
 
 	pxa2xx_mfp_config(ARRAY_AND_SIZE(sg2_im2_unified_pin_config));
 
-- 
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ