[Angstrom-devel] [PATCH] Poodle WPA support
Helge Deller
deller at gmx.de
Sun Feb 17 22:49:20 CET 2008
Could the developers here please check this patch for correctness and if OK, commit it to the -dev branch?
Basically it enables WPA wireless support with CF-WIFI-cards on Poodle by default.
This is done by adding some missing config lines (MACHINE_FEATURES_append_poodle and MACHINE_EXTRA_RRECOMMENDS_poodle), which are similiar to the ones of other Zaurus devices.
In task-base.bb I've added the "kernel-module-crypto_algapi" and "kernel-module-cryptomgr" to the WIFI section, since they are necessary for WPA support.
I assume this should make other Devices WPA-ready as well (is anybody else testing WPA?).
Last but not least, the patch against "packages/linux/linux-rp-2.6.24/pxafb.patch" cleans up the patch itself.
Somehow one section went in there twice.
Thanks,
Helge
============================================================
--- conf/machine/include/zaurus-2.6.inc 39d33e732bf59736015329814890e175fef292aa
+++ conf/machine/include/zaurus-2.6.inc b18a61d786ca9ff15682abff9637b3e6fda7c071
@@ -26,12 +26,13 @@ MACHINE_FEATURES_append_spitz = " usbhos
MACHINE_FEATURES_append_tosa = " usbhost wifi "
MACHINE_FEATURES_append_akita = " usbhost "
MACHINE_FEATURES_append_spitz = " usbhost ext2 "
+MACHINE_FEATURES_append_poodle= " wifi "
MACHINE_EXTRA_RDEPENDS = "zaurusd"
MACHINE_EXTRA_RRECOMMENDS_c7x0 = "kernel-module-snd-soc-corgi kernel-module-pxa2xx-cs kernel-module-pcmcia"
MACHINE_EXTRA_RRECOMMENDS_akita = "kernel-module-snd-soc-spitz kernel-module-pxa2xx-cs kernel-module-pcmcia"
MACHINE_EXTRA_RRECOMMENDS_spitz = "kernel-module-snd-soc-spitz"
-MACHINE_EXTRA_RRECOMMENDS_poodle = "kernel-module-snd-soc-poodle"
+MACHINE_EXTRA_RRECOMMENDS_poodle = "kernel-module-snd-soc-poodle kernel-module-pxa2xx-cs kernel-module-pcmcia"
MACHINE_EXTRA_RRECOMMENDS_collie = "kernel-module-locomo-spi kernel-module-sa1100-cs kernel-module-mmc-block \
kernel-module-collie-ts kernel-module-leds-locomo kernel-module-locomokbd"
============================================================
--- packages/tasks/task-base.bb 461108bf3685f7346e95114839d03eebb184593b
+++ packages/tasks/task-base.bb 37aa3d6c27df362f019142443c1e917b48d198e6
@@ -345,6 +346,8 @@ RRECOMMENDS_task-base-wifi = "\
kernel-module-ieee80211-crypt-wep \
kernel-module-ecb \
kernel-module-arc4 \
+ kernel-module-crypto_algapi \
+ kernel-module-cryptomgr \
kernel-module-michael-mic \
kernel-module-aes"
============================================================
--- packages/linux/linux-rp-2.6.24/pxafb.patch d67eb27feca26ea83424f3eebfe5fd89f5e3b75f
+++ packages/linux/linux-rp-2.6.24/pxafb.patch f885ab91c336e3345ebcc06ff37f90b630dca0d1
@@ -11,16 +11,3 @@ Index: linux-2.6.23/drivers/video/pxafb.
lccr3 = fbi->reg_lccr3;
set_hsync_time(fbi, pcd);
fbi->reg_lccr3 = (fbi->reg_lccr3 & ~0xff) | LCCR3_PixClkDiv(pcd);
-Index: linux-2.6.23/drivers/video/pxafb.c
-===================================================================
---- linux-2.6.23.orig/drivers/video/pxafb.c 2008-01-25 16:25:21.000000000 -0800
-+++ linux-2.6.23/drivers/video/pxafb.c 2008-01-25 16:32:14.000000000 -0800
-@@ -1194,7 +1194,7 @@
- if ((clkinfo->old == 13000))
- break;
-
-- pcd = get_pcd(fbi->fb.var.pixclock);
-+ pcd = get_pcd(fbi,fbi->fb.var.pixclock);
- lccr3 = fbi->reg_lccr3;
- set_hsync_time(fbi, pcd);
- fbi->reg_lccr3 = (fbi->reg_lccr3 & ~0xff) | LCCR3_PixClkDiv(pcd);
More information about the Angstrom-distro-devel
mailing list