summaryrefslogtreecommitdiff
path: root/packages/wifistix/wifistix-modules/realtime-kernel.patch
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2007-09-29 20:43:38 +0000
committerPhilip Balister <philip@balister.org>2007-09-29 20:43:38 +0000
commitea52a2ce713343961a660f74efd5fbff95668f94 (patch)
tree4c83af5a077ed985c6ac4c73f04995c29e56ab5f /packages/wifistix/wifistix-modules/realtime-kernel.patch
parent6feecb2942024a270c39b50d6892be3f421dcab6 (diff)
wifistix : Add driver for Marvell cf8385 wireless interface driver for gumstix.
Diffstat (limited to 'packages/wifistix/wifistix-modules/realtime-kernel.patch')
-rw-r--r--packages/wifistix/wifistix-modules/realtime-kernel.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/wifistix/wifistix-modules/realtime-kernel.patch b/packages/wifistix/wifistix-modules/realtime-kernel.patch
new file mode 100644
index 0000000000..49a86c29de
--- /dev/null
+++ b/packages/wifistix/wifistix-modules/realtime-kernel.patch
@@ -0,0 +1,25 @@
+Index: src_cf8385/if/if_mcf/if_cf.c
+===================================================================
+--- src_cf8385.orig/if/if_mcf/if_cf.c
++++ src_cf8385/if/if_mcf/if_cf.c
+@@ -238,10 +238,9 @@ static void init_cf_addr(wlan_private *p
+ * @brief This function is interrupt handler.
+ * @param iqr interrupt number
+ * @param dev_id pointer to net_device structure
+- * @param regs pointer to pt_regs structure
+ * @return n/a
+ */
+-static IRQ_RET_TYPE cf_interrupt(int irq, void *dev_id, struct pt_regs *regs)
++static IRQ_RET_TYPE cf_interrupt(int irq, void *dev_id)
+ {
+ struct net_device *dev = dev_id;
+ wlan_private *priv = (wlan_private *) dev->priv;
+@@ -710,7 +709,7 @@ int sbi_register_dev(wlan_private * priv
+
+ PRINTM(INFO, "IRQ %d\n", cardp.irq);
+
+- ret = request_irq(cardp.irq, cf_interrupt, SA_SHIRQ,
++ ret = request_irq(cardp.irq, cf_interrupt, IRQF_SHARED,
+ "cf_irq", priv->wlan_dev.netdev );
+
+ if (ret != 0)