diff options
author | David Brownell <david-b@pacbell.net> | 2005-05-16 08:53:52 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-27 23:08:09 -0400 |
commit | 5f13e7ec5c1d98f4a63a3a79e66b2b121051f5ac (patch) | |
tree | abe58e74398f5a8f1181f047e3d936226a836288 /drivers/net/smc91x.c | |
parent | a5fe736eaf9bae1b45317313de04b564441b94f2 (diff) | |
download | linux-5f13e7ec5c1d98f4a63a3a79e66b2b121051f5ac.tar.gz linux-5f13e7ec5c1d98f4a63a3a79e66b2b121051f5ac.tar.bz2 linux-5f13e7ec5c1d98f4a63a3a79e66b2b121051f5ac.zip |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c index cfb9d3cdb04a..1438fdd20826 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 { |