Imre Kaloz [Wed, 1 Jun 2011 07:24:41 +0000 (07:24 +0000)]
refresh patches
SVN-Revision: 27078
Imre Kaloz [Wed, 1 Jun 2011 07:21:25 +0000 (07:21 +0000)]
fixup second led, patch from Chris
SVN-Revision: 27077
Felix Fietkau [Wed, 1 Jun 2011 02:23:30 +0000 (02:23 +0000)]
ar71xx: add profile and image building code for wzr-hp-ag300h
SVN-Revision: 27076
Felix Fietkau [Wed, 1 Jun 2011 02:23:26 +0000 (02:23 +0000)]
ar71xx: add kernel support for the buffalo wzr-hp-ag300h
SVN-Revision: 27075
Felix Fietkau [Wed, 1 Jun 2011 02:23:22 +0000 (02:23 +0000)]
fix a crash in mtd_concat when the .sync op is not implemented
SVN-Revision: 27074
Felix Fietkau [Wed, 1 Jun 2011 02:23:18 +0000 (02:23 +0000)]
m25p80: add the chip id for the winbond w25q128 chip
SVN-Revision: 27073
Imre Kaloz [Tue, 31 May 2011 23:55:33 +0000 (23:55 +0000)]
fixup pcie clock, thanks Chris
SVN-Revision: 27072
Felix Fietkau [Tue, 31 May 2011 23:07:29 +0000 (23:07 +0000)]
mac80211: update to wireless-testing 2011-05-27
SVN-Revision: 27071
Gabor Juhos [Tue, 31 May 2011 22:53:47 +0000 (22:53 +0000)]
ar71xx: build images for the AP121 boards
SVN-Revision: 27070
Gabor Juhos [Tue, 31 May 2011 22:53:45 +0000 (22:53 +0000)]
ar71xx: add sysupgrade support for the AP121 boards
SVN-Revision: 27069
Gabor Juhos [Tue, 31 May 2011 22:53:44 +0000 (22:53 +0000)]
ar71xx: add default network config for the AP121 boards
SVN-Revision: 27068
Gabor Juhos [Tue, 31 May 2011 22:53:43 +0000 (22:53 +0000)]
ar71xx: add support for the AP121/AP121-MINI reference boards
SVN-Revision: 27067
Gabor Juhos [Tue, 31 May 2011 22:53:42 +0000 (22:53 +0000)]
ar71xx: register UART for the AR933X SoCs
SVN-Revision: 27066
Gabor Juhos [Tue, 31 May 2011 22:53:40 +0000 (22:53 +0000)]
ar71xx: add serial driver for the AR933X UART
SVN-Revision: 27065
Gabor Juhos [Tue, 31 May 2011 22:53:39 +0000 (22:53 +0000)]
ar71xx: add WMAC initialization code for the AR933X SoCs
SVN-Revision: 27064
Gabor Juhos [Tue, 31 May 2011 22:53:37 +0000 (22:53 +0000)]
ar71xx: add ethernet initialization for the AR933X SoCs
SVN-Revision: 27063
Gabor Juhos [Tue, 31 May 2011 22:53:36 +0000 (22:53 +0000)]
ar71xx: enable USB support for the AR933x SoCs
SVN-Revision: 27062
Gabor Juhos [Tue, 31 May 2011 22:53:35 +0000 (22:53 +0000)]
ar71xx: add AR933x specific glue for ar71xx_device{start,stop}
SVN-Revision: 27061
Gabor Juhos [Tue, 31 May 2011 22:53:34 +0000 (22:53 +0000)]
ar71xx: the watchdog uses the reference clock on the AR933x SoCs
SVN-Revision: 27060
Gabor Juhos [Tue, 31 May 2011 22:53:32 +0000 (22:53 +0000)]
ar71xx: add AR933x specific glue code for IRQ initialization
SVN-Revision: 27059
Gabor Juhos [Tue, 31 May 2011 22:53:31 +0000 (22:53 +0000)]
ar71xx: don't register 8250 UART on the AR933x SoCs
SVN-Revision: 27058
Gabor Juhos [Tue, 31 May 2011 22:53:30 +0000 (22:53 +0000)]
ar71xx: enable GPIO support for the AR933x SoCs
SVN-Revision: 27057
Gabor Juhos [Tue, 31 May 2011 22:53:29 +0000 (22:53 +0000)]
ar71xx: add AR933x specific frequency initialization code
SVN-Revision: 27056
Gabor Juhos [Tue, 31 May 2011 22:53:27 +0000 (22:53 +0000)]
ar71xx: add AR933x specific early_printk support
SVN-Revision: 27055
Gabor Juhos [Tue, 31 May 2011 22:53:26 +0000 (22:53 +0000)]
ar71xx: add preliminary support for the Atheros AR933x SoCs
SVN-Revision: 27054
Gabor Juhos [Tue, 31 May 2011 22:53:25 +0000 (22:53 +0000)]
ar71xx: stop producing -NA factory images and tag factory images with hd_id for WNDR3700v2
NETGEAR doesn
\92t produce a distinct North American image for
WNDR3700v2, they use the same image worldwide. This is a change from
earlier models such as WNDR3700 (v1). NETGEAR's v2 images now contain
an "hd_id" parameter, as well. All observed WNDR3700v2, WNDR3800, and
WNDRMAC images use
29763654+16+64 as their hd_id value.
This patch changes the OpenWrt WNDR3700v2 "factory" image generation
to stop producing the extraneous -NA version and to tag the image with
the same hd_id used in NETGEAR's images.
There is no change to WNDR3700 (v1) image generation, as NETGEAR
continues to produce distinct -NA and worldwide images, neither of
which are tagged with hd_id.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 27053
Gabor Juhos [Tue, 31 May 2011 22:53:24 +0000 (22:53 +0000)]
tools/firmware-utils: add support for hd_id tag into mkdniimg
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 27052
Gabor Juhos [Tue, 31 May 2011 22:53:22 +0000 (22:53 +0000)]
ar71xx: create factory images for the WZR-HP-G30{0,1}NH boards
SVN-Revision: 27051
Gabor Juhos [Tue, 31 May 2011 22:53:21 +0000 (22:53 +0000)]
tools/firmware-utils: add buffalo specific fw tools
SVN-Revision: 27050
Gabor Juhos [Tue, 31 May 2011 22:53:20 +0000 (22:53 +0000)]
ar71xx: Fix header offset for newer WRT160NL models
Newer WRT160NLs have a flash chip with 4K erase blocks instead of 64K,
resulting in miscalculated partition sizes.
Since the actual sizes did not change, hardcode them to their current
sizes, and make sure they are at least one erase block big (in case Cisco
decides to start to use chips with 128K erase blocks).
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27049
Gabor Juhos [Tue, 31 May 2011 22:53:19 +0000 (22:53 +0000)]
ar71xx: add SOC_AR{71XX,724X,913X,934X} config symbols
SVN-Revision: 27048
Gabor Juhos [Tue, 31 May 2011 22:53:18 +0000 (22:53 +0000)]
ar71xx: reduce the size of the squashfs-4k binaries
SVN-Revision: 27047
Gabor Juhos [Tue, 31 May 2011 22:53:16 +0000 (22:53 +0000)]
mac80211: make ath9k available even if PCI support is disabled
SVN-Revision: 27046
Gabor Juhos [Tue, 31 May 2011 22:53:15 +0000 (22:53 +0000)]
ar71xx: initialize is_clk_25mhz field for AR9340 WMAC
SVN-Revision: 27045
Gabor Juhos [Tue, 31 May 2011 22:53:14 +0000 (22:53 +0000)]
ar71xx: sync ath9k_platform_data.h with compat-wireless
SVN-Revision: 27044
Gabor Juhos [Tue, 31 May 2011 22:53:13 +0000 (22:53 +0000)]
ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards
SVN-Revision: 27043
Gabor Juhos [Tue, 31 May 2011 22:53:12 +0000 (22:53 +0000)]
ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
SVN-Revision: 27042
Gabor Juhos [Tue, 31 May 2011 22:53:10 +0000 (22:53 +0000)]
ar71xx: ag71xx: make ring sizes configurable via ethtool
SVN-Revision: 27041
Gabor Juhos [Tue, 31 May 2011 22:53:09 +0000 (22:53 +0000)]
ar71xx: ag71xx: prepare to make ring sizes configurable
SVN-Revision: 27040
Gabor Juhos [Tue, 31 May 2011 22:53:07 +0000 (22:53 +0000)]
ar71xx: ag71xx: nuke unused AG71XX_TX_FIFO_LEN define
Reported-by: Dave Täht <dave.taht@gmail.com>
SVN-Revision: 27039
Felix Fietkau [Tue, 31 May 2011 16:57:05 +0000 (16:57 +0000)]
x86: add additional companion chip drivers to alix2 and geos
Add the MFGPT high precision timers, and integration into the schedule (clock events).
Use OHCI, not UHCI usb module.
Remove VIA SATA driver from Alix2... that was accidentally cloned from net5501 platform.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27038
Felix Fietkau [Tue, 31 May 2011 16:57:01 +0000 (16:57 +0000)]
x86: remove pata-amd driver from generic x86 images, add addition cs553x modules
The pata-cs5535/pata-cs5536 driver is actually fairly rare: it only gets used on embedded platforms. Therefore, we remove it from the generic x86 configuration.
Also, add definitions for other useful geode modules (high-res timers, MFGPT timers, etc).
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27037
Mirko Vogt [Tue, 31 May 2011 09:47:30 +0000 (09:47 +0000)]
purge out CONFIG_CRYPTO* symbols out of target specific kernel configs since OpenWrt is taking care of them
SVN-Revision: 27036
Felix Fietkau [Mon, 30 May 2011 23:08:01 +0000 (23:08 +0000)]
ar71xx: only enable the rx engine after the link is up, fixes a race condition that got rx stuck when the interface is brought up during lots of inbound traffic (thx, matteo)
SVN-Revision: 27035
Felix Fietkau [Mon, 30 May 2011 23:07:57 +0000 (23:07 +0000)]
ar71xx: disable flow control for ar724x, it can get stuck in a loop of continously sending MAC pause frames
SVN-Revision: 27034
Felix Fietkau [Mon, 30 May 2011 23:07:53 +0000 (23:07 +0000)]
remove the now unused Target-Kernel field from the target metadata
SVN-Revision: 27033
Felix Fietkau [Mon, 30 May 2011 23:07:48 +0000 (23:07 +0000)]
remove kernel major version specific kernelpackage overrides
SVN-Revision: 27032
Imre Kaloz [Mon, 30 May 2011 13:55:34 +0000 (13:55 +0000)]
upgrade to 2.6.39
SVN-Revision: 27030
Felix Fietkau [Mon, 30 May 2011 13:38:54 +0000 (13:38 +0000)]
ath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work just as well, and will use a lot less memory
SVN-Revision: 27029
John Crispin [Sun, 29 May 2011 21:19:26 +0000 (21:19 +0000)]
* backport 2.6.8 patches to .39 / .32.33
* remove lqtapi
* bump tapi/dsl to .39
* migrate to new ltq_ style api
* add amazon_se support
SVN-Revision: 27026
Felix Fietkau [Sat, 28 May 2011 16:45:17 +0000 (16:45 +0000)]
ath9k: merge a few bugfixes
SVN-Revision: 27025
Felix Fietkau [Sat, 28 May 2011 16:27:24 +0000 (16:27 +0000)]
ath5k: disable fast channel changes, some people have reported that they introduce connection stability issues
SVN-Revision: 27024
Felix Fietkau [Sat, 28 May 2011 16:27:21 +0000 (16:27 +0000)]
remove legacy package/foo-compile wrapper targets, people should be used to the correct target names by now
SVN-Revision: 27023
Felix Fietkau [Sat, 28 May 2011 16:27:17 +0000 (16:27 +0000)]
hostapd: fix a race condition related to assoc response tx status processing
SVN-Revision: 27022
Felix Fietkau [Sat, 28 May 2011 16:27:12 +0000 (16:27 +0000)]
hostapd: update to
20110527, includes a client mode wpa auth fix
SVN-Revision: 27021
Florian Fainelli [Fri, 27 May 2011 09:54:52 +0000 (09:54 +0000)]
bcm63xx: Add support for 2.6.39
Add support for Kernel 2.6.39. Boots fine on a BCM6358.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27019
Florian Fainelli [Fri, 27 May 2011 09:54:48 +0000 (09:54 +0000)]
bcm63xx: Add support for 2.6.38
Add support for Kernel 2.6.38, based on 2.6.38.6. Boots fine on a BCM6358.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 27018
Florian Fainelli [Thu, 26 May 2011 13:53:00 +0000 (13:53 +0000)]
fold 446-board-D4PW_correction.patch in 440-board-D4PW.patch
SVN-Revision: 27014
Florian Fainelli [Thu, 26 May 2011 13:52:56 +0000 (13:52 +0000)]
renumber patches accordingly
SVN-Revision: 27013
Florian Fainelli [Thu, 26 May 2011 12:09:15 +0000 (12:09 +0000)]
renumber board patches
SVN-Revision: 27012
Hauke Mehrtens [Wed, 25 May 2011 20:57:13 +0000 (20:57 +0000)]
kernel: exportfs: reallow building as a module
It was originally tristate, but was changed to bool to prevent a build
breakage in an earlier patch revision (for a new syscall). The actual
commit[1] changed it in a way this isn't needed anymore, but
accidentially left the EXPORTFS change in. There's no reason for it
not being buildable as a module, so changing it back to tristate is
fine.
see: https://patchwork.kernel.org/patch/812832/
Thank you Jonas Gorski for the patch.
SVN-Revision: 27011
Hauke Mehrtens [Wed, 25 May 2011 19:51:40 +0000 (19:51 +0000)]
kernel: generic: Update 2.6.39 to final
* Add missing config symbols
* Update package/kernel for 2.6.39
CONFIG_BT_L2CAP=y and CONFIG_BT_SCO=y are set to build them into the bluetooth module.
Thank you Jonas Gorski for the patch
SVN-Revision: 27010
Hauke Mehrtens [Wed, 25 May 2011 19:32:00 +0000 (19:32 +0000)]
kernel: some updates for kernel 2.6.39
* add md5sum for kernel
* add some missing config symbols
* add some ssb patches to make compat-wireless compile
Thank you Peter Wagner for the patch
SVN-Revision: 27009
Hauke Mehrtens [Wed, 25 May 2011 19:27:08 +0000 (19:27 +0000)]
brcm47xx: initial 2.6.39 support for brcm47xx
Thank you Peter Wagner for the patch
SVN-Revision: 27008
Florian Fainelli [Wed, 25 May 2011 19:16:58 +0000 (19:16 +0000)]
fix mtd warnings
Fixes for the following warnings:
drivers/mtd/devices/block2mtd.c: In function '_open_bdev':
drivers/mtd/devices/block2mtd.c:272:3: warning: ISO C90 forbids mixed declarations and code
drivers/mtd/devices/block2mtd.c: In function 'add_device':
drivers/mtd/devices/block2mtd.c:399:13: warning: assignment discards qualifiers from pointer target type
In the case of 442-block2mtd_probe.patch, it's not until the insertion of a executable statement before the definition that causes a warning, so I've chosen to resolve the issue here by splitting the definition and the initialization into a definition and a statement (and assignment) instead.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27007
Hauke Mehrtens [Wed, 25 May 2011 18:05:54 +0000 (18:05 +0000)]
brcm47xx: remove old kernel
SVN-Revision: 27006
Hauke Mehrtens [Wed, 25 May 2011 17:46:34 +0000 (17:46 +0000)]
brcm47xx: fix partition layout on SimpleShare devices.
The flash driver code should be cleaned up and the broad detection code should be placed into arch code and used here.
This fixes #9323
Thank you Will Holmes for the patch.
SVN-Revision: 27005
Mirko Vogt [Tue, 24 May 2011 15:53:15 +0000 (15:53 +0000)]
use 'fputws_unlocked(S,F)' instead of 'fputws(S,F)'
this eliminates a source of reproduceable freezes
http://lists.uclibc.org/pipermail/uclibc/2011-May/045367.html
SVN-Revision: 27001
Felix Fietkau [Tue, 24 May 2011 10:42:49 +0000 (10:42 +0000)]
libpcap: properly fix fPIC handling (reverts $(FPIC) added in r26999)
SVN-Revision: 27000
Jo-Philipp Wich [Tue, 24 May 2011 10:36:25 +0000 (10:36 +0000)]
libpcap: add -fpic, refresh patches
SVN-Revision: 26999
Hamish Guthrie [Tue, 24 May 2011 10:00:36 +0000 (10:00 +0000)]
Clean up patch not applying
SVN-Revision: 26997
Jo-Philipp Wich [Tue, 24 May 2011 09:53:53 +0000 (09:53 +0000)]
libpcap: remove empty patchfiles
SVN-Revision: 26996
Jo-Philipp Wich [Tue, 24 May 2011 09:51:08 +0000 (09:51 +0000)]
Update libpcap to version 1.1.1
Signed-off-by: Christoph König <christoph.koenig@ikt.uni-hannover.de>
SVN-Revision: 26995
Felix Fietkau [Tue, 24 May 2011 09:31:37 +0000 (09:31 +0000)]
base-files: make the MAC address of bridge interfaces sticky to avoid ARP issues on wifi re-configuration
SVN-Revision: 26990
Jo-Philipp Wich [Tue, 24 May 2011 09:30:24 +0000 (09:30 +0000)]
Add support for git-svn package feeds Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
SVN-Revision: 26988
Jo-Philipp Wich [Tue, 24 May 2011 09:27:23 +0000 (09:27 +0000)]
base-files: mark /etc/crontabs/ as config directory
SVN-Revision: 26986
Jo-Philipp Wich [Tue, 24 May 2011 09:14:35 +0000 (09:14 +0000)]
kernel: kmod-crypto-iv depends on kmod-crypto-manager Add a missing dependency to kmod-crypto-iv. chainiv.ko and eseqiv.ko from kmod-crypto-iv depend on crypto_blkcipher.ko from kmod-crypto-manager.
Signed-off-by: Lars Hjersted <lars@hjersted.com>
SVN-Revision: 26984
Jo-Philipp Wich [Tue, 24 May 2011 09:12:50 +0000 (09:12 +0000)]
dnsmasq: allow hostname assignment without static lease The attached patch for dnsmasq.init allows to assign a hostname to a particular mac-address. It's useful to override the client supplied hostname, especially if the client does not supply a hostname at all.
It corresponds to the following example in dnsmasq.conf.example:
# Always set the name of the host with hardware address
# 11:22:33:44:55:66 to be "fred"
#dhcp-host=11:22:33:44:55:66,fred
Regards
Mathias
SVN-Revision: 26983
Jo-Philipp Wich [Tue, 24 May 2011 08:14:29 +0000 (08:14 +0000)]
package u32 match and TEE target, patches by Maxim Uvarov
SVN-Revision: 26977
Jo-Philipp Wich [Sun, 22 May 2011 16:53:09 +0000 (16:53 +0000)]
ncurses: enable C++ bindings (#9442)
SVN-Revision: 26970
Jo-Philipp Wich [Sun, 22 May 2011 12:02:35 +0000 (12:02 +0000)]
iw: fix calculation of fractional multicast rates like 5.5Mbps due to wrong operator precedence
SVN-Revision: 26968
Felix Fietkau [Fri, 20 May 2011 16:21:30 +0000 (16:21 +0000)]
add LD_LIBRARY to cmake.mk
Otherwise cmake programs try to link with host ld.so
Signed-off-by: Jan Willies <jan@willies.info>
SVN-Revision: 26963
Jo-Philipp Wich [Fri, 20 May 2011 13:45:40 +0000 (13:45 +0000)]
firewall: explictely mention network in default configuration, makes it less confusing
SVN-Revision: 26961
Florian Fainelli [Fri, 20 May 2011 10:06:25 +0000 (10:06 +0000)]
add support for BT Voyager 2110 (#8810)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
SVN-Revision: 26959
Florian Fainelli [Fri, 20 May 2011 10:06:22 +0000 (10:06 +0000)]
add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>
SVN-Revision: 26958
Florian Fainelli [Fri, 20 May 2011 10:06:18 +0000 (10:06 +0000)]
refresh patches
SVN-Revision: 26957
Florian Fainelli [Fri, 20 May 2011 10:06:15 +0000 (10:06 +0000)]
add support for D-Link DVA-G3810BN/TL
This patch adds support for D-Link's DVA-G3810BN/TL product.
Signed-off-by: Roman Dumycz <roman@secureas.com>
SVN-Revision: 26956
Florian Fainelli [Fri, 20 May 2011 10:06:11 +0000 (10:06 +0000)]
refresh 2.6.37 patches
SVN-Revision: 26955
Florian Fainelli [Fri, 20 May 2011 10:06:07 +0000 (10:06 +0000)]
add support for BT Voyager 2500 (#9070)
SVN-Revision: 26954
Florian Fainelli [Fri, 20 May 2011 10:06:04 +0000 (10:06 +0000)]
add support for USR9108 LEDs (#9372)
SVN-Revision: 26953
Florian Fainelli [Fri, 20 May 2011 10:06:00 +0000 (10:06 +0000)]
add GT701 LEDs support (#9382)
SVN-Revision: 26952
Felix Fietkau [Thu, 19 May 2011 10:08:02 +0000 (10:08 +0000)]
broadcom-wl: fix wild ssb_device accesses as pci_dev for legacy pci dma api
broadcom-wl driver bound to ssb device with ssb driver probe
have osh handle struct pdev pointer value initialized with
ssb_device pointer. Later on pdev is used with legacy pci
dma api as pci_dev thus causing oops sometimes.
The patch replaces legacy pci dma api and pass relevant
device struct pointer to avoid crashes.
Signed-off-by: George Kashperko <george@znau.edu.ua>
SVN-Revision: 26949
Felix Fietkau [Thu, 19 May 2011 10:07:57 +0000 (10:07 +0000)]
broadcom-wl: fix uninitialized variable
It was causing an occasional kernel oops.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 26948
Felix Fietkau [Thu, 19 May 2011 09:33:45 +0000 (09:33 +0000)]
ath9k: fix some locking issues in the tx fifo cleanup patch
SVN-Revision: 26947
Daniel Dickinson [Thu, 19 May 2011 04:29:40 +0000 (04:29 +0000)]
Simple typo for kmod- prefix in alix2 target makefile.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 26945
Hamish Guthrie [Wed, 18 May 2011 12:43:54 +0000 (12:43 +0000)]
Remove override of max80211.sh
SVN-Revision: 26936
Felix Fietkau [Wed, 18 May 2011 12:03:08 +0000 (12:03 +0000)]
ath9k: clean up tx fifo handling on ar9380 based hardware
SVN-Revision: 26934
Felix Fietkau [Wed, 18 May 2011 12:03:04 +0000 (12:03 +0000)]
ath9k: fix a small race condition in the tx_last_beacon patch
SVN-Revision: 26933
Hamish Guthrie [Wed, 18 May 2011 11:50:36 +0000 (11:50 +0000)]
Move beagleboard base-files to beagleboard sub-target, remove unused mac80211.sh
SVN-Revision: 26932
Jo-Philipp Wich [Wed, 18 May 2011 09:50:06 +0000 (09:50 +0000)]
ipcalc.sh CIDR notation 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
SVN-Revision: 26930