Commit Graph

1030 Commits (b6bd0ef6673964e5215d3c66de248f77e99b40e9)

Author SHA1 Message Date
Gabor Juhos 27d2402d53 kernel: refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-17 09:29:29 +00:00
Gabor Juhos f11f6fe400 swconfig: Add cpu port index to help output.
Let swconfig provide the cpu port index in its help page. This is
needed as e.g. Atheros switches have their cpu port at port 0, not
port 5.

This could allow e.g. luci to get a rough overview of the layout of
the switch.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 19:32:40 +00:00
Alexandros C. Couloumbis 607afa94b6 2.6.34: fix kzalloc error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 16:46:24 +00:00
Alexandros C. Couloumbis 4578455f71 add lzma/jffs2 patches for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 21:45:03 +00:00
Alexandros C. Couloumbis e11f6c9349 don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 21:36:58 +00:00
Nicolas Thill 9d42bb1a21 define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 23:15:56 +00:00
Alexandros C. Couloumbis 9328c2cecf add jffs2/lzma support (not activated by default yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 13:14:42 +00:00
Lars-Peter Clausen f2d41eb747 [kernel] Add missing symbols to 2.6.34 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 22:30:27 +00:00
Florian Fainelli ffc26f837f [kernel] swconfig: Check vlan/port indexes for validity.
Swconfig needs to make sure that requested vlans/ports actually exist,
else it might read or modify memory not belonging to itself.

This patch adds a quick range check in swconfig's kernel part to
prevent accidential or intentional memory modification.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 20:51:37 +00:00
Florian Fainelli 6bc191d10c [kernel] refresh 2.6.33 patches for 2.6.33.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 18:15:15 +00:00
John Crispin 43f0e57664 [ifxmips] adss 2.6.33 kernel patches, not defult yet as linux-atm breaks on 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 20:11:28 +00:00
Gabor Juhos 797d41e061 Generic: Clean up output of AR8216 driver.
This patch is rather a cosmetic patch. It fixes the following issues:

 * Demote the unknown device message to debug level to not spam
   the log.
 * Fix the version print of the unknown device message.
 * Output the 'attach' message only when attaching as switch driver,
   not when attaching as phy driver.
 * Correctly return NET_RX_DROP when dropping packets.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc: bacfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 11:34:11 +00:00
Florian Fainelli 668769edf7 [kernel] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 19:26:57 +00:00
Gabor Juhos c1278631d6 generic: make chip detection more reliable in the AR8216 driver
Fixes broken ethernet on the Planex MZK-W04NU/W300NH boards.

Cc: bacfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:12 +00:00
Florian Fainelli eb7f72ca01 [kernel] fix kexec for mips, patch from Adrian Byszuk (#7115)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-08 07:53:14 +00:00
Jo-Philipp Wich fd27f8a1d9 [PATCH 1/2] Add support for the ar8316 switch.
This patch enhances the ar8216 driver with ar8316 support and fixes some minor
issues with the ar8216 driver itself. It should not break anything, but isn't
tested on ar8216 devices.

[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 23:03:16 +00:00
Imre Kaloz 508ed126fc [x86]: add a subtarget and drivers for the Intel Tolapai SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 12:05:27 +00:00
Felix Fietkau 489fb5eceb netfilter: fix ABI breakage caused by the netfilter match optimization (fixes #5628)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 19:05:59 +00:00
Felix Fietkau 3ac4dbb0b8 enable IP175A support in the IP175C PHY driver (based on patch from jh in #6733)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 18:57:42 +00:00
Gabor Juhos 8e67ddaccc kernel: update to 2.6.32.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:45:25 +00:00
Florian Fainelli eed13e56be [kernel] add missing CONFIG_CB1400_CORE symbol, spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 15:27:08 +00:00
Alexandros C. Couloumbis 8b0e741245 generic-2.6: fix r20386 (thanks nico), update missing symbols on config-2.6.32 too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 15:02:29 +00:00
Alexandros C. Couloumbis c151e480f8 generic-2.6: config-2.6.33 add missing symbols, closes #6913 (thanks maddes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 12:42:17 +00:00
Hauke Mehrtens 78a2d5aa35 kernel: Add some missing config symbols
This adds some missing config symbols and opens the menu
behind CONFIG_SND_PCI and CONFIG_ISDN.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 13:57:07 +00:00
Alexandros C. Couloumbis 06b9e30970 generic-2.6: sync patches to 2.6.34-rc2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 06:53:08 +00:00
Gabor Juhos d34c50b9fc base-files: show boot state on intramfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:21 +00:00
Florian Fainelli d54a387a4c [kernel] add missing configuration symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-17 20:21:49 +00:00
Alexandros C. Couloumbis 6a634f5c42 generic-2.6: sync patches to 2.6.33.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 08:15:47 +00:00
Florian Fainelli a63e26c399 [kernel] also fix invalid hunks in 2.6.33 patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 17:21:47 +00:00
Florian Fainelli 4f260d9bad [uml] add 2.6.34 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 17:20:45 +00:00
Florian Fainelli 750a9131ce [kernel] fix invalid hunks in 060-block2mtd_init.patch file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 17:20:40 +00:00
Florian Fainelli 8cf55514b1 [kernel] export rescan_partitions to prevent linking failures in block2mtd (#6741)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 16:21:33 +00:00
Gabor Juhos d29b130df6 kernel: refresh lzo patch for 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 13:22:46 +00:00
Florian Fainelli c04805ac0f [kernel] fix the building of the lzo decompressor on some architectures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 14:24:12 +00:00
Nicolas Thill 1ba9a204b4 remove CONFIG_PCI=y missed from [20136] in generic 2.6.30 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 11:50:45 +00:00
Felix Fietkau 7ada705873 mips: allow the compiler to optimize memset, memcmp, memcpy for better performance and (in some instances) smaller code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:49:01 +00:00
Felix Fietkau 3e2f215c02 ar71xx: fix oprofile support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:57 +00:00
Felix Fietkau 2e64f11f68 the mips -ffreestanding patch has been unnecessary for a long time now, remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:50 +00:00
Alexandros C. Couloumbis 29fec42733 generic-2.6: add 2.6.34 preliminary support (patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 12:24:17 +00:00
Alexandros C. Couloumbis b8a343920d generic-2.6: add 2.6.34 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 11:55:34 +00:00
Nicolas Thill f71d2a3f8e do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 09:50:11 +00:00
Felix Fietkau 7f91a444a8 ar8216: fix the mtu register definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 21:43:16 +00:00
Felix Fietkau c477dc4860 Several small fixes for ar8216 driver (patch by Jonas Gorski)
* Create defines for some magic values/masks.

 * Change vlan_id to u16, to allow VIDs > 255.

 * Add a range check to set_pvid as it isn't a VID, but the index
   in the vlan table.

 * Set the max VID to 4094, since 4095 is a reserved value and
   should not be used.

 * In mangle_rx replace the provided VID with the VID of the table
   entry of the port, not the index of the table.

 * In hw_apply, remove a redundant emptyness check (was already
   checked several lines above).

 * In no vlan mode do not set the ingress mode to secure, as there
   are no vlan table entries, but to use the port's destination
   masks. Otherwise the switch won't forward anything.

 * In read_status tell that the phy is up (taken from the rtl8306
   driver).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 14:35:41 +00:00
Travis Kemen 8856956e69 fix missing symbols for kernel 2.6.33, closes #6803 thanks Maddes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 23:10:54 +00:00
Travis Kemen 02ec607396 fix missing symbols for kernel 2.6.32, closes #6802 thanks Maddes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-05 22:35:24 +00:00
Hauke Mehrtens d67641c248 brcm47xx: add CONFIG_CMDLINE again
Fix for r19955
this patch was suggested by tripolar


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-03 20:32:41 +00:00
Gabor Juhos 8178f2785d kernel: fix m25p80 patches for 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-03 09:40:20 +00:00
Gabor Juhos 68dbd277e1 kernel: refresh 2.6.33 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-03 09:40:12 +00:00
Hauke Mehrtens 66d7b24082 kernel: add some missing config files and make compat-wireless build with kernel 2.6.33
Thanks tripolar for the missing config symbols


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-02 21:26:36 +00:00
Florian Fainelli 5e16aa1da3 [kernel] prevent UML build failure against decompress_lzo.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-01 14:55:15 +00:00