]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] defxx: Use irqreturn_t for the interrupt handler
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 20 Jun 2005 22:33:03 +0000 (15:33 -0700)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 26 Jun 2005 22:37:25 +0000 (18:37 -0400)
commitfeea1db26e5babbedf1f4f36223e21b2f2d6f499
tree62ddb11ccf04d2096bf0354a1728496bff6a2703
parent16b110c3fd760620b4a787db6ed512fe531ab1b5
[PATCH] defxx: Use irqreturn_t for the interrupt handler

This is a fix for the interrupt handler in the defxx driver to use
irqreturn_t.  Beside the obvious fix of returning a proper status at all,
it actually checks board registers as appropriate for determining if an
interrupt has been recorded in the bus-specific interface logic.

The patch also includes an obvious one-line fix for SET_NETDEV_DEV needed
for the EISA variation, for which I've decided there is no point in sending
separately.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/net/defxx.c