diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-15 15:33:40 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-01-15 15:33:40 -0500 |
commit | 16c1020362083b320868c0deef492249089c3cd3 (patch) | |
tree | ff200df3502e6010745713275d69fd0a07e399cf /arch/arm/mach-footbridge/isa-irq.c | |
parent | 65e5d002b5ad220db2bf9557f53de5a98f7dab86 (diff) | |
parent | bbba75606963c82febf7bd2761ea848ac5d1a1bb (diff) |
Merge branch 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'devel-stable' of master.kernel.org:/home/rmk/linux-2.6-arm: (161 commits)
ARM: pxa: fix building issue of missing physmap.h
ARM: mmp: PXA910 drive strength FAST using wrong value
ARM: mmp: MMP2 drive strength FAST using wrong value
ARM: pxa: fix recursive calls in pxa_low_gpio_chip
AT91: Support for gsia18s board
AT91: Acme Systems FOX Board G20 board files
AT91: board-sam9m10g45ek.c: Remove duplicate inclusion of mach/hardware.h
ARM: pxa: fix suspend/resume array index miscalculation
ARM: pxa: use cpu_has_ipr() consistently in irq.c
ARM: pxa: remove unused variable in clock-pxa3xx.c
ARM: pxa: fix warning in zeus.c
ARM: sa1111: fix typo in sa1111_retrigger_lowirq()
ARM mxs: clkdev related compile fixes
ARM i.MX mx31_3ds: Fix MC13783 regulator names
ARM: plat-stmp3xxx: irq_data conversion.
ARM: plat-spear: irq_data conversion.
ARM: plat-orion: irq_data conversion.
ARM: plat-omap: irq_data conversion.
ARM: plat-nomadik: irq_data conversion.
ARM: plat-mxc: irq_data conversion.
...
Fix up trivial conflict in arch/arm/plat-omap/gpio.c (Lennert
Buytenhek's irq_data conversion clashing with some omap irq updates)
Diffstat (limited to 'arch/arm/mach-footbridge/isa-irq.c')
-rw-r--r-- | arch/arm/mach-footbridge/isa-irq.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/arch/arm/mach-footbridge/isa-irq.c b/arch/arm/mach-footbridge/isa-irq.c index 8bfd06aeb64d..de7a5cb5dbe1 100644 --- a/arch/arm/mach-footbridge/isa-irq.c +++ b/arch/arm/mach-footbridge/isa-irq.c | |||
@@ -30,61 +30,61 @@ | |||
30 | 30 | ||
31 | #include "common.h" | 31 | #include "common.h" |
32 | 32 | ||
33 | static void isa_mask_pic_lo_irq(unsigned int irq) | 33 | static void isa_mask_pic_lo_irq(struct irq_data *d) |
34 | { | 34 | { |
35 | unsigned int mask = 1 << (irq & 7); | 35 | unsigned int mask = 1 << (d->irq & 7); |
36 | 36 | ||
37 | outb(inb(PIC_MASK_LO) | mask, PIC_MASK_LO); | 37 | outb(inb(PIC_MASK_LO) | mask, PIC_MASK_LO); |
38 | } | 38 | } |
39 | 39 | ||
40 | static void isa_ack_pic_lo_irq(unsigned int irq) | 40 | static void isa_ack_pic_lo_irq(struct irq_data *d) |
41 | { | 41 | { |
42 | unsigned int mask = 1 << (irq & 7); | 42 | unsigned int mask = 1 << (d->irq & 7); |
43 | 43 | ||
44 | outb(inb(PIC_MASK_LO) | mask, PIC_MASK_LO); | 44 | outb(inb(PIC_MASK_LO) | mask, PIC_MASK_LO); |
45 | outb(0x20, PIC_LO); | 45 | outb(0x20, PIC_LO); |
46 | } | 46 | } |
47 | 47 | ||
48 | static void isa_unmask_pic_lo_irq(unsigned int irq) | 48 | static void isa_unmask_pic_lo_irq(struct irq_data *d) |
49 | { | 49 | { |
50 | unsigned int mask = 1 << (irq & 7); | 50 | unsigned int mask = 1 << (d->irq & 7); |
51 | 51 | ||
52 | outb(inb(PIC_MASK_LO) & ~mask, PIC_MASK_LO); | 52 | outb(inb(PIC_MASK_LO) & ~mask, PIC_MASK_LO); |
53 | } | 53 | } |
54 | 54 | ||
55 | static struct irq_chip isa_lo_chip = { | 55 | static struct irq_chip isa_lo_chip = { |
56 | .ack = isa_ack_pic_lo_irq, | 56 | .irq_ack = isa_ack_pic_lo_irq, |
57 | .mask = isa_mask_pic_lo_irq, | 57 | .irq_mask = isa_mask_pic_lo_irq, |
58 | .unmask = isa_unmask_pic_lo_irq, | 58 | .irq_unmask = isa_unmask_pic_lo_irq, |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static void isa_mask_pic_hi_irq(unsigned int irq) | 61 | static void isa_mask_pic_hi_irq(struct irq_data *d) |
62 | { | 62 | { |
63 | unsigned int mask = 1 << (irq & 7); | 63 | unsigned int mask = 1 << (d->irq & 7); |
64 | 64 | ||
65 | outb(inb(PIC_MASK_HI) | mask, PIC_MASK_HI); | 65 | outb(inb(PIC_MASK_HI) | mask, PIC_MASK_HI); |
66 | } | 66 | } |
67 | 67 | ||
68 | static void isa_ack_pic_hi_irq(unsigned int irq) | 68 | static void isa_ack_pic_hi_irq(struct irq_data *d) |
69 | { | 69 | { |
70 | unsigned int mask = 1 << (irq & 7); | 70 | unsigned int mask = 1 << (d->irq & 7); |
71 | 71 | ||
72 | outb(inb(PIC_MASK_HI) | mask, PIC_MASK_HI); | 72 | outb(inb(PIC_MASK_HI) | mask, PIC_MASK_HI); |
73 | outb(0x62, PIC_LO); | 73 | outb(0x62, PIC_LO); |
74 | outb(0x20, PIC_HI); | 74 | outb(0x20, PIC_HI); |
75 | } | 75 | } |
76 | 76 | ||
77 | static void isa_unmask_pic_hi_irq(unsigned int irq) | 77 | static void isa_unmask_pic_hi_irq(struct irq_data *d) |
78 | { | 78 | { |
79 | unsigned int mask = 1 << (irq & 7); | 79 | unsigned int mask = 1 << (d->irq & 7); |
80 | 80 | ||
81 | outb(inb(PIC_MASK_HI) & ~mask, PIC_MASK_HI); | 81 | outb(inb(PIC_MASK_HI) & ~mask, PIC_MASK_HI); |
82 | } | 82 | } |
83 | 83 | ||
84 | static struct irq_chip isa_hi_chip = { | 84 | static struct irq_chip isa_hi_chip = { |
85 | .ack = isa_ack_pic_hi_irq, | 85 | .irq_ack = isa_ack_pic_hi_irq, |
86 | .mask = isa_mask_pic_hi_irq, | 86 | .irq_mask = isa_mask_pic_hi_irq, |
87 | .unmask = isa_unmask_pic_hi_irq, | 87 | .irq_unmask = isa_unmask_pic_hi_irq, |
88 | }; | 88 | }; |
89 | 89 | ||
90 | static void | 90 | static void |