[PATCH v2 1/1] ARM: amba: Increase number of IRQs

From: Scott Branden
Date: Mon Mar 16 2015 - 17:17:12 EST


The current AMBA bus only allows up to 9 IRQs per device.
This does not suit peripherals like PL330 which can have up to 32 IRQs.
Increase AMBA_NR_IRQS from 9 to 32.

Signed-off-by: Scott Branden <sbranden@xxxxxxxxxxxx>
Signed-off-by: Ray Jui <rjui@xxxxxxxxxxxx>
---
include/linux/amba/bus.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h
index 50fc668..475e090 100644
--- a/include/linux/amba/bus.h
+++ b/include/linux/amba/bus.h
@@ -21,7 +21,7 @@
#include <linux/resource.h>
#include <linux/regulator/consumer.h>

-#define AMBA_NR_IRQS 9
+#define AMBA_NR_IRQS 32
#define AMBA_CID 0xb105f00d
#define CORESIGHT_CID 0xb105900d

--
2.3.3

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