summaryrefslogtreecommitdiffstats
path: root/drivers/net/smc91x.c
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2005-05-16 08:53:52 -0700
committerJeff Garzik <jgarzik@pobox.com>2005-06-27 23:08:09 -0400
commit5f13e7ec5c1d98f4a63a3a79e66b2b121051f5ac (patch)
treeabe58e74398f5a8f1181f047e3d936226a836288 /drivers/net/smc91x.c
parenta5fe736eaf9bae1b45317313de04b564441b94f2 (diff)
downloadop-kernel-dev-5f13e7ec5c1d98f4a63a3a79e66b2b121051f5ac.zip
op-kernel-dev-5f13e7ec5c1d98f4a63a3a79e66b2b121051f5ac.tar.gz
[PATCH] smc91x needs settable IRQ trigger type
For boards that invert the SMC91x IRQ line (maybe an FPGA inverts it), the set_irq_type() call can't assume IRQT_RISING. These particular boards currently use OMAP-specific calls to change the trigger type, but the boards break when set_irq_type() stops being a NOP. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'drivers/net/smc91x.c')
-rw-r--r--drivers/net/smc91x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c
index cfb9d3c..1438fdd 100644
--- a/drivers/net/smc91x.c
+++ b/drivers/net/smc91x.c
@@ -1998,7 +1998,7 @@ static int __init smc_probe(struct net_device *dev, void __iomem *ioaddr)
if (retval)
goto err_out;
- set_irq_type(dev->irq, IRQT_RISING);
+ set_irq_type(dev->irq, SMC_IRQ_TRIGGER_TYPE);
#ifdef SMC_USE_PXA_DMA
{
OpenPOWER on IntegriCloud