Commit graph

1874 commits

Author SHA1 Message Date
Jo-Philipp Wich
352fea83d9 unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range.
SVN-Revision: 23419
2010-10-12 20:49:35 +00:00
Alexandros C. Couloumbis
64d3505a2a generic/config-2.6.36: Add missing symbols
SVN-Revision: 23416
2010-10-12 16:13:01 +00:00
Alexandros C. Couloumbis
867f200156 target/linux: Add support for cores with slow WDT clock like bcm5354. (thank you Aleksandar Radovanovic)
SVN-Revision: 23415
2010-10-12 15:59:35 +00:00
Michael Büsch
740e2938dd spi-gpio-old: 2.6.36 compile fix
SVN-Revision: 23292
2010-10-07 13:26:39 +00:00
Michael Büsch
a8c848bb50 cryptodev: Compilefix on 2.6.36
SVN-Revision: 23290
2010-10-07 12:12:52 +00:00
Hamish Guthrie
0dc830c8f1 kernel: crashlog uses bootmem to allocate memory which is being deprecated in favour of memblock. microblaze, sh, arm, sparc and powerpc only have memblock.
SVN-Revision: 23269
2010-10-06 09:40:00 +00:00
Alexandros C. Couloumbis
975bf6a4fa linux/generic: update kernel patch refreshing. Include two missed patches.
SVN-Revision: 23240
2010-10-05 09:49:53 +00:00
Alexandros C. Couloumbis
11c45f64fe linux/generic: refresh 2.6.36 kernel patches
SVN-Revision: 23237
2010-10-05 08:50:54 +00:00
Hauke Mehrtens
7f473a276f kernel: fix some build warnings with kernel 2.6.36
SVN-Revision: 23226
2010-10-04 20:43:07 +00:00
Alexandros C. Couloumbis
a8d7d9af83 yaffs2: add preliminary 2.6.36 kernel support (sync to yaffs2 git tree). This code needs further testing especially for backwards compatibility. It boots on rb532 with kernel options: CONFIG_DEVTMPFS & CONFIG_DEVTMPFS_MOUNT
SVN-Revision: 23221
2010-10-04 16:55:06 +00:00
Gabor Juhos
dc4df4ca65 generic: RTL8366S/RB: Fix autonegotiation for the WAN port.
The RTL8366S/RB support connecting a second mac to it and using the 5th
port as an independent phy. Therefore we need to handle autonegotiation
changes for phy 4 like on a single phy device.

This fixes #7980, verified on a WNDR3700.

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

SVN-Revision: 23127
2010-09-27 14:42:05 +00:00
Gabor Juhos
5721f06fe1 generic: add rtl8366rb switch port rate, port and qos enable/disable support
Patch-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 23126
2010-09-27 14:41:54 +00:00
Gabor Juhos
a07788ae63 generic: add support for the EON EN25F32 flash chip
* based on a patch by laigor <laigor@mail.ru> from #7882

