Commit Graph

1326 Commits (35674d7b759fb124f777d0911150355c87aa9a4d)

Author SHA1 Message Date
Gabor Juhos d63c4c392a generic: fix wrong number of erase sectors for xxxS33B SPI flashes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 21:07:28 +00:00
Jo-Philipp Wich 61508d5511 [kernel] fixup 2.6.34 kernel headers to properly export XT_ALIGN() to userspace
Ref: http://lkml.org/lkml/2010/4/13/118


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-13 16:04:40 +00:00
Jo-Philipp Wich 89a46abedb [kernel] ssb: give the PCI core more time to initialize, fixes PCI issues with Atheros cards on the Asus WL-500w and possibly others (#4710)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-13 00:18:16 +00:00
Florian Fainelli 1f1b097759 [kernel] rename 014-samsung_flash patch to a better name, thanks maddes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-10 20:23:40 +00:00
Lars-Peter Clausen 42296e9aa0 [kernel] Fix gpio_spi_old module for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-10 11:17:04 +00:00
Jo-Philipp Wich ed9cacdc9e [generic] fix localversion detection for linux 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-09 15:50:18 +00:00
Felix Fietkau 7fa1233c66 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 20:15:10 +00:00
Florian Fainelli 6a85248b61 [kernel] add missing 2.6.34 symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 20:01:10 +00:00
Florian Fainelli f27cb2ed92 [kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 20:01:05 +00:00
Florian Fainelli fc2a9bd7c8 [kernel] crashlog depends on BOOTMEM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 20:00:52 +00:00
Florian Fainelli bbc8d71804 [kernel] refresh 2.6.35 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 20:00:46 +00:00
Florian Fainelli f5e88e8205 [kernel] add missing 2.6.35 config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 20:00:40 +00:00
Florian Fainelli c63181178b [kernel] add missing 2.6.35 config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-08 20:00:28 +00:00
Mirko Vogt 89be017081 [kernel] Add missing symbols to 2.6.35 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 14:25:30 +00:00
Jo-Philipp Wich f9e20243f6 [kernel] explicitely enable bootmem on 2.6.35 - required by crashlog (#7695)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 02:02:21 +00:00
Jo-Philipp Wich be5052c19d [kernel] add missing symbols for 2.6.34, explicitely enable bootmem - required by crashlog (#7695)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 02:01:36 +00:00
Jo-Philipp Wich 0e8d656716 [kernel] fix order fail in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 01:36:14 +00:00
Jo-Philipp Wich f4aceedc24 [kernel] add missing symbols for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 01:33:23 +00:00
Felix Fietkau 3d5783d3c4 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-04 00:43:40 +00:00
Jo-Philipp Wich 5859b9fa5c 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-03 03:04:34 +00:00
Alexandros C. Couloumbis 54913f956b package/compcache: use mainline modules for kernels >=2.6.33 (thank you nbd)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-01 16:57:24 +00:00
Florian Fainelli 03699ac875 [kernel] refresh 2.6.34 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-01 12:41:09 +00:00
Alexandros C. Couloumbis 9e74ac8a70 generic/patches-2.6.32: finalize jffs2/lzma support on 2.6.32.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 06:49:38 +00:00
Jo-Philipp Wich 3770fdacf4 [kernel] fix a typo in config-2.6.34 and config-2.6.35, thanks frogonwheels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-30 23:23:42 +00:00
Alexandros C. Couloumbis 6fa5b6c555 target/linux: refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-29 17:20:25 +00:00
Alexandros C. Couloumbis ffb38fc15f 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-28 08:34:03 +00:00
Alexandros C. Couloumbis 23d200d6f2 generic/config-2.6.32: switch from gzip to lzma jffs2 compression
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-24 08:14:22 +00:00
Felix Fietkau 7760034463 kernel: add some missing debugging related config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 14:34:17 +00:00
Felix Fietkau 9c68769400 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 01:54:21 +00:00
Claudio Mignanti 861c6988fb [kernel] pwm: export the generic pwm api as module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 21:14:24 +00:00
Hauke Mehrtens df0e3483ac brcm47xx: prepare brcm47xx patches for sending to mainline.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 20:25:20 +00:00
Florian Fainelli f973535e4d [kernel] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 17:20:16 +00:00
Hauke Mehrtens 5272f096fb kernel: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 14:10:39 +00:00
Hauke Mehrtens ba4d89318b kernel: fix kernel panic when traffic goes over the network.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 13:01:16 +00:00
Hauke Mehrtens f7b71e99a6 kernel: the interface fsync changed a little
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-17 11:56:03 +00:00
Alexandros C. Couloumbis 773f63f9e5 generic: update 2.6.35 patches to 2.6.35-rc5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-16 16:25:37 +00:00
Gabor Juhos dc6dcc66a4 generic: rtl8366: add debugfs file to show PVIDs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:56 +00:00
Gabor Juhos 60553e9fb4 generic: rtl8366: make rtl8366_set_vlan static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:53 +00:00
Gabor Juhos 2693b15c0e generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:50 +00:00
Gabor Juhos 7b6b73dc84 generic: rtl8366: add common rtl8366_sw_get_vlan_info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:47 +00:00
Gabor Juhos 80fd673252 generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:43 +00:00
Gabor Juhos d2d1fc5eb6 generic: rtl8366: add is_vlan_valid function to smi_ops
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:39 +00:00
Gabor Juhos cf551c6259 generic: rtl8366: add common rtl8366_sw_get_port_mib function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:36 +00:00
Gabor Juhos bd79e0b9fc generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:32 +00:00
Gabor Juhos 941938939e generic: rtl8366: make rtl8366_{g,s}et_pvid static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:29 +00:00
Gabor Juhos 66dcd51b3e generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:25 +00:00
Gabor Juhos 23ba874c9c generic: rtl8366: add setup to rtl8366_smi_ops struct
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:21 +00:00
Gabor Juhos 6ccacc5e4f generic: rtl8366: introduce rtl8366_smi_alloc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:16 +00:00
Gabor Juhos 430322ad55 generic: rtl8366: get rid of private rtl8366{s,rb} structs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:10 +00:00
Gabor Juhos 107c356916 generic: rtl8366: move switch device to the rtl8366_smi struct
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:06 +00:00
Gabor Juhos 1f37fff7de 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:05:02 +00:00
Gabor Juhos e215d60a70 generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 13:04:57 +00:00
Gabor Juhos e0afcb82f9 generic: move ath5k_platform.h from ar71xx to generic files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-15 07:36:58 +00:00
Jo-Philipp Wich 4a7d8b0593 [kernel] export SSB fallback SPROM - required for wl.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:20:29 +00:00
Claudio Mignanti f89d76bff4 [kernel] pwm: use coherent naming to avoid conflicts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 13:19:57 +00:00
Hauke Mehrtens 208fd71865 kernel: Add missing kernel config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 18:52:30 +00:00
Hauke Mehrtens 738cd05f6c kernel: 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@22135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 18:50:55 +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 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
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
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
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
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