]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
enc28j60: don't specify (wrong) IRQ type
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 25 Jul 2008 00:47:56 +0000 (17:47 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 29 Jul 2008 22:24:20 +0000 (18:24 -0400)
commitc7b7b042068cd12b8b155722d24686f70b88ced1
tree0cdc8e5e5d568a49944a4f6f1202cadce505518f
parent74dfd9fb0ae390027cb5a908ab065a21158105d5
enc28j60: don't specify (wrong) IRQ type

Recent changes to the IRQ framework have made passing the wrong
trigger type to request_irq() become a fatal error.  In the case
of the enc28j60 driver, it stopped working in my test harness.

(Specifically:  the signal detects "pin change" events, both edges,
not just falling edges.  Similarly, other boards might route it
through an inverter.  Trigger type are board-specific.)

This fixes that problem by the usual fix of expecting board setup
code to have set up the correct IRQ trigger type.  The best known
example of that being x86 setup.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/enc28j60.c