aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] ipcalc.sh CIDR notationJo-Philipp Wich2011-05-182-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, the attached patch makes ipcalc.sh accept IP/Netmask combinations in CIDR notation. Before you could only do: # sh ipcalc.sh 192.168.0.0 255.255.255.0 1 10 IP=192.168.0.0 NETMASK=255.255.255.0 BROADCAST=192.168.0.255 NETWORK=192.168.0.0 PREFIX=24 START=192.168.0.1 END=192.168.0.11 with this patch you can also execute it with: sh ipcalc.sh 192.168.0.0/24 1 10 IP=192.168.0.0 NETMASK=255.255.255.0 BROADCAST=192.168.0.255 NETWORK=192.168.0.0 PREFIX=24 START=192.168.0.1 END=192.168.0.11 The patch is based on #1260 [1], i just changed one line to calculate the START end END ips right. I wonder why that never got included. If there is no reason not to do i would like to ask you to commit that patch, because its a functionality i (and probably others) miss quite often. Btw, i also fixed 4 useless tabs, that might look a bit strange in the patch. Regards, Manuel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: sync the CONFIG_ATH5K_DEBUG make override with the buildflags ↵Felix Fietkau2011-05-171-1/+1
| | | | | | override (thx, KanjiMonster) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* metadata: do not emit feature flag selects for targets which have subtargets ↵Felix Fietkau2011-05-171-1/+2
| | | | | | - fixes a buildbot error cause by ssb not being blacklisted for lantiq falcon git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't probe the LAN PHYMatteo Croce2011-05-171-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: implement tx_last_beacon() to allow mac80211 to respond to probe ↵Felix Fietkau2011-05-171-0/+106
| | | | | | requests in ad-hoc mode without creating too much spam git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26923 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: detect link on LAN portsMatteo Croce2011-05-173-3/+32
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [modules]John Crispin2011-05-171-1/+1
| | | | | | | | | * add missing aes dependency to mv_cesa Signed-off-by: Jan Willies <jan@willies.info> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [x86]John Crispin2011-05-177-1/+120
| | | | | | | | | * adds support for Artec Thincan Signed-of-By: Lauri Võsandi <lauri.vosandi@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools]John Crispin2011-05-173-1/+35
| | | | | | | | * adds mkelfimage git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix ad-hoc nexttbtt calculation, which broke beacon transmission in ↵Felix Fietkau2011-05-171-0/+11
| | | | | | some instances git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: fix issues with ad-hoc beacon slot selectionFelix Fietkau2011-05-161-0/+50
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to 2011-05-13Felix Fietkau2011-05-1634-906/+167
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport some ssb changes to support a mac80211 updateFelix Fietkau2011-05-166-0/+462
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic] remove an accidentally copied comment from the option.ko device patchJo-Philipp Wich2011-05-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic] add definitions for Alcatel X220D and Huawai E173s to option.ko ↵Jo-Philipp Wich2011-05-156-0/+207
| | | | | | (#9422) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel from 2.6.38.2 to 2.6.38.6 and refresh patchesHauke Mehrtens2011-05-1569-511/+298
| | | | | | | Thank you Peter Wagner for the patch. I refreshed the kernel patches and added the md5sum of the kernel. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26905 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: crypto: Remove renamed modules hackVasilis Tsiligiannis2011-05-151-23/+9
| | | | | | | | | Since the oldest kernel in trunk is 2.6.30 the modules always use the newer names, so we can just use the _generic prefix directly. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26903 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: netfilter: Remove 2.4/2.6 referencesVasilis Tsiligiannis2011-05-151-12/+8
| | | | | | | | | There's only 2.6, so it doesn't make sense to mention modules that are 2.4 only or for modules that they are available only for 2.6. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26902 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: Remove all 2.4 definitionsVasilis Tsiligiannis2011-05-155-106/+32
| | | | | | | | | With no 2.4 support in trunk, we can safely remove any 2.4 definitions for kmods and merge the 2.6 definitions into the generic ones. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: Remove $(KMOD_SUFFIX) usageVasilis Tsiligiannis2011-05-157-31/+31
| | | | | | | | | Since there's only 2.6 in trunk $(KMOD_SUFFIX) can be safely replaced with ko for all mainline kernel modules. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add link detection on Ubiquiti devices WAN portMatteo Croce2011-05-141-4/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use correct macros and frame size in ag71xxMatteo Croce2011-05-141-3/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: cosmetic fixesMatteo Croce2011-05-141-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Correct libc pathHamish Guthrie2011-05-131-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [omap35xx]: Add new defconfig and profile for es variantHamish Guthrie2011-05-132-0/+55
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26884 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [omap35xx] Squash uidsHamish Guthrie2011-05-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [x86] Removed Alix.mk profile which was accidently left as an empty file ↵Daniel Dickinson2011-05-131-0/+0
| | | | | | applying the patch during r26879 and r26880. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26882 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add missed files from previous commit: This patch provides an image suitable ↵Daniel Dickinson2011-05-132-0/+72
| | | | | | | | | | | | | | | | | | | for the alix2*, alix3, and alix6 headless (non-VGA equipped) SBC's. Note that the Alix6 uses GPIO 27 to disable wireless transmit (W_DIS#), whereas on all other versions this is used to actuate the speaker. GPIO 1 : SIM select (Alix6) GPIO 6 : LED1 GPIO 25 : LED2 GPIO 27 : LED3 or RFKILL (Alix6) GPIO 24 : Soft switch 1 No kernel version bump. Added i2c-scx200-acb for lm-sensors support. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26880 3c298f89-4303-0410-b956-a3cf2f4a3e73
* This patch provides an image suitable for the alix2*, alix3, and alix6 ↵Daniel Dickinson2011-05-133-17/+2
| | | | | | | | | | | | | | | | | | | headless (non-VGA equipped) SBC's. Note that the Alix6 uses GPIO 27 to disable wireless transmit (W_DIS#), whereas on all other versions this is used to actuate the speaker. GPIO 1 : SIM select (Alix6) GPIO 6 : LED1 GPIO 25 : LED2 GPIO 27 : LED3 or RFKILL (Alix6) GPIO 24 : Soft switch 1 No kernel version bump. Added i2c-scx200-acb for lm-sensors support. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26879 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Add support for the T-Home Speedport W 303VFlorian Fainelli2011-05-114-0/+120
| | | | | | | | | Add the required board definition, default config and image generation for the T-Home Speedport W 303V Typ B. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26878 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Add firmware helpers for T-Home Speedport W 303VFlorian Fainelli2011-05-113-0/+379
| | | | | | | | | Add two helpers for generating correctly tagged images for the T-Home Speedport W 303V Typ B as well as xor'd ones as required by CFE. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Update support for the DSL-274xB revision CFlorian Fainelli2011-05-114-24/+31
| | | | | | | | | | | | | Rename the DSL-274xB rev C2's board ID to "AW4139" to match the one used for the rev C3 (same hardware) and add a fixup for C2. Also generate images for C3. While we are at it, rename the LEDs to conform to the Linux LED naming conventions. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Accept any led with power in its name as power ledFlorian Fainelli2011-05-111-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Decouple Board ID and image name for fixupFlorian Fainelli2011-05-111-9/+9
| | | | | | | | | Make the fixup board ID independent from the image name to allow using the same board ID for similar devices. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ep93xx] switch to 2.6.38Florian Fainelli2011-05-116-1/+1590
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26873 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] add missing 2.6.38 touchscreen config symbolsFlorian Fainelli2011-05-111-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26872 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel/modules]John Crispin2011-05-092-207/+216
| | | | | | | | | | package/kernel/modules/other.mk is getting big enough that putting the LEDs stuff into its own file makes sense. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26868 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH v3] (respin) 802.1Q VLAN support for ADM6996M/ADM6996FCJohn Crispin2011-05-0910-44/+791
| | | | | | | | | | | | | | | | | | | | | This patch adds 802.1Q VLAN support for the ADM6996M chip. The driver is loaded for both the FC and M model. It will detect which of the two chips is connected. The FC model is initialised, but no further functionality is offered. The PHY driver will always report "100 Mbit/s, link up", for both the M and FC models. This reflects the fact that the link between switch chip and Ethernet MAC is always on[1]. Further documentation can be found in the kernel's Documentation/networking/adm6996.txt Signed-of-By: Peter Lebbing <peter@digitalbrains.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: populate LED3 on the JA76PF boardGabor Juhos2011-05-081-0/+5
| | | | | | Patch-by: Cezary Jackiewicz <cezary@eko.one.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add uci config for the WLAN LED on the WRT160NLGabor Juhos2011-05-081-0/+11
| | | | | | Based on a patch by Magyar Szabolcs <mszabi@freemail.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use phy0tpt trigger for the WLAN LEDsGabor Juhos2011-05-082-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove superfluous fifo_cfg overridesGabor Juhos2011-05-081-6/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] ipv6: restore correct ECN handling on TCP xmitTravis Kemen2011-05-082-0/+50
| | | | | | Thanks Dave Taht git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Deployment of IPv6 has opened up many more prefixes than just theTravis Kemen2011-05-081-2/+2
| | | | | | | 2000::/3 space, so a default route of ::/0 is more correct. Thanks Dave Taht git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: make switch register access atomicGabor Juhos2011-05-081-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reading of the PHY registers occasionally returns with bogus values under heavy load. This misleads the PHY driver and thus causes false link/speed change notifications which leads to performance loss. This is easily noticable during an iperf session: ... [ 3] 52.0-53.0 sec 11.3 MBytes 94.4 Mbits/sec [ 3] 53.0-54.0 sec 11.4 MBytes 95.4 Mbits/sec eth1: link down br-lan: port 2(eth1) entering forwarding state eth1: link up (100Mbps/Full duplex) br-lan: port 2(eth1) entering forwarding state br-lan: port 2(eth1) entering forwarding state [ 3] 54.0-55.0 sec 6.75 MBytes 56.6 Mbits/sec [ 3] 55.0-56.0 sec 0.00 Bytes 0.00 bits/sec [ 3] 56.0-57.0 sec 10.5 MBytes 88.1 Mbits/sec ... [ 3] 169.0-170.0 sec 11.4 MBytes 95.4 Mbits/sec [ 3] 170.0-171.0 sec 11.4 MBytes 95.4 Mbits/sec eth1: link up (10Mbps/Half duplex) [ 3] 171.0-172.0 sec 7.63 MBytes 64.0 Mbits/sec [ 3] 172.0-173.0 sec 9.38 MBytes 78.6 Mbits/sec eth1: link up (100Mbps/Full duplex) [ 3] 173.0-174.0 sec 11.3 MBytes 94.4 Mbits/sec [ 3] 174.0-175.0 sec 11.4 MBytes 95.4 Mbits/sec git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix section mismatch warningsGabor Juhos2011-05-082-2/+2
| | | | | | | | | | | | | | | | | | The function __devinit ag71xx_probe() references a function __devexit ag71xx_phy_disconnect(). This is often seen when error handling in the init function uses functionality in the exit path. The fix is often to remove the __devexit annotation of ag71xx_phy_disconnect() so it may be used outside an exit section. The function ag71xx_phy_disconnect() references a function in an exit section. Often the function ag71xx_ar7240_cleanup() has valid usage outside the exit section and the fix is to remove the __devexit annotation of ag71xx_ar7240_cleanup. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix build error if debugfs is enabledGabor Juhos2011-05-081-2/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] base-files: retrigger usb coldplug after module loading, solves ↵Jo-Philipp Wich2011-05-082-1/+6
| | | | | | usb_modeswitch on boot and possibly others (#9352) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update patchesHauke Mehrtens2011-05-0714-36/+74
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: add debugfs entry for [rt]x_ringGabor Juhos2011-05-071-0/+92
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26845 3c298f89-4303-0410-b956-a3cf2f4a3e73