summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sxg
diff options
context:
space:
mode:
authorMithlesh Thukral2009-03-20 13:05:12 +0100
committerGreg Kroah-Hartman2009-04-03 23:53:13 +0200
commit544ed364f4cac1ed6024711132e059c2746325a5 (patch)
tree4e1efbfe61b3ae1e30f2a3a7a233be3c15b77c09 /drivers/staging/sxg
parentStaging: sxg: Fix the module in Kconfig file for Sahara SXG driver (diff)
downloadkernel-qcow2-linux-544ed364f4cac1ed6024711132e059c2746325a5.tar.gz
kernel-qcow2-linux-544ed364f4cac1ed6024711132e059c2746325a5.tar.xz
kernel-qcow2-linux-544ed364f4cac1ed6024711132e059c2746325a5.zip
Staging: sxg: Fix interface bug not working after open is called second time.
Fix the problem of the interface not working after a sequence of up-down-up events. The problem was observed only on systems where the card was using MSI-X interrupts. On the second time open, the driver did not request MSI-X vector but was trying to use normal interrupts. Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com> Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sxg')
-rw-r--r--drivers/staging/sxg/sxg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sxg/sxg.c b/drivers/staging/sxg/sxg.c
index c914b9877fa8..59b241e8e288 100644
--- a/drivers/staging/sxg/sxg.c
+++ b/drivers/staging/sxg/sxg.c
@@ -2254,7 +2254,7 @@ int sxg_second_open(struct net_device * dev)
SXG_ENABLE_ALL_INTERRUPTS(adapter);
netif_carrier_on(dev);
- sxg_register_interrupt(adapter);
+ sxg_register_intr(adapter);
spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags);
return (STATUS_SUCCESS);