[kernel-2.6.15] Fix PCI irq mapping for lite5200
- From: Andrey Volkov <avolkov@xxxxxxxxxxxx>
- Date: Thu, 12 Jan 2006 11:34:45 +0300
Hi Sylvain,
This patch fix problem of PCI boards irq mapping on lite5200
(raised after your changes of MPC52xx_IRQ0 number)
--
Regards
Andrey Volkov
lite5200_map_irq: Fix irq mapping for external PCI boards
Signed-off-by: Andrey Volkov <avolkov@xxxxxxxxxxxx>
---
arch/ppc/platforms/lite5200.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/arch/ppc/platforms/lite5200.c b/arch/ppc/platforms/lite5200.c
index 7ed52dc..cd4acb3 100644
--- a/arch/ppc/platforms/lite5200.c
+++ b/arch/ppc/platforms/lite5200.c
@@ -73,7 +73,8 @@ lite5200_show_cpuinfo(struct seq_file *m
static int
lite5200_map_irq(struct pci_dev *dev, unsigned char idsel, unsigned char pin)
{
- return (pin == 1) && (idsel==24) ? MPC52xx_IRQ0 : -1;
+ /* Only INTA supported */
+ return (pin == 1) ? MPC52xx_IRQ0 : -1;
}
#endif
- Follow-Ups:
- Re: [kernel-2.6.15] Fix PCI irq mapping for lite5200
- From: Sylvain Munaut
- Re: [kernel-2.6.15] Fix PCI irq mapping for lite5200
- Prev by Date: Re: [PATCH 6/10] NTP: add time_adjust to tick_nsec
- Next by Date: Re: [PATCH 2 of 3] memcpy32 for x86_64
- Previous by thread: [PATCH ] ethtool: Remove duplex info from CTRL register dump
- Next by thread: Re: [kernel-2.6.15] Fix PCI irq mapping for lite5200
- Index(es):