[PATCH] ppc32: MV643XX ethernet is an option for Pegasos
This patch allows Kconfig to build the MV643xx ethernet driver on Pegasos (CONFIG_PPC_MULTIPLATFORM) and adds what I think is a missing fix from Dale's batch, that is remove SA_INTERRUPT and add SA_SHIRQ in there as the interrupt is shared if I understand things correctly. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Fabio Massimo Di Nitto <fabbione@ubuntu.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
d8f6098d5b
commit
16b817579f
@ -668,7 +668,7 @@ static int mv643xx_eth_open(struct net_device *dev)
|
||||
spin_lock_irq(&mp->lock);
|
||||
|
||||
err = request_irq(dev->irq, mv643xx_eth_int_handler,
|
||||
SA_INTERRUPT | SA_SAMPLE_RANDOM, dev->name, dev);
|
||||
SA_SHIRQ | SA_SAMPLE_RANDOM, dev->name, dev);
|
||||
|
||||
if (err) {
|
||||
printk(KERN_ERR "Can not assign IRQ number to MV643XX_eth%d\n",
|
||||
|
Reference in New Issue
Block a user