Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 16750
b: refs/heads/master
c: f7e8bbb
h: refs/heads/master
v: v3
  • Loading branch information
Deepak Saxena authored and Russell King committed Jan 4, 2006
1 parent 4907c24 commit cd506d0
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 29 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3a962455b106a1677f91c754e5315753c3d44c3
refs/heads/master: f7e8bbb8207c17afbd716e7e5fc785b78fa08571
4 changes: 3 additions & 1 deletion trunk/arch/arm/mach-ixp4xx/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ static int ixp4xx_set_irq_type(unsigned int irq, unsigned int type)
*int_reg &= ~(IXP4XX_GPIO_STYLE_CLEAR <<
(line * IXP4XX_GPIO_STYLE_SIZE));

*IXP4XX_GPIO_GPISR = (1 << line);

/* Set the new style */
*int_reg |= (int_style << (line * IXP4XX_GPIO_STYLE_SIZE));

Expand Down Expand Up @@ -169,7 +171,7 @@ static void ixp4xx_irq_ack(unsigned int irq)
int line = (irq < 32) ? irq2gpio[irq] : -1;

if (line >= 0)
gpio_line_isr_clear(line);
*IXP4XX_GPIO_GPISR = (1 << line);
}

/*
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/arm/mach-ixp4xx/coyote-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ void __init coyote_pci_preinit(void)
set_irq_type(IRQ_COYOTE_PCI_SLOT0, IRQT_LOW);
set_irq_type(IRQ_COYOTE_PCI_SLOT1, IRQT_LOW);

gpio_line_isr_clear(COYOTE_PCI_SLOT0_PIN);
gpio_line_isr_clear(COYOTE_PCI_SLOT1_PIN);

ixp4xx_pci_preinit();
}

Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/arm/mach-ixp4xx/ixdp425-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ void __init ixdp425_pci_preinit(void)
set_irq_type(IRQ_IXDP425_PCI_INTC, IRQT_LOW);
set_irq_type(IRQ_IXDP425_PCI_INTD, IRQT_LOW);

gpio_line_isr_clear(IXDP425_PCI_INTA_PIN);
gpio_line_isr_clear(IXDP425_PCI_INTB_PIN);
gpio_line_isr_clear(IXDP425_PCI_INTC_PIN);
gpio_line_isr_clear(IXDP425_PCI_INTD_PIN);

ixp4xx_pci_preinit();
}

Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/arm/mach-ixp4xx/ixdpg425-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ void __init ixdpg425_pci_preinit(void)
set_irq_type(IRQ_IXP4XX_GPIO6, IRQT_LOW);
set_irq_type(IRQ_IXP4XX_GPIO7, IRQT_LOW);

gpio_line_isr_clear(6);
gpio_line_isr_clear(7);

ixp4xx_pci_preinit();
}

Expand Down
8 changes: 0 additions & 8 deletions trunk/arch/arm/mach-ixp4xx/nslu2-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ void __init nslu2_pci_preinit(void)
set_irq_type(IRQ_NSLU2_PCI_INTB, IRQT_LOW);
set_irq_type(IRQ_NSLU2_PCI_INTC, IRQT_LOW);

gpio_line_isr_clear(NSLU2_PCI_INTA_PIN);
gpio_line_isr_clear(NSLU2_PCI_INTB_PIN);
gpio_line_isr_clear(NSLU2_PCI_INTC_PIN);

/* INTD is not configured as GPIO is used
* for the power input button.
*/

ixp4xx_pci_preinit();
}

Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/arm/mach-ixp4xx/nslu2-power.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ static int __init nslu2_power_init(void)
set_irq_type(NSLU2_RB_IRQ, IRQT_LOW);
set_irq_type(NSLU2_PB_IRQ, IRQT_HIGH);

gpio_line_isr_clear(NSLU2_RB_GPIO);
gpio_line_isr_clear(NSLU2_PB_GPIO);

if (request_irq(NSLU2_RB_IRQ, &nslu2_reset_handler,
SA_INTERRUPT, "NSLU2 reset button", NULL) < 0) {

Expand Down
5 changes: 0 additions & 5 deletions trunk/include/asm-arm/arch-ixp4xx/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,5 @@ static inline void gpio_line_set(u8 line, int value)
*IXP4XX_GPIO_GPOUTR &= ~(1 << line);
}

static inline void gpio_line_isr_clear(u8 line)
{
*IXP4XX_GPIO_GPISR = (1 << line);
}

#endif // __ASSEMBLY__

0 comments on commit cd506d0

Please sign in to comment.