openwrt.git
13 years agobase-files: return success on lib-copying with external toolchain
jow [Tue, 12 Apr 2011 20:37:43 +0000 (20:37 +0000)]
base-files: return success on lib-copying with external toolchain
when using an external toolchain the base-files package copies libc, libgcc and
others from the library directory.

The file list is given as following in the .config:
CONFIG_LIBC_FILE_SPEC="./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"

Because the filenames are composed with different endings, not all files exist
and will be skipped. Currently, this works only if the last composed file
(util.so.*) really exists. At the moment this works - but only if you don't add
a new file like 'uClibc'.

Adding it at the end '...resolv,util,uClibc}{-*.so,.so.*}' will lead to this
message, because the combination 'libuClibc.so.*' doesn't exist and Make will
evaluate the last copy statement of the for loop.

--- Message Snippet ---
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libnss_files.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv-*.so': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libresolv.so.*': No such file or directory
cp: cannot stat `/home/user/Desktop/code/meetwise/toolchain/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/./lib/libuClibc.so.*': No such file or directory
make[2]: *** [/home/user/Desktop/code/meetwise/openwrt/bin/at91/packages/libc_-68_at91.ipk] Error 1
make[2]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt/package/base-files'
make[1]: *** [package/base-files/compile] Error 2
make[1]: Leaving directory `/home/user/Desktop/code/meetwise/openwrt'
make: *** [package/base-files/compile] Error 2
--- /Message Snippet/ ---

To fix this unwanted behaviour I added an extra 'exit 0' to each for-loop and
make ignores non-existing files as before.

Signed-off-by: Sven Bachmann <dev@mcbachmann.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26623 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoThis patch updates qos-scripts to support fair traffic sharing using the
jow [Tue, 12 Apr 2011 20:33:11 +0000 (20:33 +0000)]
This patch updates qos-scripts to support fair traffic sharing using the
SFQ with external classifiers method.  It also corrects a bug in the
unsupported ESFQ method already used by qos-scripts.  (ESFQ:
http://fatooh.org/esfq-2.6/ only updated to 2.6.24, it was switched to
an SFQ patch after that and not updated since 2008)

A class can be forced to use SFQ, and an external classifier added like
this:

config class "Normal"
         option avgrate     10
         option priority    30
         option packetdelay 100
         option limitrate   94
#       option qdisc      "sfq perturb 2"
config class "Normal_up"
#       option filter   "protocol all flow hash keys src divisor 1024"
config class "Normal_down"
#       option filter   "protocol all flow hash keys dst divisor 1024"

Using these options, the user needs to load cls_flow before qos-scripts
starts.

I've got more information here:
http://oneitguy.com/blogs/netprince/fair-traffic-sharing-esfq-broken-switching-sfqexternal-classifiers

This has been tested on r23914.

Signed-off-by: Ben Pfountz <netprince<>vt_edu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26622 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agomissing-macros: add GTKDOC_REBASE macro needed by some newer packages
jow [Tue, 12 Apr 2011 20:19:52 +0000 (20:19 +0000)]
missing-macros: add GTKDOC_REBASE macro needed by some newer packages
Signed-off-by: Jochen Friedrich <jochen@scram.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26620 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agofirewall: allow local redirection of ports
jow [Tue, 12 Apr 2011 20:03:59 +0000 (20:03 +0000)]
firewall: allow local redirection of ports

Allow a redirect like:

config redirect
        option src 'wan'
        option dest 'lan'
        option src_dport '22001'
        option dest_port '22'
        option proto 'tcp'

note the absence of the "dest_ip" field, meaning to terminate the connection on the firewall itself.

This patch makes three changes:

(1) moves the conntrack module into the conntrack package (but not any of the conntrack_* helpers).
(2) fixes a bug where the wrong table is used when the "dest_ip" field is absent.
(3) accepts incoming connections on the destination port on the input_ZONE table, but only for DNATted
    connections.

In the above example,

ssh -p 22 root@myrouter

would fail from the outside, but:

ssh -p 22001 root@myrouter

would succeed.  This is handy if:

