Hi Sacha,
I'm using a 2.6.25.
Converting to your platform_device based driver,
I needed to configure the irq (see patch, irq flags).
Looking in the old cs89x0.c, it's done in the driver. Should I have
configured the irq level elsewhere? Or is this patch valid to do?
Kurt
Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
---
Index: drivers/net/cirrus-cs89x0.c
===================================================================
--- drivers/net/cirrus-cs89x0.c (revision 7107)
+++ drivers/net/cirrus-cs89x0.c (working copy)
@@ -487,7 +487,8 @@
}
/* install interrupt handler */
- result = request_irq(ndev->irq, &cirrus_interrupt, 0, ndev->name, ndev);
+ result = request_irq(ndev->irq, &cirrus_interrupt,
+ IRQF_TRIGGER_HIGH, ndev->name, ndev);
if (result < 0) {
printk(KERN_ERR "%s: could not register interrupt %d\n",
ndev->name, ndev->irq);
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html