summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-19Do not build RPM if changes are not commited8.2.1Deepak Saxena
This is a safety precaution to ensure that two RPMS with the same commit hash are not built out of differing source trees. All changes must be commited, creating a new commit ID, or discarded before an RPM can be built. Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
2008-12-18Remove build-id bits from RPM spec fileDeepak Saxena
Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
2008-12-18Enable Fedora/OLPC Remix bootup logoDeepak Saxena
Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
2008-12-17Add OLPC/Fedora Remix textual bootup brandingDaniel Drake
2008-12-11Recover from failed recalibration for OLPC touchpadPaul Fox
Sometimes the the HPGK touchpad will fail to properly respond to a ps2_command() during recalibration. This patch works around that issue be scheduling another recalibration if this happens. This solves http://dev.laptop.org/ticket/9008 Signed-off-by: Paul Fox <pgf@laptop.org> Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
2008-12-11Add module parameters to control OLPC touchpad delaysPaul Fox
The HPGK touchpad that is found on the XO driver has historically exhibitted eratic behaviour in various environments (very dry, very humid, etc) that can be worked around via some delays. This patch turns those delays into module parameters to make testing simpler. Signed-off-by: Paul Fox <pgf@laptop.org> Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
2008-12-03libertas: Update Scanning to not bring down interface.Anna Neal
netif_carrier_off/on was causing packet loss during a scan. This is not needed to stop the transmit queues and is not used in any other drivers. Signed-off-by: Anna Neal <anna@cozybit.com>
2008-11-11libertas: ignore unsupported auth flagsJavier Cardona
Returning -ENOSUP is confusing wpa_supplicant. Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-11-11libertas: Exclude mesh networks from main interface scan results.Javier Cardona
This confuses NetworkManager and causes it to mix scan results from different networks. Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-11-11libertas: Avoid redundant commands to clear WPA keys.Javier Cardona
Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-11-11libertas: Don't wake up the association worker without a reason.Javier Cardona
Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-11-11libertas: Don't schedule association worker when installing or clearing WPA ↵Javier Cardona
keys. Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-11-11libertas: Ignore SIOCSIWAP when BSSID is all zeros.Javier Cardona
wpa_supplicant issues a SIOCSIWAP with BSSID all zeros to clear the current association. The driver will interpret that as an association request for 'any' AP. Better to do nothing instead when such request is received. Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-11-11libertas: Decouple RSN enable/disable from WPA key installation.Javier Cardona
Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-11-02Don't detect PSMOUSE_SYNAPTICS if Synaptics protocol is not enabledDeepak Saxena
When the kernel is built w/o Synaptics protocol support, we configure a PSMOUSE_PS2 protocol device during initialization; however during suspend/resume, we report it as a PSMOUSE_SYNAPTICS protocol device. This caused the kernel to think it is not the device that was attached at resume time and so we end up doing a deffered reinitialization, which takes > 2s. This patch causes to not report a Synaptics protocol extension when protocol support is disabled and allows us to resume w/o reinitializing the device. Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
2008-10-31libertas: fix signature/mask alignment bugAnna Neal
When a rule < 4 bytes was set, the mask was applied to the wrong part of the signature. This patch corrects that. Signed-off-by: Anna Neal <anna@cozybit.com>
2008-10-31iwpriv wol command classification changes.Anna Neal
Changed the set args/get args classification to be more intuitive for set_wol_rule, get_wol_rule and reset_wol_rule. Signed-off-by: Anna Neal <anna@cozybit.com>
2008-10-31Change get_wol_rule description in READMEAnna Neal
Signed-off-by: Anna Neal <anna@cozybit.com>
2008-10-31libertas: iwpriv commands to configure fine grained wake-on-(w)lanJavier Cardona
View README for new API. Signed-off-by: Anna Neal <anna@cozybit.com> Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-10-31libertas: Fine grained configuration of wake on lan.Javier Cardona
Based on a patch from Shailendra Govardhan <shailen@marvell.com>. This patch allows implementation of more specific wake on lan rules than those of ethtool. Please note that only firmware 5.110.22.p20 and above supports this feature. Signed-off-by: Anna Neal <anna@cozybit.com> Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-10-29Add tarignore fileDeepak Saxena
Missed in last commit Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
2008-10-29Add OLPC RPM build scriptsDeepak Saxena
Add a simple mechanism to build OLPC RPMs right out of the kernel source files. Simply do "make olpc-kernel-rpm" and the resulting RPMS will be in olpc/SRPMS and olpc/RPMS directory. Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
2008-10-29Fix and clean top .gitignoreEduard - Gabriel Munteanu
Removed vmlinux* rule because it matches too many useful files, replacing it with rules matching filetype by filename (e.g. *.gz). Also unignored .mailmap from the top directory. Added a comment telling the user how to check for tracked files being ignored. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from kernel.org commit f72e9df0e04c0ea7b5c97e6db5b114234bf3c36f)
2008-10-29Unignore vmlinux.lds.h from Git.Eduard - Gabriel Munteanu
Added !vmlinux.lds.h to .gitignore because it would otherwise be ignored. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro> Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from kernel.org commit cd50e89244087432a70598e432ff199a009b0e73)
2008-10-29.gitignore: match ncscope.outJike Song
Sometimes I got this: $ git-status {snip} # On branch master # Untracked files: # (use "git add <file>..." to include in what will be committed) # # ncscope.out nothing added to commit but untracked files present (use "git add" to track) Fix it. Signed-off-by: Jike Song <albcamus@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> (cherry picked from kernel.org commit 9723c046bd5989aa9064038ce142f498bb1870d6)
2008-10-29Remove *.rej pattern from .gitignoreS.Çağlar Onur
With commit 3f1b0e1f287547903f11fa1e6de7d2765597766e ".gitignore update" Linus's current git tree starts to ignore any "*.rej" files. So "git status" no longer shows these files, but the ones who works with quilt patchsets, this not makes life easier as expected. Because sometimes a work flow (at least for me) requires "quilt push -f" followed by "git status" to see unresolved merge conflicts, work on these conflicts to correct them and finalize the patch with "quilt refresh". And if there are some "*.rej" files exists in tree, for whatever reason, this means something goes really wrong there and i think this situation not deserves to be ignored. Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> (cherry picked from kernel.org commit 1f5d3a6b6532e25a5cdf1f311956b2b03d343a48)
2008-10-29Update .gitignore to include include/linux/bounds.hTheodore Ts'o
(which is autogenerated by kbuild) Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from kernel.org commit e4c576b911e364737b1bf4f5bfdab1c440713f26)
2008-10-29Update .gitignore filesMatthew Wilcox
Add some autogenerated files to various .gitignore files Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> (cherry picked from kernel.org commit 2cfed60cc24676d65e01278dbf10d0069de02592)
2008-10-28libertas: Do not schedule a scan when one is in progress.Javier Cardona
wpa_supplicant will do a scan before associating. After reasonable period of time, it will try to read the results via a get_scan_results ioctl (SIOCGIWSCAN). If no results are available (for instance if the driver returns -EAGAIN) the supplicant will request another scan via the set_scan ioctl (SIOCSIWSCAN). When receiving the -EAGAIN error the caller should just retry a SIOCGIWSCAN. But wpa_supplicant does not check the return error and just re-issues a SIOCSIWSCAN in all cases, which worsens the problem. So a better fix for this problem would probably be in wpa_supplicant. But for now we can address this problem in the driver by not scheduling new scans when one is in progress. Also, modify lbs_get_scan so that -EAGAIN errors show up in debug logs.
2008-10-26Revert "config: enable LZO in jffs2 driver"Andres Salomon
This reverts commit 215f858d98978d7fa331a628bcc5a5e9a676de25.
2008-10-26config: enable KEYSPAN firmware in debian configAndres Salomon
Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-10-24config: enable LZO in jffs2 driverAndres Salomon
Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-10-24promfs: fix sectionsAndres Salomon
Remove __init from a bunch of functions; they're exported to modules, and thus should not be marked as such. This fixes an oops that happens when promfs is built as a module. Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-10-17config: fix redboot's DIRECTORY_BLOCKAndres Salomon
set CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK to 0; block 0 is where OFW writes the partition information. Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-10-10config: compile serial console stuff in statically in debian kernelAndres Salomon
Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-10-10config: OLPC_PM can't be a module; build staticallyAndres Salomon
Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-09-23libertas: Execute WPA key installation in ioctl context767766765Javier Cardona
WPA key installation must happen as soon as possible after the 4-way handshake or the EPOL-GTK frame cannot be decrypted and gets dropped. This patch executes WPA key installation in ioctl context instead of deferring the task to the association worker. In a previous patch I had tried to reduce the WPA key installation delay by forcing immediate execution of the association thread, but that may cause incomplete association requests. Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-09-22Revert "psmouse: upstream sync, fix low power toggle bugs"763762761Deepak Saxena
This reverts commit 93970329291a9ff73301a96a27c4af274f096835. The original commit contains changes to psmouse-base.c and olpc.c that mention an upstream fix and fixing a low power toggle bug but the commit does not point to an upstream source or describe what the bug is. Upon searching lkml, it looks like this commit is a merge of several patches sent upstream. As this has not received wide-spread testing yet, I am reverting for now and we can add the changes back in properly as separate commits after the 8.2 release. Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
2008-09-22libertas: Restrict fast key installation to WPA mode.Javier Cardona
Commit abe7a66b36f344a822 (in olpc-2.6 repository) addressed the issue of slow WPA key installation, but could break the ordering of iwconfig commands like: iwconfig eth0 essid foobar key 235232363632 mode managed channel 11 This patch adds additional guards to ensure that the fast key installation only applies to WPA. Thanks to Dan Williams for pointing that out. Note to maintainer: This patch and abe7a66b36f344a822 have been submitted as a single patch to wireless-testing: http://marc.info/?l=linux-wireless&m=122161439327313&w=2 Signed-off-by: Javier Cardona <javier@cozybit.com>
2008-09-17config: fix up generated debian config wrt PCI stuffAndres Salomon
PCI_GOANY was broken without a backported patch.. Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-09-16PCI/x86: fix up PCI stuff so that PCI_GOANY supports OLPCAndres Salomon
Previously, one would have to specifically choose CONFIG_OLPC and CONFIG_PCI_GOOLPC in order to enable PCI_OLPC. That doesn't really work for distro kernels, so this patch allows one to choose CONFIG_OLPC and CONFIG_PCI_GOANY in order to build in OLPC support in a generic kernel (as requested by Robert Millan). This also moves GOOLPC before GOANY in the menuconfig list. Finally, make pci_access_init return early if we detect OLPC hardware. There's no need to continue probing stuff, and pci_pcbios_init specifically trashes our settings (we didn't run into that before because PCI_GOANY wasn't supported). Signed-off-by: Andres Salomon <dilinger@debian.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-09-14libertas: Reduce the WPA key installation time.Javier Cardona
WPA requires that the PTK is installed immediately after the 4-way handshake in order to properly decrypt the subsequent incoming EAPOL-GTK frame. If the PTK is not enabled by the time the EAPOL-GTK frame arrives, the frame is dropped and the supplicant does not receive the group key. This will happen with fast Access Points that send the EAPOL-GTK frame before the suplicant has successfully installed and enabled the PTK. To mitigate this situation, this patch simplifies and accelerates the SIOCSIWENCODEEXT execution.
2008-09-14OLPC: allow olpc-dcon to be built as a moduleAndres Salomon
Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-09-14OLPC: allow promfs to be built as a moduleAndres Salomon
Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-09-14OLPC: don't allow olpc-pm to be built as a moduleAndres Salomon
The RTC code that was tacked in there defines an arch_initcall; meanwhile, the code also has a module_init function that conflicts w/ the RTC initcall. The RTC code should probably be separated or.. something. For now, just don't allow modular building of olpc-pm. Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-09-14config: add a config based upon debian's config-2.6.25-2-686Andres Salomon
...plus xo.config, of course. Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-09-14config: add a base XO configAndres Salomon
This config has the config snippets that an XO requires. Everything's modular, as well. This can be combined w/ a generic distro config, or to a minimalist, super-optimized config for a tiny kernel. Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-09-13DCON: select FB_BACKLIGHT when enabling the DCON driverAndres Salomon
Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-09-12Merge branch 'testing' of git+ssh://dev.laptop.org/git/olpc-2.6 into testingAndres Salomon
2008-09-12psmouse: upstream sync, fix low power toggle bugsAndres Salomon
Signed-off-by: Andres Salomon <dilinger@debian.org>