Modify

Opened 6 years ago

Last modified 4 years ago

#11670 new defect

Insufficient numbers of IRQs

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: Cc: info@…

Description

Platform Ralink MIPS RT3050F

gpio_to_irq returned 54 for GPIO 14 where max number is defined in:

mips/include/asm/mach-ralink/rt305x/irq.h

to 48.

Please increase NR_IRQS to 96 to get GPIO&IRQ working.
Should be the same on all Ralink MIPS

Tested with 96 - GPIO&IRQ is working fine

Attachments (0)

Change History (2)

comment:1 in reply to: ↑ description Changed 6 years ago by anonymous

Please add following path:

--- ./target/linux/ramips/files/arch/mips/include/asm/mach-ralink/rt305x/irq.h	2012-04-30 10:54:15.533108909 +0200
+++ ./build_dir/linux-ramips_rt305x/linux-3.3.8/arch/mips/include/asm/mach-ralink/rt305x/irq.h	2012-06-13 09:37:04.822406188 +0200
@@ -10,7 +10,7 @@
 #define __ASM_MACH_RALINK_RT305X_IRQ_H
 
 #define MIPS_CPU_IRQ_BASE	0
-#define NR_IRQS			48
+#define NR_IRQS			96	
 
 #include_next <irq.h>

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.