SVN-Revision: 23058
2010-09-14 12:03:01 +00:00
Alexandros C. Couloumbis
a9f54bfd51 linux/generic: update patches for 2.6.36-rc4
SVN-Revision: 23047
2010-09-13 07:24:53 +00:00
Alexandros C. Couloumbis
7328f794bb linux/generic: update mini_fo evict_inode migration
SVN-Revision: 23046
2010-09-13 07:22:39 +00:00
Alexandros C. Couloumbis
6a5618187e linux/generic: semi-revert squashfs 2.6.36 changes until lzma code gets ready for mainlin inclusion
SVN-Revision: 23045
2010-09-13 07:21:38 +00:00
Florian Fainelli
ed008fe1e8 refresh 2.6.35 patches
SVN-Revision: 23033
2010-09-12 21:23:15 +00:00
Alexandros C. Couloumbis
6cff1caa68 linux/generic: fix ioctl on 2.6.36 (http://lwn.net/Articles/394724/)
SVN-Revision: 22921
2010-09-04 22:18:54 +00:00
Florian Fainelli
0ca31140aa add switch driver for Lantiq PSB6970
Tested on ifxmips based board. The PSB6970 is also known as the Infineon Tantos switch.

Signed-off-by: Ithamar R. Adema <ithamar.adema@team-embedded.nl>

SVN-Revision: 22914
2010-09-04 18:06:01 +00:00
Alexandros C. Couloumbis
8df0c8e390 generic: move iptables/netfilter kernel options from generic/config to package/kernel/modules/netfilter.mk
SVN-Revision: 22867
2010-09-01 13:14:05 +00:00
Gabor Juhos
4ca54a5b39 generic: bacport SPI bus locking API
SVN-Revision: 22862
2010-08-31 20:06:42 +00:00
Gabor Juhos
7782fcf874 generic: fix erase operation on the pm25lv flash chip
SVN-Revision: 22861
2010-08-31 20:06:38 +00:00
Gabor Juhos
6c1d3b0a79 generic: introduce broadcast_uevent function
SVN-Revision: 22858
2010-08-31 20:06:25 +00:00
Felix Fietkau
08755b8858 rtl8366_smi: when setting VLAN ports, always initialize the PVID to ensure that the VLAN MC entry gets allocated. Fixes problems with tagged-only ports (#7795)
SVN-Revision: 22856
2010-08-31 19:04:02 +00:00
Florian Fainelli
66f9c974c0 refresh 2.6.32 patches
SVN-Revision: 22848
2010-08-31 14:08:30 +00:00
Jo-Philipp Wich
867ac59ff9 enable SYSRQ for all targets, remove overrides from brcm63xx, octeon and omap35xx
SVN-Revision: 22846
2010-08-30 22:59:20 +00:00
Alexandros C. Couloumbis
a3b66e1ea1 linux/generic: update 2.6.36 kernel patches
SVN-Revision: 22844
2010-08-30 08:58:50 +00:00
Alexandros C. Couloumbis
67fd8d1fdc linux/generic: update 2.6.36 kernel patches
SVN-Revision: 22834
2010-08-29 18:33:06 +00:00
Alexandros C. Couloumbis
206e5f313e linux/generic: add kernel 2.6.36 preliminary support
SVN-Revision: 22832
2010-08-29 14:35:23 +00:00
Gabor Juhos
48af005b73 generic: fix pm25lv SPI flash support
SVN-Revision: 22804
2010-08-25 19:57:19 +00:00
Florian Fainelli
87100c3feb refresh 2.6.35 patches
SVN-Revision: 22799
2010-08-25 19:56:03 +00:00
Lars-Peter Clausen
061ca5765f Add missing symbols to 2.6.35 config
SVN-Revision: 22787
2010-08-25 01:04:18 +00:00
Hauke Mehrtens
f313fa0bd7 kernel: fix some mistakes in ssb patch refresh in r22766, r22767 and r22768.
SVN-Revision: 22774
2010-08-22 19:22:01 +00:00
Florian Fainelli
31ce3e2546 refresh 2.6.35 patches
SVN-Revision: 22772
2010-08-22 17:09:18 +00:00
Florian Fainelli
69120f3f47 update to 2.6.34.5
SVN-Revision: 22768
2010-08-22 17:08:37 +00:00
Florian Fainelli
dc6cc63c00 update to 2.6.33.7
SVN-Revision: 22767
2010-08-22 17:08:07 +00:00
Florian Fainelli
b1becffa5b update to 2.6.32.20
SVN-Revision: 22766
2010-08-22 17:07:37 +00:00
Hauke Mehrtens
09e05d833d kernel: update kernel version to 2.6.34.5
SVN-Revision: 22759
2010-08-22 13:26:06 +00:00
Michael Büsch
7ebcd04786 Update to 2.6.35.3
SVN-Revision: 22753
2010-08-21 19:25:07 +00:00
Felix Fietkau
caf173f869 kernel: backport ppoll to 2.6.31 to fix udev build
SVN-Revision: 22719
2010-08-19 12:49:33 +00:00
Felix Fietkau
fe65572981 kernel: backport ssb dma_dev changes to fix b43 build
SVN-Revision: 22718
2010-08-19 12:49:29 +00:00
Gabor Juhos
0826570bc4 generic: rtl8366: allow use of VIDs 16-4095 if vlan4k is enabled
SVN-Revision: 22704
2010-08-18 16:00:39 +00:00
Gabor Juhos
08c5588cd2 generic: rtl8366: add generic code to enable VLANs
SVN-Revision: 22703
2010-08-18 16:00:37 +00:00
Gabor Juhos
77d6cd0feb generic: rtl8366: add enable_vlan{,4k} to smi_ops
SVN-Revision: 22702
2010-08-18 16:00:34 +00:00
Florian Fainelli
0d29f1119b add missing config options from #7733, thanks maddes
SVN-Revision: 22685
2010-08-16 21:01:32 +00:00
Florian Fainelli
9f1ed6e4d3 add missing symbol: CONFIG_UCB1400_CORE to 2.6.35 config
SVN-Revision: 22674
2010-08-16 18:40:43 +00:00
Gabor Juhos
6e9e0e2e9b generic: update ARM mach-types
SVN-Revision: 22662
2010-08-15 17:35:53 +00:00
Gabor Juhos
e01649c7cc generic: fix LED control on the RTL8366 switches
* patch from #7713

SVN-Revision: 22656
2010-08-15 06:47:42 +00:00
Gabor Juhos
57bba92916 generic: fix wrong number of erase sectors for xxxS33B SPI flashes
SVN-Revision: 22643
2010-08-14 21:07:28 +00:00
Jo-Philipp Wich
8db0749823 fixup 2.6.34 kernel headers to properly export XT_ALIGN() to userspace Ref: http://lkml.org/lkml/2010/4/13/118
SVN-Revision: 22621
2010-08-13 16:04:40 +00:00
Jo-Philipp Wich
a8e2cc2534 ssb: give the PCI core more time to initialize, fixes PCI issues with Atheros cards on the Asus WL-500w and possibly others (#4710)
SVN-Revision: 22614
2010-08-13 00:18:16 +00:00
Florian Fainelli
a5371dfe39 rename 014-samsung_flash patch to a better name, thanks maddes
SVN-Revision: 22587
2010-08-10 20:23:40 +00:00
Lars-Peter Clausen
9dbb998ee3 Fix gpio_spi_old module for 2.6.35
SVN-Revision: 22576
2010-08-10 11:17:04 +00:00
Jo-Philipp Wich
7d08b0bf47 fix localversion detection for linux 2.6.35
SVN-Revision: 22560
2010-08-09 15:50:18 +00:00
Felix Fietkau
f8c4bf89b9 rtl8366: re-enable learning by default, disabling it broke switching functionality. add a configuration option for dynamically enabling/disabling this feature. based on patch from #7637
SVN-Revision: 22545
2010-08-08 20:15:10 +00:00
Florian Fainelli
dd3652e168 add missing 2.6.34 symbols
SVN-Revision: 22543
2010-08-08 20:01:10 +00:00
Florian Fainelli
c1dc4a8a66 refresh 2.6.34 patches
SVN-Revision: 22542
2010-08-08 20:01:05 +00:00
Florian Fainelli
083ff78000 crashlog depends on BOOTMEM
SVN-Revision: 22541
2010-08-08 20:00:52 +00:00
Florian Fainelli
35e7fc9c4b refresh 2.6.35 patches
SVN-Revision: 22540
2010-08-08 20:00:46 +00:00
Florian Fainelli
b86edec09b add missing 2.6.35 config symbols
SVN-Revision: 22539
2010-08-08 20:00:40 +00:00
Florian Fainelli
565a1e4ea3 add missing 2.6.35 config symbols
SVN-Revision: 22537
2010-08-08 20:00:28 +00:00
Mirko Vogt
95265c5983 Add missing symbols to 2.6.35 config
SVN-Revision: 22512
2010-08-06 14:25:30 +00:00
Jo-Philipp Wich
52fb76ebff explicitely enable bootmem on 2.6.35 - required by crashlog (#7695)
SVN-Revision: 22506
2010-08-06 02:02:21 +00:00
Jo-Philipp Wich
9de10fe381 add missing symbols for 2.6.34, explicitely enable bootmem - required by crashlog (#7695)
SVN-Revision: 22505
2010-08-06 02:01:36 +00:00
Jo-Philipp Wich
662620419a fix order fail in previous commit
SVN-Revision: 22504
2010-08-06 01:36:14 +00:00
Jo-Philipp Wich
947519fae0 add missing symbols for 2.6.35
SVN-Revision: 22503
2010-08-06 01:33:23 +00:00
Felix Fietkau
bd6324190f swconfig: cleanup of kernel drivers and interface - add some comments to a few data structures - add a switch_dev_ops data structure for attributes and callback to replace the stupid template memcpy - get rid of the switch_dev.priv pointer - using container_of() is better
SVN-Revision: 22476
2010-08-04 00:43:40 +00:00
Jo-Philipp Wich
bf1db57017 ip17xx: r21709 broke VLAN functionality on the IP175C switch, add back mdelay() to wait before reading back the phy state, fixes ethernet on the DIR-300 and possibly others
SVN-Revision: 22468
2010-08-03 03:04:34 +00:00
Alexandros C. Couloumbis
6978c1cb83 package/compcache: use mainline modules for kernels >=2.6.33 (thank you nbd)
SVN-Revision: 22458
2010-08-01 16:57:24 +00:00
Florian Fainelli
3144d90706 refresh 2.6.34 patches
SVN-Revision: 22451
2010-08-01 12:41:09 +00:00
Alexandros C. Couloumbis
927d42ed62 generic/patches-2.6.32: finalize jffs2/lzma support on 2.6.32.x
SVN-Revision: 22423
2010-07-31 06:49:38 +00:00
Jo-Philipp Wich
eea5f1c565 fix a typo in config-2.6.34 and config-2.6.35, thanks frogonwheels
SVN-Revision: 22421
2010-07-30 23:23:42 +00:00
Alexandros C. Couloumbis
b8d60bb9d4 target/linux: refresh kernel patches
SVN-Revision: 22413
2010-07-29 17:20:25 +00:00
Alexandros C. Couloumbis
1e05fd6eef generic/patches-2.6.34: Make devtmpfs available on (embedded) configurations without SHMEM/TMPFS, using ramfs instead. (gone mainline in kernel 2.6.35-r3)
SVN-Revision: 22407
2010-07-28 08:34:03 +00:00
Alexandros C. Couloumbis
766d2494b2 generic/config-2.6.32: switch from gzip to lzma jffs2 compression
SVN-Revision: 22374
2010-07-24 08:14:22 +00:00
Felix Fietkau
dff51d3f2c kernel: add some missing debugging related config symbols
SVN-Revision: 22324
2010-07-21 14:34:17 +00:00
Felix Fietkau
9f6c22b497 kernel: add the new 'crashlog' feature, which tries to store kernel oops/panic logs in a fixed location in RAM to recover them after the reboot and make them available to user space using debugfs
SVN-Revision: 22305
2010-07-20 01:54:21 +00:00
Claudio Mignanti
3f25930247 pwm: export the generic pwm api as module
SVN-Revision: 22297
2010-07-19 21:14:24 +00:00
Hauke Mehrtens
49edb3c342 brcm47xx: prepare brcm47xx patches for sending to mainline.
SVN-Revision: 22296
2010-07-19 20:25:20 +00:00
Florian Fainelli
3ad5c63eec refresh 2.6.32 patches
SVN-Revision: 22256
2010-07-17 17:20:16 +00:00
Hauke Mehrtens
c5ef57706d kernel: refresh patches
SVN-Revision: 22252
2010-07-17 14:10:39 +00:00
Hauke Mehrtens
bcec3ad0e9 kernel: fix kernel panic when traffic goes over the network.
SVN-Revision: 22246
2010-07-17 13:01:16 +00:00
Hauke Mehrtens
2e05035bb1 kernel: the interface fsync changed a little
SVN-Revision: 22244
2010-07-17 11:56:03 +00:00
Alexandros C. Couloumbis
883e39cf8f generic: update 2.6.35 patches to 2.6.35-rc5
SVN-Revision: 22238
2010-07-16 16:25:37 +00:00
Gabor Juhos
9445ce43a6 generic: rtl8366: add debugfs file to show PVIDs
SVN-Revision: 22206
2010-07-15 13:05:56 +00:00
Gabor Juhos
9a92e1a32c generic: rtl8366: make rtl8366_set_vlan static
SVN-Revision: 22205
2010-07-15 13:05:53 +00:00
Gabor Juhos
48934bbd88 generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions
SVN-Revision: 22204
2010-07-15 13:05:50 +00:00
Gabor Juhos
d4e0b75dda generic: rtl8366: add common rtl8366_sw_get_vlan_info
SVN-Revision: 22203
2010-07-15 13:05:47 +00:00
Gabor Juhos
a59fa57985 generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k
SVN-Revision: 22202
2010-07-15 13:05:43 +00:00
Gabor Juhos
ce7eca2dff generic: rtl8366: add is_vlan_valid function to smi_ops
SVN-Revision: 22201
2010-07-15 13:05:39 +00:00
Gabor Juhos
dffd45dc61 generic: rtl8366: add common rtl8366_sw_get_port_mib function
SVN-Revision: 22200
2010-07-15 13:05:36 +00:00
Gabor Juhos
0049e74882 generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions
SVN-Revision: 22199
2010-07-15 13:05:32 +00:00
Gabor Juhos
e110321fce generic: rtl8366: make rtl8366_{g,s}et_pvid static
SVN-Revision: 22198
2010-07-15 13:05:29 +00:00
Gabor Juhos
e561b18521 generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
SVN-Revision: 22197
2010-07-15 13:05:25 +00:00
Gabor Juhos
534480d3fb generic: rtl8366: add setup to rtl8366_smi_ops struct
SVN-Revision: 22196
2010-07-15 13:05:21 +00:00
Gabor Juhos
b093cec6cc generic: rtl8366: introduce rtl8366_smi_alloc
SVN-Revision: 22195
2010-07-15 13:05:16 +00:00
Gabor Juhos
c7bc8fb46c generic: rtl8366: get rid of private rtl8366{s,rb} structs
SVN-Revision: 22194
2010-07-15 13:05:10 +00:00
Gabor Juhos
008c81b859 generic: rtl8366: move switch device to the rtl8366_smi struct
SVN-Revision: 22193
2010-07-15 13:05:06 +00:00
Gabor Juhos
5508b23aaf generic: rtl8366: get rid of private vlan_{mc,4k} structs
The usage of bitfields causes problems in Little-Endian mode. Remove
them and manipulate the bits directly in the appropriate functions. This
change also reduces the size of the binary a bit.

SVN-Revision: 22192
2010-07-15 13:05:02 +00:00
Gabor Juhos
540b3e6419 generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributes
SVN-Revision: 22191
2010-07-15 13:04:57 +00:00
Gabor Juhos
4bb11f9a39 generic: move ath5k_platform.h from ar71xx to generic files
SVN-Revision: 22189
2010-07-15 07:36:58 +00:00
Jo-Philipp Wich
9978dd7637 export SSB fallback SPROM - required for wl.ko
SVN-Revision: 22168
2010-07-13 16:20:29 +00:00
Claudio Mignanti
86f3d57a00 pwm: use coherent naming to avoid conflicts
SVN-Revision: 22142
2010-07-12 13:19:57 +00:00
Hauke Mehrtens
91ce82ef77 kernel: Add missing kernel config options
SVN-Revision: 22136
2010-07-11 18:52:30 +00:00
Hauke Mehrtens
d6e8db7e6a kernel: add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
SVN-Revision: 22135
2010-07-11 18:50:55 +00:00
Hauke Mehrtens
3aa9ba520f kernel: add missing config option found by buildbot
SVN-Revision: 22080
2010-07-06 20:50:47 +00:00
Felix Fietkau
36b295eefd 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
SVN-Revision: 22079
2010-07-06 18:53:55 +00:00
Felix Fietkau
3e425b2cbc add mini_fo fix to 2.6.30 as well
SVN-Revision: 22058
2010-07-04 15:35:34 +00:00
Felix Fietkau
3512ba10c0 mini_fo: add error pointer checks after dentry lookups to fix various crash bugs (fixes #7277, #7207, #7259)
SVN-Revision: 22057
2010-07-04 15:28:41 +00:00
Gabor Juhos
86b4b5e1e9 generic: rtl8366: enable VLAN ingress filtering
SVN-Revision: 22044
2010-07-02 09:55:57 +00:00
Florian Fainelli
b917b09b91 refresh 2.6.34 patches
SVN-Revision: 22042
2010-07-01 22:28:22 +00:00
Claudio Mignanti
d30bf22a55 Don't force pci support on .34 and .35
SVN-Revision: 21993
2010-06-30 17:23:19 +00:00
Gabor Juhos
50d88ac7d4 generic: rtl8366: minor cleanup
SVN-Revision: 21985
2010-06-28 17:24:05 +00:00
Gabor Juhos
e19838e04c generic: rtl8366: add common read_debugfs_mibs function
SVN-Revision: 21984
2010-06-28 17:24:02 +00:00
Gabor Juhos
393f0bda89 generic: rtl8366: standardize read_debugfs_mibs functions
SVN-Revision: 21983
2010-06-28 17:23:59 +00:00
Gabor Juhos
5986c1f2d0 generic: rtl8366: use common rtl8366_mib_counter structure
SVN-Revision: 21982
2010-06-28 17:23:56 +00:00
Gabor Juhos
672018a30d generic: rtl8366: move common debugfs code to rtl8366_smi.c
SVN-Revision: 21981
2010-06-28 17:23:52 +00:00
Gabor Juhos
19ed040c62 generic: rtl8366: move buf to struct rtl8366_smi
SVN-Revision: 21980
2010-06-28 17:23:48 +00:00
Gabor Juhos
830b04bd72 generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c
SVN-Revision: 21979
2010-06-28 17:23:45 +00:00
Gabor Juhos
81e9e7916f generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi
SVN-Revision: 21978
2010-06-28 17:23:41 +00:00
Gabor Juhos
08942e9a98 generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops
SVN-Revision: 21977
2010-06-28 17:23:37 +00:00
Gabor Juhos
e8e8554192 generic: rtl8366: use RTL8366{S,RB} prefixes for all defines
SVN-Revision: 21976
2010-06-28 17:23:33 +00:00
Gabor Juhos
c4dc96934d generic: rtl8366rb: fix MIB counter reset
SVN-Revision: 21969
2010-06-27 14:37:34 +00:00
Felix Fietkau
da1bb88a2b rename target/linux/generic-2.6 to generic
SVN-Revision: 21952
2010-06-26 20:42:58 +00:00