Commit Graph

6528 Commits (4b4be29af21c7467c3c33bde8b8bf350cb33659e)

Author SHA1 Message Date
Hamish Guthrie 322db99564 gumstix: add luci
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 12:46:36 +00:00
Hamish Guthrie 7c7e9834f8 [omap35xx] Add kmod-usb-hid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-07 12:30:29 +00:00
Hauke Mehrtens ad0a35c88b kernel: add missing config option found by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 20:50:47 +00:00
Felix Fietkau f594246f60 repair the damage that was done to the packet socket type filter patch when it was forward ported to 2.6.33
this should fix the mac80211 problems in 2.6.33 and later versions

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 18:53:55 +00:00
Felix Fietkau bf6dfd437d ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 12:40:07 +00:00
Felix Fietkau 95d71b860c add mini_fo fix to 2.6.30 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 15:35:34 +00:00
Felix Fietkau 3e247784cd mini_fo: add error pointer checks after dentry lookups to fix various crash bugs (fixes #7277, #7207, #7259)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 15:28:41 +00:00
Felix Fietkau e12c89f637 ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 02:15:08 +00:00
Felix Fietkau d7965cb882 ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down
fixes boot time crashes under load reported by matteo

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-04 01:31:33 +00:00
Gabor Juhos d4a858f5a6 generic: rtl8366: enable VLAN ingress filtering
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-02 09:55:57 +00:00
Florian Fainelli b81b30cef7 [kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 22:28:22 +00:00
Florian Fainelli a757dd969e [au1000] add 2.6.34 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 22:28:16 +00:00
Florian Fainelli 5d141849c3 [au1000] fix line wrapped patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 22:28:05 +00:00
Florian Fainelli 5f5baa1807 [au1000] fix PCI, thanks br1, put back 2.6.32.14 support by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 19:07:27 +00:00
Markus Wigge 36b02072c5 brcm47xx: added dual image support to flashmap driver
some CFE versions (i.e. WRT54G3Gv2-VF) expect two separate firmware
images which each consume half of the available flash space.
these changes check for the TRX header version and set the partition
size correctly.
Tested on G3Gv2-VF and Asus WL-500GP



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 16:26:24 +00:00
Gabor Juhos ec990bbb44 ar71xx: fix leds-rb750 build failure on 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 14:49:06 +00:00
Markus Wigge a45f1b422c renamed wrt54g3gv2-vf images
'factory' and 'sysupgrade' did not make much sense. A discussion
with jow convinced me that .trx results in a helpdesk disaster.
So I decided to use '.bin' for normal bin-headers and '.noheader.bin'
for the trx-v2 image.
I fixed the wiki accordingly.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 10:48:13 +00:00
Florian Fainelli 364325f08e [au1000] revert upstream commit that broke PCI until we have a better fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 08:30:16 +00:00
Jo-Philipp Wich dc8d0d6700 [brcm63xx] add a wifi profile for proprietary wl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 01:39:04 +00:00
Jo-Philipp Wich 0db40a2692 [ar71xx] fix dir-825-b1 default network config after r21905
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 00:03:43 +00:00
Alexandros C. Couloumbis 7c4b4feec9 fix commit r21994 (thanks juhosg)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:46:45 +00:00
Alexandros C. Couloumbis 9d0627a92d fix commit r21993
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 19:35:12 +00:00
Claudio Mignanti 9de331b93c [kernel] Don't force pci support on .34 and .35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 17:23:19 +00:00
Claudio Mignanti 2c03794849 [at91] Add board definition previously forgotten
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-30 15:06:17 +00:00
Gabor Juhos 19842ab5da generic: rtl8366: minor cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:24:05 +00:00
Gabor Juhos f10a8dfb53 generic: rtl8366: add common read_debugfs_mibs function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:24:02 +00:00
Gabor Juhos dfb546253b generic: rtl8366: standardize read_debugfs_mibs functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:59 +00:00
Gabor Juhos 9362583263 generic: rtl8366: use common rtl8366_mib_counter structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:56 +00:00
Gabor Juhos 940796c8f1 generic: rtl8366: move common debugfs code to rtl8366_smi.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:52 +00:00
Gabor Juhos 7ddede48ae generic: rtl8366: move buf to struct rtl8366_smi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:48 +00:00
Gabor Juhos 7639f28439 generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:45 +00:00
Gabor Juhos 652ecc789b generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:41 +00:00
Gabor Juhos 256d0de5cc generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:37 +00:00
Gabor Juhos b07dacb278 generic: rtl8366: use RTL8366{S,RB} prefixes for all defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:23:33 +00:00
Gabor Juhos c05661925c generic: rtl8366rb: fix MIB counter reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-27 14:37:34 +00:00
Florian Fainelli 31180dcffe [au1000] reinstate 2.6.30 support until 2.6.32 is fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 22:18:23 +00:00
Felix Fietkau a082943b09 rename target/linux/generic-2.6 to generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:58 +00:00
Felix Fietkau bdb3ada9cc remove generic linux 2.4 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:42:18 +00:00
Felix Fietkau d3ec4c6f75 remove the brcm-2.4 target, it will no longer be supported in future releases. please use brcm47xx with broadcom-wl instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:41:59 +00:00
Felix Fietkau 19a9284b9a add back the base-files/image code from brcm-2.4 to brcm47xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:41:49 +00:00
Felix Fietkau c658aa2f52 remove brcm47xx symlinks to brcm-2.4 (unfortunately svn does not allow a proper type changing commit)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:41:40 +00:00
Gabor Juhos e38ea5ee29 generic: rtl8366: rename vlan debugfs file to vlan_mc, and clean up it's format
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:48 +00:00
Gabor Juhos 5672837b3e generic: rtl8366: update vlan handling code for rtl8366s
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:45 +00:00
Gabor Juhos 7b63278f17 generic: rtl8366: update vlan handling code of rtl8366rb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:41 +00:00
Gabor Juhos 0b5671044e generic: rtl8366: add hw_init to initialize registers after reset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:38 +00:00
Gabor Juhos fe573b0886 generic: rtl8366: introduce rtl8366_smi_rmwr function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:34 +00:00
Gabor Juhos 195263fbe0 generic: rtl8366s: get some MIB counters from another offset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:30 +00:00
Gabor Juhos d42a03a78f generic: rtl8366: cleanup MIB counter printing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:27 +00:00
Gabor Juhos 2fc8e0cbb7 generic: rtl8366: use struct rtl8366_smi instead of struct rtl8366{s,rb}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:24 +00:00
Gabor Juhos 3722afbdc6 generic: rtl8366: add common vlan_4k structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:20 +00:00
Gabor Juhos adf1d15f9c generic: rtl8366: add common vlan_mc structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:16 +00:00
Gabor Juhos d33784922b generic: rtl8366: rename vlanmc and vlan4k related structures an functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:12 +00:00
Gabor Juhos da7200fc8d generic: rtl8366: use struct rtl8366_smi for phy_reg_{read,write} calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:06 +00:00
Gabor Juhos 2c3cf2ba39 generic: rtl8366: move mii bus handling to the rtl8366_smi code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:16:01 +00:00
Gabor Juhos f7f98477b9 generic: rtl8366: introduce rtl8366_smi_ops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:57 +00:00
Gabor Juhos b481092d7e generic: rtl8366: change format string for debugfs error messages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:52 +00:00
Gabor Juhos df9fad877c generic: rtl8366: don't show link parameters if the link is down
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:48 +00:00
Gabor Juhos 0c32bcc255 generic: rtl8366: fix register offset and size of MIB counters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:43 +00:00
Gabor Juhos ff86d22f77 generic: rtl8366: prevent modifications of VLAN 0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:38 +00:00
Gabor Juhos 22d4293bce ar71xx: don't use vlan 0 for devices with rtl8366s switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 19:15:32 +00:00
Hamish Guthrie 3d85c7499e Add script support for Marvell 88W8686 mac80211.
This is a hack now, but it works. cfg80211 is very broken
in the current mainline Marvell driver. A new patch set to
address this is in linux-next, I just do not have time
today to address it.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-25 08:11:54 +00:00
Hamish Guthrie 30f8566f4b Use modules for wifi and usb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-25 08:08:05 +00:00
Alexandros C. Couloumbis a74d180945 ixp4xx: remove 2.6.35 unedded patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-25 04:37:14 +00:00
Alexandros C. Couloumbis 9b7caa674a mpc83xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 15:07:36 +00:00
Alexandros C. Couloumbis f2c0526b07 ixp4xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:40:36 +00:00
Alexandros C. Couloumbis 29d7c6f243 ixp4xx: add Mikael Petterssons patch works
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:38:03 +00:00
Alexandros C. Couloumbis 971657d682 ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:36:41 +00:00
Alexandros C. Couloumbis f29c522c80 ixp4xx: add Titan Wireless TW-266-2 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:34:49 +00:00
Alexandros C. Couloumbis 1f8be49097 ixp4xx: add kernel 2.6.33 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:29:41 +00:00
Alexandros C. Couloumbis e42462ba4e ixp4xx: revert kernel support for 2.6.33 & 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 14:25:07 +00:00
Florian Fainelli b2bbecd9b3 [kernel] add missing CONFIG_PCMCIA_XIRCOM spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-24 12:17:46 +00:00
Jo-Philipp Wich 881cdcaf36 [netfilter] package TPROXY target and module infrastructure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 22:39:22 +00:00
Hauke Mehrtens 8577f40a43 orion: Missing symbols in 2.6.35-rc2 kernel config for Orion
Thank you Maddes for your patch

This closes #7441


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 21:05:29 +00:00
Alexandros C. Couloumbis 49a4672248 ixp4xx: add Mikael Petterssons patch works for 2.6.33 & 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 14:10:55 +00:00
Hamish Guthrie a4edb39d45 [omap35xx] Add c++ std library to gumstix rte
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-22 07:07:24 +00:00
Hamish Guthrie 4e37ed8184 Refactor omap35xx sub-targets to cater for beagleboard and gumstix overo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-21 11:59:59 +00:00
Claudio Mignanti 185a84c594 [kernel] another #ifdef around pci_set_mwi call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 14:04:45 +00:00
Jo-Philipp Wich a3ea0b28fa [brcm47xx] change a typo in ath5k profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 13:46:24 +00:00
Jo-Philipp Wich 5a53f18025 [brcm47xx] deselect wpad-mini in wl profile instead of adding it to all other profiles, slightly change titles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 13:44:19 +00:00
Jo-Philipp Wich 6e98701e70 [brcm47xx] add a profile using proprietary wl instead of b43
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 13:32:40 +00:00
Claudio Mignanti 33b0c34dc2 [kernel] pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 12:41:22 +00:00
Claudio Mignanti f51df41a3a [at91] revamp target: add support for netusg20 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 22:12:33 +00:00
Gabor Juhos a069981ab9 ar71xx: add support for the Senao EAP7660D board
This patch adds support for the Senao EAP7660D board to trunk.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 16:22:05 +00:00
Alexandros C. Couloumbis 436acef96b ixp4xx: fix MAC parsing and switch (unmanaged) functionality for wrt300nv2 (thank you Ernesto Elbe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 11:14:20 +00:00
Alexandros C. Couloumbis 31035755e1 ixp4xx: port 600-skb_avoid_dmabounce.patch to 2.6.33 & 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 11:09:10 +00:00
Jo-Philipp Wich 6188d187c8 [orion] fix sysupgrade for the Netgear WNR854T (#7484)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 07:57:45 +00:00
Alexandros C. Couloumbis 75b3a23627 ixp4xx: fir commit r21825
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 11:41:26 +00:00
Gabor Juhos 7c36cc3e6e ar71xx: fix RB750 LED configuration
Patch-by: Ray Bellis


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 09:24:26 +00:00
Alexandros C. Couloumbis 36331b22ad ixp4xx: (Titan Wireless 2662) check for invalid/null MAC before assigning a random one
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-17 08:17:17 +00:00
Gabor Juhos 8278f43ea1 ar71xx: avoid duplicated 'board' parameter in kernel command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 20:02:44 +00:00
Florian Fainelli d18f13fcb8 [kernel] reinstate netdev LED trigger dependency against CONFIG_NET
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 19:39:04 +00:00
Claudio Mignanti cb660e0895 [kernel] Add the generic PWM api from Bill Gatliff (experimental). Ignore the leds trigger part at the moment
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 18:01:11 +00:00
Felix Fietkau a87a97347e backport the ssb dma device change to 2.6.30 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 15:47:06 +00:00
Alexandros C. Couloumbis e3b74160ce ixp4xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 14:59:37 +00:00
Felix Fietkau c0c5a37f6f rename broadcom-wl to broadcom-wl-old
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 11:00:30 +00:00
Felix Fietkau 8ba6124abe brcm47xx: add some exports to be used by the new wl driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 10:03:05 +00:00
Jo-Philipp Wich d2cecd4779 [generic-2.6] add b43 dma_dev fix to 2.6.32 and 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 18:35:23 +00:00
Claudio Mignanti 032959e72e [kernel] Extend the gpio device driver (#5671)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 13:27:06 +00:00
Florian Fainelli e5e370a876 [brcm63xx] add missing alice gate2 leds (#6743)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:53 +00:00
Florian Fainelli 8cbb266569 [kernel] refresh 2.6.33 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:48 +00:00
Florian Fainelli 0db2a74b2d [kernel] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:42 +00:00
Gabor Juhos 2e2a19f327 swconfig: fix lock imbalance in unregister_switch()
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 11:37:35 +00:00
Gabor Juhos 9a3782b35f swconfig: release switch in error path of swconfig_get_attr
Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 11:37:32 +00:00
Florian Fainelli a43dd45021 [orion] rename partition map patch to a better name, since it s wrt350nv2 specific
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:11 +00:00
Florian Fainelli ebbeae9d61 [orion] remove now empty samsung flash related patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:06 +00:00
Florian Fainelli 3ab4413eab [kernel] rename 014-samsung_flash -> 014-samsung_flash.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:54:01 +00:00
Florian Fainelli be088cec8b [kernel] fix samsung flash patch after r21408, thanks to Matthias Buecher (#7348)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 09:53:55 +00:00
Florian Fainelli 028489ba86 [package] add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:22 +00:00
Florian Fainelli 924c09e04c [brcm63xx] do not override cfg80211-related config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:16 +00:00
Florian Fainelli c8a563a90b [kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:09 +00:00
Gabor Juhos ddfd94c0f8 ar71xx: add default network config for the RB433UAH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:41 +00:00
Gabor Juhos 122dca56e5 ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtype
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 13:20:39 +00:00
Alexandros C. Couloumbis 1125b1194d generic-2.6/patches-2.6.35: fix ocf missing parts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-11 13:49:39 +00:00
Alexandros C. Couloumbis 4ade8f83b2 rb532: fix a module dependency issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 12:33:43 +00:00
Alexandros C. Couloumbis 796b550ced rb532: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 12:32:27 +00:00
Alexandros C. Couloumbis d3c1b29b8f adm5120: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 11:21:10 +00:00
Gabor Juhos 93df402589 generic: move more common options to generic configuration
* CONFIG_ABX500_CORE
 * CONFIG_ATOMIC64_SELFTEST
 * CONFIG_BRIDGE_IGMP_SNOOPING
 * CONFIG_CAIF
 * CONFIG_CEPH_FS
 * CONFIG_CRYSTALHD
 * CONFIG_DEFAULT_SECURITY_SELINUX
 * CONFIG_DEFAULT_SECURITY_SMACK
 * CONFIG_DEFAULT_SECURITY_TOMOYO
 * CONFIG_DT3155
 * CONFIG_IP_MROUTE_MULTIPLE_TABLES
 * CONFIG_L2TP
 * CONFIG_LOGFS
 * CONFIG_LPC_SCH
 * CONFIG_MFD_JANZ_CMODIO
 * CONFIG_MFD_RDC321X
 * CONFIG_N_GSM
 * CONFIG_RAMOOPS
 * CONFIG_SERIAL_ALTERA_JTAGUART
 * CONFIG_SERIAL_ALTERA_UART
 * CONFIG_SERIAL_TIMBERDALE
 * CONFIG_SM_FTL
 * CONFIG_SQUASHFS_XATTRS


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:51 +00:00
Gabor Juhos 205bd3826f generic: don't override CONFIG_DEBUG_FS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:42 +00:00
Gabor Juhos 9ac326cb5e generic: move some common symbols to generic configuration
* CONFIG_MUTEX_SPIN_ON_OWNER
 * CONFIG_DEFAULT_HYDLA
 * CONFIG_DEFAULT_VENO


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:14 +00:00
Gabor Juhos 35574770c9 generic: remove trailing whitespaces from kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:09 +00:00
Gabor Juhos 26eef8e23a generic: standardize CONFIG_INLINE_* symbols usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:41 +00:00
Gabor Juhos 0b5b43eb42 ar71xx: sync kernel configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:09:36 +00:00
Gabor Juhos b3c8b895aa ar71xx: remove more config overrides
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 06:14:19 +00:00
Gabor Juhos 1743244300 ar71xx: fix phy_mask for the RB450
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:35 +00:00
Gabor Juhos 8c2198b92b ar71xx: don't override CONFIG_BRIDGE_* options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 19:48:32 +00:00
Gabor Juhos 9eae8e7e70 generic: update xt_layer7 module fix for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 17:56:42 +00:00
Alexandros C. Couloumbis 1ca9cd3079 generic-2.6: layer7: convert xt_match_param to xt_action_param
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 17:29:25 +00:00
Gabor Juhos b30a171ca2 generic: more missing symbols for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:43 +00:00
Gabor Juhos 9b5f9109c1 generic: add missing layer7 patches for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:39 +00:00
Gabor Juhos a303d8a3df ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:36 +00:00
Gabor Juhos c876c55817 ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:31:34 +00:00
Alexandros C. Couloumbis 15c4fa696f generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 15:14:12 +00:00
Alexandros C. Couloumbis 64324927fb ar71xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 10:45:47 +00:00
Alexandros C. Couloumbis 138a74dfd2 generic-2.6: add (some) missing config symbols for kernel 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 10:43:59 +00:00
Gabor Juhos 4bee3eb501 generic: rename ip175c driver to ip17xx on 2.6.35 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-09 07:52:48 +00:00
Gabor Juhos afb03cb38c ar71xx: add default network configuration file for the RB450/RB433 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:23 +00:00
Gabor Juhos 8048d214fb ar71xx: enable the IP17xx driver for the nand subtarget
Also disable the old ICPlus driver.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:20 +00:00
Gabor Juhos fd62d6e97a ar71xx: fix phy_mask on the RB433 for the IP17xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:18 +00:00
Gabor Juhos 1b6346478e ip17xx: fix autonegotioation issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:14 +00:00
Gabor Juhos 078d21f847 generic: add aneg_done and update_link functions for the phy_device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:11 +00:00
Gabor Juhos 37c6d01b51 ip17xx: Update the copyright message
Update the copyright message to reflect my changes.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:08 +00:00
Gabor Juhos 3340977edb ip17xx: Rename the driver to ip17xx.c
Following the big internal rename, this is the external rename.
Rename the source file to ip17xx.c and adjust Makefile and Kconfig.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:19:05 +00:00
Gabor Juhos f98b6ff6c8 ip17xx: The big rename
Recognize that the driver supports many more devices than the ip175c.

The driver itself is now called ip17xx, all generic functions have been
renamed to ip17xx_*. The model-dependent functions have prefixes ip175c_
and ip175d_.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:58 +00:00
Gabor Juhos c73163553e ip17xx: Keep all state locally
Instead of reading the hardware state every time we want to inspect it or
to modify it, maintain it in struct ip175c_state.

This simplifies the code significantly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:55 +00:00
Gabor Juhos 1746c45d51 ip17xx: Add support for IP175D
Add support for the IP175D chip. Since the register set is vastly different
from the previous models, we cannot not use the register number tables in struct
register_mappings (except for VLAN_DEFAULT_TAG_REG), so we supply a different
set of low-level functions.

Unlike with the previous models, we keep the VLAN setup in our state structure
instead of querying the hardware (it would be much harder in case of IP175D,
because the mapping between hardware and software state is not 1:1). Therefore,
get_flags() and get_state() are no-ops.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:51 +00:00
Gabor Juhos 6ae9f46b7f ip17xx: Avoid auto-negotiation
Let ip175c_config_init() initialize the link state of the PHY and set the
PHY state machine directly to the PHY_RUNNING state in order to skip the
auto-negotiation phase.

Previously, auto-negotiation on PHY 0 (switch port 0) influenced the ethernet
driver connected to the CPU port, causing all sorts of weird effects.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:47 +00:00
Gabor Juhos 50dc4ef20a ip17xx: New chip detection
Clean up get_model() and make it recognize IP175D using yet another
chip ID register. Log the detected model.

Also fix a bug in the interface between the PHY layer and our probe function,
which caused IP175A devices to be ignored.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:42 +00:00
Gabor Juhos 5dd433ee41 ip17xx: Add VLAN tag field
Since IP175D uses tag-based VLANs, we need an ability to set VLAN tag
of every VLAN.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:38 +00:00
Gabor Juhos 7b4b5ffe70 ip17xx: Maintain state->remove_tag incrementally
So far, state->remove_tag was sometimes updated incrementally, sometimes
left to correct_vlan_state() to recalculate. Since I want to avoid use of
correct_vlan_state() for IP175D, this patch fixes the only two remaining
places which leave state->remove_tag inconsistent with state->add_tag
and it drops the recalculation.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:34 +00:00
Gabor Juhos b4a61f51bb ip17xx: Initialize VLAN state upon reset
Let VLAN state variables be initialized not only when the enable VLAN bit
is toggled, but also upon reset.

At this point, this should be a no-op, since the driver reads the current
hardware state before doing any modifications anyway, but I plan to keep
some state locally in the subsequent patches.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:30 +00:00
Gabor Juhos 21c047cd0b ip17xx: Introduce vlan array
Replace vlan_ports array in struct ip175c_state by an array of structures.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:25 +00:00
Gabor Juhos 83ae20132e ip17xx: Introduce indirection of low-level operations
This patch introduces seperation between low-level and high-level parts
of the driver. The low-level functions are now called via pointers stored
in struct ip175c_regs.

The only functional changes are:

  o  correct_vlan_state() is now called as a part of every update_state().

  o  The order of setting of MODE_REG and resetting switch ports
     has changed. (These are independent actions, so it should not matter.)

  o  ip175c_set_tagged() sets the tags via update_state() instead of writing
     directly to the registers.

  o  The same for ip175c_set_pvid().

The only gaps in this abstraction are operations on ports (get_port_speed
and friends), which access PHY registers directly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:20 +00:00
Gabor Juhos ce244e155a ip17xx: Fix use of MODE_VAL
The value written to MODE_REG in ip175c_reset() should be obviously MODE_VAL,
not RESET_VAL. Actually, this change is a NOP, because in the only case where
the MODE_REG is used, the two values are identical, but it makes the code
more readable.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:15 +00:00
Gabor Juhos a8c13fe54f ip17xx: Fix indentation in get_state() and update_state()
Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:10 +00:00
Gabor Juhos 0bff315185 ip17xx: Fixed error handling in ip175c_set_val()
Upon error, ip175c_set_val() returned 0 instead of -EINVAL.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:05 +00:00
Gabor Juhos b9eb7def42 ip17xx: Cosmetic cleanups
Trying to unify capitalization and formatting of comments. Writing of periods
at the end of comments is however still inconsistent.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:00 +00:00
Gabor Juhos 9d0a3a6f6b ip17xx: Consolidate operations with PHY registers
Call mdiobus_{read,write} instead of duplicating their code.

Introduce ip_phy_write_masked(), which changes a part of a register. Will
be used later in this patch series. Please note that it does not hold any
lock between reading and writing, so it is up to the caller to serialize.

Also add DUMP_MII_IO, which enables logging of all MII accesses.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:17:55 +00:00
Gabor Juhos 966a9bdb93 swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED
SWITCH_PORT_FLAG_TAGGED is a bit index, not a bit mask.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:17:03 +00:00
Alexandros C. Couloumbis 436ce23dd9 brcm47xx: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:58:06 +00:00
Alexandros C. Couloumbis 7bc4ea6c95 generic-2.6: fix mini_fo 2.6.35 kernel issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:44:42 +00:00
Alexandros C. Couloumbis 321c2089bd fix a typo on commit r21704
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:19:34 +00:00
Alexandros C. Couloumbis 3b03d777c7 generic-2.6: generic: add missing config symbols for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:13:37 +00:00
Alexandros C. Couloumbis ba30477904 atheros: add kernel 2.6.35 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 15:01:35 +00:00
Gabor Juhos ea4d51d1b3 generic: add missing config symbol for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:18 +00:00
Gabor Juhos e61a8b2e88 ar71xx: fix 2.6.34 build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:13 +00:00
Gabor Juhos 650572a2c8 ar71xx: add missing 2.6.34 config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:17:34 +00:00
Alexandros C. Couloumbis 80d01892f1 generic-2.6: add kernel 2.6.35 preliminary support (patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 05:56:49 +00:00
Alexandros C. Couloumbis 6c0c19ae77 refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 21:16:31 +00:00
Florian Fainelli 5bf6ca1e2c [ar7] generate NA and non-NA images for Titan platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:17:01 +00:00
Florian Fainelli 7023050cc8 [ar7] add Titan MTD partitionning support (#6632)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21691 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:16:55 +00:00
Florian Fainelli ce097a54e0 [ar7] titan board also have CYWL as a product id
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:16:49 +00:00
Florian Fainelli 56102b8a7b [kernel] do not override kmod-usb-storage-extras Kconfig symbols (#7285)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:02:30 +00:00
Gabor Juhos 8c9776b550 ar71xx: build firmware images if Minimal profile is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 17:41:39 +00:00
Gabor Juhos 3859e97282 ar71xx: rename Minimal profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 17:41:34 +00:00
Hauke Mehrtens 9d9eb999e1 orion: Update Orion in trunk to kernel 2.6.34.
Was flashed on WRT350Nv2, booted and is running for several days.
Closes #7405

Thank you maddes for your patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 10:51:52 +00:00
Gabor Juhos e69562eb28 generic: update mips multimachine patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 18:26:45 +00:00
Gabor Juhos bfa2da2042 adm5120: convert to use the new mips multimachine stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 18:26:40 +00:00
Felix Fietkau 891dbee64e ar71xx: clarify the nand subtarget a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 11:55:49 +00:00
Gabor Juhos d501f36856 generic: merge mips multi machine update to generic patches for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:52 +00:00
Gabor Juhos 110d363959 generic: merge mips multi machine update to generic patches for 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:49 +00:00
Gabor Juhos c60cbd2e61 generic: merge mips multi machine update to generic patches for 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:46 +00:00
Gabor Juhos 2670b70915 adm5120: don't use linux/autoconf.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:43 +00:00
Gabor Juhos 3e30c92940 adm5120: fix build error on 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:39 +00:00
Claudio Mignanti ebfb87169d [etrax] Force usb features, fix depends
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-03 09:52:34 +00:00
Felix Fietkau 050d5201af orion: fix lan and wan mac address for wrt530n v2 (patch by maddes from #7113)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 14:41:37 +00:00
Alexandros C. Couloumbis 6210bf767f ar71xx: fix rootfs mount issue (closes #7319)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-01 08:49:57 +00:00
John Crispin c463512391 Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
Signed-off-by: Helmut Schaa



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-31 11:57:32 +00:00
Daniel Dickinson 9232721abc brcm-2.4: preinit: Renamed failsafe echo scriplet to reflect that it is brcm-specific
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:21:22 +00:00
Daniel Dickinson 5e5a288fef brcm-2.4: preinit: Removed duplicate failsafe switch config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:21:11 +00:00
Daniel Dickinson fe3f850ad0 ramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ramips.sh was sourced
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:21:00 +00:00
Daniel Dickinson 9de82160b1 ar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:20:49 +00:00
Daniel Dickinson f165cba5c1 adm5120: Added preinit script to set vars based on cpuinfo during preinit main; This fixes a bug in which the per-board vars were not set due to cpuinfo not being mounted when the adm5120.sh was run
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:20:38 +00:00
Daniel Dickinson f3d7a5138d adm5120: Fixed name of preinit_iface scriptlet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 03:20:27 +00:00
Daniel Dickinson 9a6f5981fe brcm63xx: Fixed 96348GW (Tecom Gx00) LED definitions to match reality (vs reference design)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 02:04:56 +00:00
Daniel Dickinson 1f0332b969 brcm63xx: Tecom GW6x00 profile: Added hotplug button events and gpio-leds kmods
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 01:44:37 +00:00
Daniel Dickinson 03a1fd3779 brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 01:33:20 +00:00
Daniel Dickinson d0f8de305f brcm63xx: Added preinit reset button module loading for devices known to support it and for which /lib/brcm63xx.sh has the definitions (currently only 96348GW - Tecom 6x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 01:33:09 +00:00
Daniel Dickinson f8e8dcf746 brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 01:32:58 +00:00
Daniel Dickinson 089ea4a93c brcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom 6x00)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-30 01:32:47 +00:00
Hauke Mehrtens 933e42b581 kernel: add missing config symbols.
Thank you Maddes for your patch

This closes #7375.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 14:32:58 +00:00
Hauke Mehrtens b5805d7bfd kernel: add lzma support for arm cpu.
This patch appears to be lost beetween 2.6.32 and 2.6.33.
    
Thank you Maddes for the patch.
    
This helps making orion work with kernel 2.6.34.
closes  #7377.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 14:31:56 +00:00
Lars-Peter Clausen 2a9a2ac4af [xburst] udc: Fix recursive spinlocks
Driver had recursive spinlock locking: 1. jz4740_queue() acquires lock 2. done()
is called in chain:
jz4740_queue()->jz4740_ep0_kick()->jz4740_ep0_in()->write_fifo_ep0()->done() and
it tries to acquire same lock. 3. Deadlock.

Signed-off-by:
Yauhen Kharuzhy <jekhor@gmail.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 00:12:09 +00:00
Lars-Peter Clausen 77e64f323d [xburst] ASoC: Fix and cleaup dma config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 00:09:51 +00:00
Lars-Peter Clausen 0af48c7785 [xburst] core fixes
* Mask timer irq on startup
* Fix dma width constants
* Do not try to ack intc irqs


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 00:09:11 +00:00
Jo-Philipp Wich 1343492a6c [brcm47xx] Rename .trx2 image to openwrt-wrt54g3gv2-vf-squashfs-sysupgrade.bin and openwrt-wrt54g3gv2-vf-squashfs.bin to openwrt-wrt54g3gv2-vf-squashfs-factory.bin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 00:08:07 +00:00
Lars-Peter Clausen a3dd9c185c [xburst] jzcodec: Enable support for S8 format
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 00:06:59 +00:00
Lars-Peter Clausen 740fcb14b1 [xburst] fb: Fix pseudo palette for non 32bit color depth.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 00:06:19 +00:00
Lars-Peter Clausen 5e34b48574 [xburst] rtc: Put rtc Kconfig entry into the correct section
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 00:05:13 +00:00
Felix Fietkau 12abbd4d08 x86: build fully functional images on Mac OS X, now that grub is fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:48:21 +00:00
Gabor Juhos 464c781c2b ramips: merge slab patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:28 +00:00
Gabor Juhos 5430b616f4 ramips: use COMMAND_LINE_SIZE directly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:24 +00:00
Gabor Juhos 03224479d8 ramips: add missing 2.6.34 config files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:21 +00:00
Gabor Juhos 60a510ae0a ramips: refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:16 +00:00
Gabor Juhos dd563c22da ramips: sync 2.6.32 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 19:45:10 +00:00
Nicolas Thill de002a7d39 update linux kernel to 2.6.32.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21583 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-27 18:09:09 +00:00
John Crispin 02c3a2aa53 [ramips] update to 2.6.34, signed of by russiane39, thx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-26 15:53:05 +00:00
Nicolas Thill 6598259ef5 target/linux: refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 20:35:46 +00:00
Hauke Mehrtens f1f4b36850 kernel: add lzma support for arm cpu.
This patch appears to be lost beetween 2.6.32 and 2.6.33.

Thank you Maddes for the patch.

This helps making orion work with kernel 2.6.33.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 17:44:32 +00:00
Hauke Mehrtens 0d6ac72c65 orion: fix build
This patch does not apply any more because of changes in target/linux/generic-2.6/patches-2.6.32/089-mtd-samsung-flash.patch
TODO: find out if this patch is still needed.

Fixes build problem decsripted in #7348.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 17:02:43 +00:00
Hauke Mehrtens 110826dc6c brcm47xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:17:56 +00:00
Hauke Mehrtens cfb9268507 generic-2.6: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:17:32 +00:00
Hauke Mehrtens 0710ef015d kernel: update kernel to version 2.6.32.13 and 2.6.33.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:16:51 +00:00
Florian Fainelli 3bbc276e5d [rdc] include swconfig in ar525w profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-21 21:25:51 +00:00
Florian Fainelli b8420e1fb8 [rdc] load all r6040 modules dependencies in preinit hook
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-21 21:25:45 +00:00
Florian Fainelli 99c94303e8 [rdc] add r6040 phylib support which allows to use the ip175c switch driver on ar525w
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-21 09:53:59 +00:00
Nicolas Thill 2cce948705 target/generic-2.6: add missing bits for 2.6.30 ssb update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19 17:07:40 +00:00
John Crispin de85a5733d [ifxmips] adds proper kconfig to select the new mach types
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-18 10:21:05 +00:00
John Crispin c8e6b1378f [ifxmips] oops, missing fix from [21485]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-18 09:14:01 +00:00
Lars-Peter Clausen 00e07cf808 [kernel] Add checksum for 2.6.34, refresh 2.6.34 patches and update targets from 2.6.34-rcX to 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 22:05:07 +00:00
John Crispin 5bb4773eb4 [ifxmips]
* adds support for speedport w502V
 * bump kernel to 2.6.33.4
 * make ethernet be configurable as MII/RMII
 * on xway we now assign a static amount of cp1 ram (still need to find a 
sane value)
 * remove bogus board.c
 * jiffies were running with a (1 << 2) multiplier
 



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 10:06:46 +00:00
Florian Fainelli 62d49bfca7 [kernel] add missing ifxmips crypto config symbols, spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 09:28:44 +00:00
Florian Fainelli 52961860a3 [rdc] set vendor to RDC even if CPU id is not known
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 13:40:26 +00:00
Florian Fainelli 7f9edb0460 [rdc] squash platform_support.patch into rdc_boards.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 13:40:20 +00:00
Florian Fainelli 3a6671b60c [rdc] fix link checking with switches, only port1 of switches would report link up
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 12:36:26 +00:00
Florian Fainelli 49554ca96f [rdc] switch to 2.6.32.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 11:00:51 +00:00
Felix Fietkau 55de6aeeb9 get rid of CRLF encoding in various files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 00:20:17 +00:00
Jo-Philipp Wich 8d429d0e2e [brcm-2.4] fix a kernel bug where IPv6 packets are received on IPv4 sockets, this fixes dual stack software like OLSRd when running on Kernel 2.4
Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 22:36:56 +00:00
Florian Fainelli 730a6da763 [rdc] fix wrong hunk introduced by r21309, thanks rtz2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 21:27:02 +00:00
Florian Fainelli 62accf6c04 [rdc] fix panic on boot due to invalid IORESOURCE for MFD cells, fix gpio value setting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 21:26:56 +00:00
Florian Fainelli 994b4517fa [rdc] fix 2.6.30 lzma tuning patch to output file size at end of kernel, otherwise decompressor remains stuck
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 19:15:10 +00:00
Florian Fainelli 06a4afce30 [ar7] use correct port type, which sets the correct receive fifo trigger options (#7095)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 19:15:03 +00:00
Florian Fainelli 85118b7bff [kernel] do not export find_task_by_vpid twice on 2.6.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 19:14:50 +00:00
Hauke Mehrtens 6a4f17a036 ssb: activate CONFIG_SSB_BLOCKIO in the kernel and not in compat-wireless.
Before this patch CONFIG_SSB_BLOCKIO was set to y in compat-wireless
but the in kernel ssb system had it set to n, this causes an invalid pointer.
b43 now needs CONFIG_SSB_BLOCKIO=y


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 11:04:53 +00:00
Gabor Juhos dae241a475 ar71xx: Make wget2nand fail if copying the kernel fails and use the correct file extension for the rootfs image
wget2nand didnt check the exit status after copying the kernel, if the
copying failed for some reason ( for example not enougs space on the
kernel partition) it simply continued extracting the rootfs.
I also changed the filename, which wget2nand trys to download (
.tar.gz instead of .tgz ).

Signed-off-by: Marko Foerster <mrkfoerster@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 08:38:39 +00:00
Gabor Juhos 0eea4b85a2 ar71xx: fix nbg460n mtd partitions
This fixes the NBG460N/550N/550NH mtd partitions.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 08:37:58 +00:00
Lars-Peter Clausen b2d6bdcdda [xburst] Add 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 23:12:41 +00:00
Lars-Peter Clausen d172024875 [kernel] Move CONFIG_LZMA_{DE,}COMPRESS to generic config
It is selected by CONFIG_JFFS2_LZMA which is set in the generic config.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 23:04:18 +00:00
Lars-Peter Clausen 2be7a845d8 [kernel] gpio_buttons: include slab.h
Fixes build with 2.6.34



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 22:50:26 +00:00
Nicolas Thill f2fc44f5e5 target/uml: add missing CONFIG_MATOM config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 21:34:48 +00:00
Hauke Mehrtens 847f0e0f12 brcm47xx: use tab instead of space
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 20:28:39 +00:00