Skip to contentSkip to conversation

Orinoco 2.5.39 include fix

PATCH In review [email protected] 2 participants 2 messages Sep 29, 2002 – Sep 30, 2002 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Orinoco 2.5.39 include fix

2.5.39 with orinoco support fails to include because of tqueue.h isn't included. This patch fixes that so that the orinoco module compiles.

This patch has been untested because the keyboard on my Toshiba 505-S5004 has not worked since 2.5.31. :(

(An aside -- Some day I'm going to have a kernel patch accepted. Some day...)

drivers/net/wireless/orinoco.c +1 -0
diff -urN linux-2.5.39/drivers/net/wireless/orinoco.c linux-2.5.39.new/drivers/net/wireless/orinoco.c
@@ -372,6 +372,7 @@
 #include <linux/if_arp.h>
 #include <linux/etherdevice.h>
 #include <linux/wireless.h>
+#include <linux/tqueue.h>
 
 #include "hermes.h"
 #include "hermes_rid.h"
drivers/net/wireless/orinoco_cs.c +1 -0
diff -urN linux-2.5.39/drivers/net/wireless/orinoco_cs.c linux-2.5.39.new/drivers/net/wireless/orinoco_cs.c
@@ -32,6 +32,7 @@
 #include <linux/if_arp.h>
 #include <linux/etherdevice.h>
 #include <linux/wireless.h>
+#include <linux/tqueue.h>
 
 #include <pcmcia/version.h>
 #include <pcmcia/cs_types.h>
Signature · 2 lines
GnuPG fingerprint AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400
James Blackwell  --  Director http://www.linuxguru.net
#1 lore raw
Quoted 9 lines · On Sun, Sep 29, 2002 at 04:11:59PM -0400, [email protected] wrote:

2.5.39 with orinoco support fails to include because of tqueue.h isn't included. This patch fixes that so that the orinoco module compiles.

This patch has been untested because the keyboard on my Toshiba 505-S5004 has not worked since 2.5.31. :(

(An aside -- Some day I'm going to have a kernel patch accepted. Some day...)

Hmm.. I can't seem to reproduce the problem (but I'm having trouble getting 2.5.39 to compile at all on my PowerMac). Nonetheless tqueue.h should be included directly, so I've included a patch with similar intent into the next driver update, patch coming soon.

Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson