mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
brcm63xx: fix BCM63268 interrupt register locations for legacy probe
Legacy probe passed the IRQSTAT registers instead of the IRQMASK registers causing all register accesses to be offset by 16 bytes. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44575 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cd2b8886d9
commit
479b835df8
@ -289,8 +289,8 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
||||
ext_shift = 4;
|
||||
break;
|
||||
+ case BCM63268_CPU_ID:
|
||||
+ periph_bases[0] += PERF_IRQSTAT_63268_REG(0);
|
||||
+ periph_bases[1] += PERF_IRQSTAT_63268_REG(1);
|
||||
+ periph_bases[0] += PERF_IRQMASK_63268_REG(0);
|
||||
+ periph_bases[1] += PERF_IRQMASK_63268_REG(1);
|
||||
+ periph_irq_count = 2;
|
||||
+ periph_width = 4;
|
||||
+
|
||||
|
||||
@ -289,8 +289,8 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
|
||||
ext_shift = 4;
|
||||
break;
|
||||
+ case BCM63268_CPU_ID:
|
||||
+ periph_bases[0] += PERF_IRQSTAT_63268_REG(0);
|
||||
+ periph_bases[1] += PERF_IRQSTAT_63268_REG(1);
|
||||
+ periph_bases[0] += PERF_IRQMASK_63268_REG(0);
|
||||
+ periph_bases[1] += PERF_IRQMASK_63268_REG(1);
|
||||
+ periph_irq_count = 2;
|
||||
+ periph_width = 4;
|
||||
+
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user