[oe-commits] org.oe.dev linux-rp_2.6.23.bb : add missing patch to prevent connect+ cards from
xora commit
openembedded-commits at lists.openembedded.org
Fri Nov 16 22:48:36 UTC 2007
linux-rp_2.6.23.bb : add missing patch to prevent connect+ cards from
oopsis on insert.
Author: xora at openembedded.org
Branch: org.openembedded.dev
Revision: 7299860d8a9c6a13547c594ec97758782d127419
ViewMTN: http://monotone.openembedded.org/revision/info/7299860d8a9c6a13547c594ec97758782d127419
Files:
1
packages/linux/linux-rp-2.6.23/connectplus-prevent-oops-HACK.patch
packages/linux/linux-rp_2.6.23.bb
Diffs:
#
# mt diff -ra34feb8c5cd32b70487440b494c3f223e50b122d -r7299860d8a9c6a13547c594ec97758782d127419
#
#
#
# add_file "packages/linux/linux-rp-2.6.23/connectplus-prevent-oops-HACK.patch"
# content [e7f07c5193600ba480642fd62dcae173b6b62189]
#
# patch "packages/linux/linux-rp_2.6.23.bb"
# from [ec394e80b40202881b329768580de4f21d156493]
# to [d844e88bbee23da559c43cdc39a82d345c04e905]
#
============================================================
--- packages/linux/linux-rp-2.6.23/connectplus-prevent-oops-HACK.patch e7f07c5193600ba480642fd62dcae173b6b62189
+++ packages/linux/linux-rp-2.6.23/connectplus-prevent-oops-HACK.patch e7f07c5193600ba480642fd62dcae173b6b62189
@@ -0,0 +1,17 @@
+Index: linux-2.6.21/drivers/net/wireless/hostap/hostap_hw.c
+===================================================================
+--- linux-2.6.21.orig/drivers/net/wireless/hostap/hostap_hw.c 2007-07-07 12:45:39.000000000 +0100
++++ linux-2.6.21/drivers/net/wireless/hostap/hostap_hw.c 2007-07-07 12:47:30.000000000 +0100
+@@ -2666,6 +2666,12 @@
+ iface = netdev_priv(dev);
+ local = iface->local;
+
++ if(dev->base_addr == 0)
++ {
++ printk(KERN_DEBUG "%s: IRQ before base_addr set\n", dev->name);
++ return IRQ_HANDLED;
++ }
++
+ prism2_io_debug_add(dev, PRISM2_IO_DEBUG_CMD_INTERRUPT, 0, 0);
+
+ if (local->func->card_present && !local->func->card_present(local)) {
============================================================
--- packages/linux/linux-rp_2.6.23.bb ec394e80b40202881b329768580de4f21d156493
+++ packages/linux/linux-rp_2.6.23.bb d844e88bbee23da559c43cdc39a82d345c04e905
@@ -1,6 +1,6 @@ require linux-rp.inc
require linux-rp.inc
-PR = "r7"
+PR = "r8"
DEFAULT_PREFERENCE_qemuarm = "-1"
DEFAULT_PREFERENCE_qemux86 = "-1"
@@ -50,6 +50,7 @@ SRC_URI = "http://www.kernel.org/pub/lin
${RPSRC}/pxa_cf_initorder_hack-r1.patch;patch=1;status=hack \
file://pxa-serial-hack.patch;patch=1;status=hack \
file://connectplus-remove-ide-HACK.patch;patch=1;status=hack \
+ file://connectplus-prevent-oops-HACK.patch;patch=1;status=hack \
file://squashfs3.0-2.6.15.patch;patch=1;status=external \
file://uvesafb-0.1-rc3-2.6.22.patch;patch=1;status=external \
file://htcuni.patch;patch=1 \
More information about the Openembedded-commits
mailing list