(1) you want to avoid ssh probes on your router, or
(2) you want to redirect incoming connections on port 22 to some machine inside your firewall, but
    still want to allow firewall access from outside.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26617 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agosolos: various upstreamed solos patches
nbd [Tue, 12 Apr 2011 19:50:15 +0000 (19:50 +0000)]
solos: various upstreamed solos patches

These patches were submitted to netdev and will likely be out in 2.6.38.3.
In the meantime, they're needed in 2.6.37.6.
Patch by Philip Prindeville

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26616 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agogeneric: Add support for 2.6.39
nbd [Tue, 12 Apr 2011 19:39:20 +0000 (19:39 +0000)]
generic: Add support for 2.6.39

Add support for 2.6.39 based on rc3. Runtime tested on bcm63xx.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26615 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agopppd: support the nomp option if multilink support is disabled
nbd [Tue, 12 Apr 2011 18:29:28 +0000 (18:29 +0000)]
pppd: support the nomp option if multilink support is disabled

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26614 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agohostapd: properly mark random data as ready if initialization succeeds without reasso...
nbd [Tue, 12 Apr 2011 17:30:16 +0000 (17:30 +0000)]
hostapd: properly mark random data as ready if initialization succeeds without reassociation (#9222)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26611 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agomac80211: fix WPA auth on WDS station interfaces (#9227)
nbd [Tue, 12 Apr 2011 17:17:56 +0000 (17:17 +0000)]
mac80211: fix WPA auth on WDS station interfaces (#9227)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26609 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[uboot-omap35xx] Modify environment variables for altered filesystem layout
hcg [Tue, 12 Apr 2011 14:24:20 +0000 (14:24 +0000)]
[uboot-omap35xx] Modify environment variables for altered filesystem layout

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26608 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[omap35xx] Change partition table layout
hcg [Tue, 12 Apr 2011 14:16:32 +0000 (14:16 +0000)]
[omap35xx] Change partition table layout

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26607 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: fix build error w/o CONFIG_PCI
juhosg [Tue, 12 Apr 2011 13:14:56 +0000 (13:14 +0000)]
ar71xx: fix build error w/o CONFIG_PCI

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26606 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: don't hardcode console parameters in kernel config
juhosg [Tue, 12 Apr 2011 13:14:53 +0000 (13:14 +0000)]
ar71xx: don't hardcode console parameters in kernel config

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26605 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agomac80211: ath9k: register id table for platform device
juhosg [Tue, 12 Apr 2011 09:29:23 +0000 (09:29 +0000)]
mac80211: ath9k: register id table for platform device

Currently the device id in the platform driver is hardcoded to an
id which is specific to AR9130/AR9132 SOCs as it supports only wmac
(wireless mac) of these SOCs. But this needs to be dynamic when we
want to support different wmac of SOCs. So add id_table to driver to
make it extendable to more SOCs.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26604 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: use the gpio_keys_polled driver instead of gpio_buttons
juhosg [Tue, 12 Apr 2011 09:29:21 +0000 (09:29 +0000)]
ar71xx: use the gpio_keys_polled driver instead of gpio_buttons

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26603 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agopackage/kernel: add module for the gpio_keys_polled driver
juhosg [Tue, 12 Apr 2011 09:29:14 +0000 (09:29 +0000)]
package/kernel: add module for the gpio_keys_polled driver

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26602 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: Add support for WZR-HP-G301NH
juhosg [Tue, 12 Apr 2011 09:29:10 +0000 (09:29 +0000)]
ar71xx: Add support for WZR-HP-G301NH

Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.

While we are at it, also rename the profile to reflect that it now is for
more than one device.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26601 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agogeneric: rtl8366{s,rb}: remove the PHY driver.
juhosg [Tue, 12 Apr 2011 09:29:07 +0000 (09:29 +0000)]
generic: rtl8366{s,rb}: remove the PHY driver.

Since the PHY driver is only used for the WAN port and there is virtually
no difference between it and the generic PHY driver, we can sefely remove
it.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26600 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[package] opkg: update to r618
jow [Mon, 11 Apr 2011 22:08:43 +0000 (22:08 +0000)]
[package] opkg: update to r618

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26598 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agogeneric: add support for the MX25L1606E SPI flash
juhosg [Mon, 11 Apr 2011 17:37:13 +0000 (17:37 +0000)]
generic: add support for the MX25L1606E SPI flash

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26596 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac
juhosg [Mon, 11 Apr 2011 17:37:08 +0000 (17:37 +0000)]
ar71xx: merge dev-ar9{13,34}x-wmac into dev-ar9xxx-wmac

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26595 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: fix AR934X_WMAC_SIZE
juhosg [Mon, 11 Apr 2011 17:37:03 +0000 (17:37 +0000)]
ar71xx: fix AR934X_WMAC_SIZE

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26594 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[buildroot] rules.mk: properly populate $(LIBGCC_S) for external toolchains
jow [Mon, 11 Apr 2011 16:06:46 +0000 (16:06 +0000)]
[buildroot] rules.mk: properly populate $(LIBGCC_S) for external toolchains

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26593 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[include] autotools.mk: disable autoreconf recursion if more than one dir is given...
jow [Mon, 11 Apr 2011 14:18:55 +0000 (14:18 +0000)]
[include] autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26589 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoatheros: use ath5k instead of madwifi
nbd [Mon, 11 Apr 2011 03:26:58 +0000 (03:26 +0000)]
atheros: use ath5k instead of madwifi

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26588 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: disable the unusable 2 GHz mode on the first radio of a dual-band AR5312 device
nbd [Mon, 11 Apr 2011 03:26:08 +0000 (03:26 +0000)]
ath5k: disable the unusable 2 GHz mode on the first radio of a dual-band AR5312 device

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26587 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: fix eeprom capability checks that disabled AES crypto support where it should...
nbd [Mon, 11 Apr 2011 03:26:03 +0000 (03:26 +0000)]
ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26586 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoatheros: remove bogus wlan device mask checks
nbd [Mon, 11 Apr 2011 03:25:59 +0000 (03:25 +0000)]
atheros: remove bogus wlan device mask checks

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26585 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[include] cmake.mk: don't assume toolchain binaries in .../bin/ if an external toolch...
jow [Mon, 11 Apr 2011 02:11:11 +0000 (02:11 +0000)]
[include] cmake.mk: don't assume toolchain binaries in .../bin/ if an external toolchain is used, rely on `which` instead

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26584 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: fix mac address detection on dual-radio ar5312
nbd [Sun, 10 Apr 2011 21:12:05 +0000 (21:12 +0000)]
ath5k: fix mac address detection on dual-radio ar5312

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26583 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: fix 2ghz-only radio handling on ar5312
nbd [Sun, 10 Apr 2011 21:12:00 +0000 (21:12 +0000)]
ath5k: fix 2ghz-only radio handling on ar5312

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26582 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[au1000] drop 005-au1000_phy_addr.patch, upstream is fixed
florian [Sun, 10 Apr 2011 18:25:56 +0000 (18:25 +0000)]
[au1000] drop 005-au1000_phy_addr.patch, upstream is fixed

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26580 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: decrease interrupt load for rx/tx interrupts
nbd [Sun, 10 Apr 2011 16:23:39 +0000 (16:23 +0000)]
ath5k: decrease interrupt load for rx/tx interrupts

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26579 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: clean up debugfs code
nbd [Sun, 10 Apr 2011 16:23:34 +0000 (16:23 +0000)]
ath5k: clean up debugfs code

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26578 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: fix config options for debugfs
nbd [Sun, 10 Apr 2011 16:23:28 +0000 (16:23 +0000)]
ath5k: fix config options for debugfs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26577 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoamazon: Upgrade amazon target to kernel 2.6.37
hauke [Sun, 10 Apr 2011 15:08:28 +0000 (15:08 +0000)]
amazon: Upgrade amazon target to kernel 2.6.37

This was just a little bit tested on an SAMSUNG SMT-G3020 and pci and usb do not work like before.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26576 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agokernel: do not build gpiolib into the kernel
hauke [Sun, 10 Apr 2011 10:28:30 +0000 (10:28 +0000)]
kernel: do not build gpiolib into the kernel

fix for r26570.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26574 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agomac80211: fix compile with older kernel versions
hauke [Sat, 9 Apr 2011 23:51:30 +0000 (23:51 +0000)]
mac80211: fix compile with older kernel versions

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26573 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoacx-mac80211 needs some header files from compat-wireless to build
hauke [Sat, 9 Apr 2011 23:44:03 +0000 (23:44 +0000)]
acx-mac80211 needs some header files from compat-wireless to build

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26572 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoat91: add some missing config options
hauke [Sat, 9 Apr 2011 23:36:26 +0000 (23:36 +0000)]
at91: add some missing config options

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26571 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agokernel: add symbols, small fixes
hauke [Sat, 9 Apr 2011 23:34:20 +0000 (23:34 +0000)]
kernel: add symbols, small fixes

* Some module should be loaded later to load them after the modules they are depending on
* add some more missing config symbols
* make CS5535 build again

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26570 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agocrypto: The if statement for twofish did not work, deflate depends on zlib_deflate
hauke [Sat, 9 Apr 2011 23:30:09 +0000 (23:30 +0000)]
crypto: The if statement for twofish did not work, deflate depends on zlib_deflate

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26569 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agosound: do not pack ac97_bus.ko and snd-ac97-codec.ko into two packages.
hauke [Sat, 9 Apr 2011 23:26:00 +0000 (23:26 +0000)]
sound: do not pack ac97_bus.ko and snd-ac97-codec.ko into two packages.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26568 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoiipt-debug: create bundle of netfilter modules for debugging
hauke [Sat, 9 Apr 2011 23:23:46 +0000 (23:23 +0000)]
iipt-debug: create bundle of netfilter modules for debugging

Add a bundle for including commonly useful modules for IPtables debugging and development.

For now, it just contains xt_TRACE.ko

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26567 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: add some more performance improvements
nbd [Sat, 9 Apr 2011 22:56:51 +0000 (22:56 +0000)]
ath5k: add some more performance improvements

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26566 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: rename a misnamed patch
nbd [Sat, 9 Apr 2011 22:56:47 +0000 (22:56 +0000)]
ath5k: rename a misnamed patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26565 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: add a few fixes that improve performance
nbd [Sat, 9 Apr 2011 21:11:06 +0000 (21:11 +0000)]
ath5k: add a few fixes that improve performance

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26564 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath5k: fix tx status reporting
nbd [Sat, 9 Apr 2011 19:21:26 +0000 (19:21 +0000)]
ath5k: fix tx status reporting

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26563 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: fix section mismatch
juhosg [Sat, 9 Apr 2011 18:47:55 +0000 (18:47 +0000)]
ar71xx: fix section mismatch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26562 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: rename ar934x_ref_freq to ar71xx_ref_freq
juhosg [Sat, 9 Apr 2011 18:47:52 +0000 (18:47 +0000)]
ar71xx: rename ar934x_ref_freq to ar71xx_ref_freq

Also initialize that for each SoC and print its value along with the
other frequencies.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26561 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: show the SoC type earlier
juhosg [Sat, 9 Apr 2011 18:47:50 +0000 (18:47 +0000)]
ar71xx: show the SoC type earlier

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26560 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: cleanup SoC detection code
juhosg [Sat, 9 Apr 2011 18:47:49 +0000 (18:47 +0000)]
ar71xx: cleanup SoC detection code

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26559 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: sync kernel configuration
juhosg [Sat, 9 Apr 2011 18:47:45 +0000 (18:47 +0000)]
ar71xx: sync kernel configuration

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26558 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: Fix mac address offset for AR934x
juhosg [Sat, 9 Apr 2011 18:47:42 +0000 (18:47 +0000)]
ar71xx: Fix mac address offset for AR934x

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26557 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoatheros: merge a few patches into the right place
nbd [Sat, 9 Apr 2011 18:26:03 +0000 (18:26 +0000)]
atheros: merge a few patches into the right place

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26556 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoatheros: fix up empty radio data mac address (based on patch from #8601)
nbd [Sat, 9 Apr 2011 18:25:59 +0000 (18:25 +0000)]
atheros: fix up empty radio data mac address (based on patch from #8601)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26555 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoatheros: fix ath5k support on ar2315/2317
nbd [Sat, 9 Apr 2011 18:25:55 +0000 (18:25 +0000)]
atheros: fix ath5k support on ar2315/2317

- Use physical addresses definition for AR2315 the same way as AR5312. Fixes ioremap
- Fix dma mapping for AHB bus (only use the PCI DMA offset for PCI devices)

Based on patches by Wojciech Dubowik

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26554 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoatheros: enable CONFIG_IP17XX_PHY to add back switch support for the DIR-300
nbd [Sat, 9 Apr 2011 18:25:51 +0000 (18:25 +0000)]
atheros: enable CONFIG_IP17XX_PHY to add back switch support for the DIR-300

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26553 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agokernel: add missing config options
hauke [Sat, 9 Apr 2011 17:39:44 +0000 (17:39 +0000)]
kernel: add missing config options

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26552 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agokernel: add scsi cdrom support
hauke [Sat, 9 Apr 2011 15:59:03 +0000 (15:59 +0000)]
kernel: add scsi cdrom support

This closes #9125.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26548 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agouClibc: forced unwind for pthread_cancel handling is broken and triggers spurious...
nbd [Sat, 9 Apr 2011 15:46:58 +0000 (15:46 +0000)]
uClibc: forced unwind for pthread_cancel handling is broken and triggers spurious abort() calls from libgcc. disable it and use the other method instead

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26547 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath9k: properly count retries when frames are filtered due to excessive retries when...
nbd [Sat, 9 Apr 2011 15:22:01 +0000 (15:22 +0000)]
ath9k: properly count retries when frames are filtered due to excessive retries when a client is not in powersave mode

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26545 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agomac80211: fix reading the station flags in debugfs
nbd [Sat, 9 Apr 2011 15:21:57 +0000 (15:21 +0000)]
mac80211: fix reading the station flags in debugfs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26544 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agofirmware-utils: fix endianness bugs in firmware generation program.
hauke [Sat, 9 Apr 2011 15:06:01 +0000 (15:06 +0000)]
firmware-utils: fix endianness bugs in firmware generation program.

Should make it work on big endian systems again, I do not have such a system.

This closes #9093.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26543 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agolinux-atm: package atm-diagnostics with atmdump, atmdiag, etc.
hauke [Sat, 9 Apr 2011 13:05:48 +0000 (13:05 +0000)]
linux-atm: package atm-diagnostics with atmdump, atmdiag, etc.

If your ISP is pushing their own DSL equipment (which many do to contain support costs), they won't be
forthcoming with your various settings: encapsulation, VPI/VCI, etc.

These you might have to discover yourself.  The easiest way to do this is with atmdiag and atmdump.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26542 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agokernel: include firmware in the e100 package
nbd [Fri, 8 Apr 2011 21:53:38 +0000 (21:53 +0000)]
kernel: include firmware in the e100 package

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26539 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agobrcm47xx: add Netgear WNR834BV1
hauke [Fri, 8 Apr 2011 19:22:09 +0000 (19:22 +0000)]
brcm47xx: add Netgear WNR834BV1

Thank you realopty for the patch.

This closes #7702

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26537 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agomac80211: add Intel wireless drivers.
hauke [Fri, 8 Apr 2011 16:17:21 +0000 (16:17 +0000)]
mac80211: add Intel wireless drivers.

This adds the Intel wireless drivers for their normal cards.

Thank you framer99 for the patch, I extended it a little bit.

This closes #7227

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26534 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agobrcm47xx: upgrade to kernel 2.6.27.6.
hauke [Fri, 8 Apr 2011 15:12:08 +0000 (15:12 +0000)]
brcm47xx: upgrade to kernel 2.6.27.6.

This should be save now.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26533 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath9k: improve the rx dma stop fix, add more debugging output in case the issue still...
nbd [Fri, 8 Apr 2011 12:18:43 +0000 (12:18 +0000)]
ath9k: improve the rx dma stop fix, add more debugging output in case the issue still occurs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26532 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agomac80211: fix support for iftype wds
nbd [Fri, 8 Apr 2011 01:04:44 +0000 (01:04 +0000)]
mac80211: fix support for iftype wds

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26531 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[package] kernel/modules: Enable Realtek R8169 not only for x86
acinonyx [Thu, 7 Apr 2011 23:31:56 +0000 (23:31 +0000)]
[package] kernel/modules: Enable Realtek R8169 not only for x86

This enables support for Realtek 8169 based network cards for other
platforms than x86. I have a mini-PCI card on ixp4xxx running here.
Maybe for the other cards in netdevices.mk a @DEPENDS change from
@TARGET_x86 to @PCI_SUPPORT makes also sense.

Signed-off-by: Christoph König <christoph.koenig@ikt.uni-hannover.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26529 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[x86] Bump kernel version to 2.6.37.6
jow [Thu, 7 Apr 2011 21:54:29 +0000 (21:54 +0000)]
[x86] Bump kernel version to 2.6.37.6

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26525 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agobrcm47xx: add initial support for kernel 2.6.38
hauke [Thu, 7 Apr 2011 21:38:41 +0000 (21:38 +0000)]
brcm47xx: add initial support for kernel 2.6.38

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26524 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: add DB120 board specific PCI initialization
juhosg [Thu, 7 Apr 2011 20:53:41 +0000 (20:53 +0000)]
ar71xx: add DB120 board specific PCI initialization

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26523 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: register WMAC device on the DB120 board
juhosg [Thu, 7 Apr 2011 20:53:37 +0000 (20:53 +0000)]
ar71xx: register WMAC device on the DB120 board

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26522 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: add support for the built-in WMAC of the AR934x
juhosg [Thu, 7 Apr 2011 20:53:34 +0000 (20:53 +0000)]
ar71xx: add support for the built-in WMAC of the AR934x

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26521 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: create a separate profile for the Atheros DB120 board
juhosg [Thu, 7 Apr 2011 20:53:25 +0000 (20:53 +0000)]
ar71xx: create a separate profile for the Atheros DB120 board

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26520 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: build firmware image for the Atheros DB120 board
juhosg [Thu, 7 Apr 2011 20:53:23 +0000 (20:53 +0000)]
ar71xx: build firmware image for the Atheros DB120 board

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26519 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: add initial support for the Atheros DB120 board
juhosg [Thu, 7 Apr 2011 20:53:19 +0000 (20:53 +0000)]
ar71xx: add initial support for the Atheros DB120 board

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26518 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: indicate AR934x support in menuconfig
juhosg [Thu, 7 Apr 2011 20:53:14 +0000 (20:53 +0000)]
ar71xx: indicate AR934x support in menuconfig

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26517 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: add support for the watchdog of the AR934x SoCs
juhosg [Thu, 7 Apr 2011 20:53:10 +0000 (20:53 +0000)]
ar71xx: add support for the watchdog of the AR934x SoCs

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26516 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: enable PCI for the AR934[24] SoCs
juhosg [Thu, 7 Apr 2011 20:53:05 +0000 (20:53 +0000)]
ar71xx: enable PCI for the AR934[24] SoCs

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26515 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: enable USB support for the AR934x SoCs
juhosg [Thu, 7 Apr 2011 20:53:03 +0000 (20:53 +0000)]
ar71xx: enable USB support for the AR934x SoCs

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26514 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: enable GPIO support for the AR934x SoCs
juhosg [Thu, 7 Apr 2011 20:53:00 +0000 (20:53 +0000)]
ar71xx: enable GPIO support for the AR934x SoCs

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26513 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: add AR934x specific glue for ar7100_device{start,stop}
juhosg [Thu, 7 Apr 2011 20:52:57 +0000 (20:52 +0000)]
ar71xx: add AR934x specific glue for ar7100_device{start,stop}

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26512 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: add AR934x specific UART clock initialization
juhosg [Thu, 7 Apr 2011 20:52:53 +0000 (20:52 +0000)]
ar71xx: add AR934x specific UART clock initialization

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26511 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: add AR934x specific glue for IRQ initialization
juhosg [Thu, 7 Apr 2011 20:52:49 +0000 (20:52 +0000)]
ar71xx: add AR934x specific glue for IRQ initialization

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26510 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoar71xx: add initial support for the AR934x SoCs
juhosg [Thu, 7 Apr 2011 20:52:45 +0000 (20:52 +0000)]
ar71xx: add initial support for the AR934x SoCs

Signed-off-by: Jaiganesh Narayanan <jnarayanan@atheros.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26509 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agokernel: enable MPPE again, got broken in r26296
nbd [Thu, 7 Apr 2011 19:06:34 +0000 (19:06 +0000)]
kernel: enable MPPE again, got broken in r26296

Since r26296 mppe.ko could not be loaded, kernel gives "device missing" error.
According to KConfig cypther-ecb is required.

Signed-off-by: Sven Roederer <mailinglists.sven_at_roederer.dhs.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26507 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agomac80211: update to wireless-testing 2011-04-06
nbd [Thu, 7 Apr 2011 18:42:22 +0000 (18:42 +0000)]
mac80211: update to wireless-testing 2011-04-06

adds some more pending patches which (among other things) fix the 'failed to stop RX DMA' messages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26506 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[package] block-mount: Reverting 26503. Was already fixed in a better way in commit...
cshore [Thu, 7 Apr 2011 01:00:14 +0000 (01:00 +0000)]
[package] block-mount: Reverting 26503.  Was already fixed in a better way in commit 26474.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26505 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[packages] madwifi: typo(s) in /lib/wifi/madwifi.sh
acinonyx [Wed, 6 Apr 2011 20:50:14 +0000 (20:50 +0000)]
[packages] madwifi: typo(s) in /lib/wifi/madwifi.sh

Hi
minrate and maxrate are acually not boolean, so, for example
"config minrate 11000" in /etc/config/wireless has no effect.

Signed-off by: Jan Hetges <tran@ms20.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26504 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years ago[package] block-mount: fsck.sh should only call pi_include() if dir /lib/functions...
acinonyx [Wed, 6 Apr 2011 20:50:06 +0000 (20:50 +0000)]
[package] block-mount: fsck.sh should only call pi_include() if dir /lib/functions/fsck exists.

/etc/functions.sh:pi_include() checks if the argument exists and prints
a warning if not. To prevent this warning if package block-mount is installed
but not package e2fsprogs, the script should check if this directory exists
before calling pi_include()

A wrong patch to suppress this warning was previously posted
with subject:
[PATCH] Fix typo in name of to be included file

Signed-off-by: Mark Vels <mark.vels@team-embedded.nl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26503 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agobuild: log package dump failures to logs to avoid forcing user to write cryptic comma...
nbd [Wed, 6 Apr 2011 14:48:59 +0000 (14:48 +0000)]
build: log package dump failures to logs to avoid forcing user to write cryptic commands to figure out what's going on

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26499 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agobuild: clean up handling of the kernel config
nbd [Wed, 6 Apr 2011 14:48:55 +0000 (14:48 +0000)]
build: clean up handling of the kernel config

- support kernel config overlays in env/
- allow overriding the target kernel config with CONFIG_TARGET=platform|subtarget|env

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26498 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoath9k: fall back to the default noise floor if the calibrated one is not available...
nbd [Tue, 5 Apr 2011 19:04:05 +0000 (19:04 +0000)]
ath9k: fall back to the default noise floor if the calibrated one is not available, fixes signal strength display in initial scan

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26494 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agobusybox: get rid of the useless extra menu
nbd [Tue, 5 Apr 2011 19:04:02 +0000 (19:04 +0000)]
busybox: get rid of the useless extra menu

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26493 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agolibrpc: use MDEPENDS instead of DEPENDS for @USE_UCLIBC to fix recursive busybox...
nbd [Tue, 5 Apr 2011 19:03:55 +0000 (19:03 +0000)]
librpc: use MDEPENDS instead of DEPENDS for @USE_UCLIBC to fix recursive busybox dependencies

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26492 3c298f89-4303-0410-b956-a3cf2f4a3e73

13 years agoadd a new package metadata variable MDEPENDS for specifying local menuconfig dependen...
nbd [Tue, 5 Apr 2011 19:03:51 +0000 (19:03 +0000)]
add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26491 3c298f89-4303-0410-b956-a3cf2f4a3e73