#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/version.h>
- printk("irq %d\n", pdev->irq);
+#ifdef __sparc__
+ printk("irq %s\n", __irq_itoa(pdev->irq));
+#else
+ printk("irq %i\n", pdev->irq);
+#endif
- ecode = request_irq(pdev->irq, ace_interrupt, IRQF_SHARED,
+ ecode = request_irq(pdev->irq, ace_interrupt, SA_SHIRQ,