Gabor Juhos
e2275d7311
generic: ar8216: add mii_bus field to struct ar8216_priv
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 15:18:35 +00:00
Gabor Juhos
c32d96d9e6
generic: mvswitch: add detach callback
...
Use the detach callback to disable packet mangling
to avoid possible NULL pointer dereference.
Compile tested only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 15:18:34 +00:00
Gabor Juhos
babed81891
generic: ar8216: add detach callback
...
The current code uses the 'remove' callback to disable
packet mangle on the underlying ethernet device.
However the attached_dev is always NULL when the
'remove' callback is called by phylib, and this causes
NULL pointer dereference, like this:
[ 475.300000] CPU 0 Unable to handle kernel paging request at virtual address 000000f0, epc == 801cdcf0, ra == 801c7eac
[ 475.310000] Oops[#1 ]:
[ 475.310000] Cpu 0
[ 475.310000] $ 0 : 00000000 00000000 00000000 00000001
[ 475.310000] $ 4 : 828dde00 00000005 828dde08 ffffffff
[ 475.310000] $ 8 : 00380081 00380081 82902a40 00000001
[ 475.310000] $12 : 00000037 00370081 00000001 00000000
[ 475.310000] $16 : 82865000 828dde08 828dde00 00000001
[ 475.310000] $20 : 00000080 00460000 00000002 77151448
[ 475.310000] $24 : 00000000 801abfd4
[ 475.310000] $28 : 82cc2000 82cc3d58 0053c3c4 801c7eac
[ 475.310000] Hi : 00000007
[ 475.310000] Lo : 00000004
[ 475.310000] epc : 801cdcf0 ar8216_remove+0x1c/0x94
[ 475.310000] Tainted: G O
[ 475.310000] ra : 801c7eac phy_remove+0x4c/0x6c
[ 475.310000] Status: 1000cc03 KERNEL EXL IE
[ 475.310000] Cause : 00800008
[ 475.310000] BadVA : 000000f0
[ 475.310000] PrId : 00019750 (MIPS 74Kc)
[ 475.310000] Modules linked in: ath79_wdt ledtrig_usbdev ledtrig_netdev ag71xx(-) nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ft
p ipt_MASQUERADE iptable_nat xt_nat nf_nat_ipv4 nf_nat pppoext_conntrack xt_CT iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_co
nntrack ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpu
dp x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80
211(O) compat(O) arc4 crypto_blkcipher aead ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[ 475.310000] Process rmmod (pid: 1160, threadinfo=82cc2000, task=83969920, tls=7747c440)
[ 475.310000] Stack : 828dde08 802f5004 802f4680 00000001 828ddf70 801c7eac 802f4680 801ad6d8
82902940 00000000 828dde08 802f5004 802f4680 801ad770 00000002 80269d94
00000000 00000001 00000080 828dde08 828dde3c 801ad7fc 82902940 00000000
83859100 00000000 8384dd2c 8384dd2c 828dde08 801ad230 82902800 00000000
00000000 001a0041 828dde08 828dde08 802e80e8 801aac44 00000080 00460000
...
[ 475.310000] Call Trace:
[ 475.310000] [<801cdcf0>] ar8216_remove+0x1c/0x94
[ 475.310000] [<801c7eac>] phy_remove+0x4c/0x6c
[ 475.310000] [<801ad770>] __device_release_driver+0x6c/0xd0
[ 475.310000] [<801ad7fc>] device_release_driver+0x28/0x40
[ 475.310000] [<801ad230>] bus_remove_device+0xd8/0x10c
[ 475.310000] [<801aac44>] device_del+0x110/0x170
[ 475.310000] [<801aacb8>] device_unregister+0x14/0x28
[ 475.310000] [<801c92b0>] mdiobus_unregister+0x4c/0x70
[ 475.310000] [<82913060>] ag71xx_remove_ar8216_header+0xdc/0x5a8 [ag71xx]
[ 475.310000]
[ 475.310000]
Code: 1200001c 8c82017c ac800128 <8c4500f0> 3c03ffdf 3463ffff 00a31824 ac4300f0 ac4000e0
Add a detach callback and disable packet mangling in
that to fix the problem.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 15:18:32 +00:00
Gabor Juhos
197fd72248
generic: add detach callback to struct phy_driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 15:18:24 +00:00
Gabor Juhos
2f769ba91f
generic: ar8216: clear driver specific data pointer in phy_device
...
This is needed to avoid a NULL pointer dereference:
[ 19.525270] Unable to handle kernel paging request for data at address 0x00000018
[ 19.532750] Faulting instruction address: 0xc016e104
[ 19.537714] Oops: Kernel access of bad area, sig: 11 [#1 ]
[ 19.543102] P1010 RDB
[ 19.545365] Modules linked in: booke_wdt nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE iptable_nat xt_nat d
[ 19.590725] NIP: c016e104 LR: c0171490 CTR: 00000000
[ 19.595681] REGS: c4bc3c10 TRAP: 0300 Tainted: G W O (3.7.6)
[ 19.602284] MSR: 00029000 <CE,EE,ME> CR: 82002022 XER: 20000000
[ 19.608381] DEAR: 00000018, ESR: 00000000
[ 19.612382] TASK = c4cd9c80[2070] 'ifconfig' THREAD: c4bc2000
GPR00: 00000001 c4bc3cc0 c4cd9c80 00000000 c7811000 00000000 00000000 0000e8ec
GPR08: 0000e8eb 00000000 00029000 00000001 00000000 100801f8 1005c51c 1005c514
GPR16: 1005c468 1005c54c 1005c258 1005c530 10060000 00000000 c7811000 ffff8914
GPR24: c7815030 c793e400 10063adb 00000000 c7811000 c045594c c78ca600 c7815000
[ 19.646352] NIP [c016e104] register_switch+0x98/0x2d0
[ 19.651397] LR [c0171490] ar8216_config_init+0x2d8/0x3f4
[ 19.656697] Call Trace:
[ 19.659138] [c4bc3cc0] [c0170490] ar8216_mii_read+0x64/0xc4 (unreliable)
[ 19.665835] [c4bc3d00] [c0171490] ar8216_config_init+0x2d8/0x3f4
[ 19.671835] [c4bc3d20] [c016cf8c] phy_init_hw+0x50/0x6c
[ 19.677053] [c4bc3d30] [c016d078] phy_attach_direct+0xd0/0xf8
[ 19.682793] [c4bc3d50] [c016d154] phy_connect_direct+0x24/0x68
[ 19.688621] [c4bc3d70] [c0183b70] of_phy_connect+0x48/0x6c
[ 19.694102] [c4bc3d90] [c0175aac] gfar_enet_open+0x254/0x3d8
[ 19.699755] [c4bc3db0] [c019acc4] __dev_open+0xc0/0x120
[ 19.704975] [c4bc3dd0] [c019af98] __dev_change_flags+0xd4/0x15c
[ 19.710888] [c4bc3df0] [c019b0d4] dev_change_flags+0x1c/0x60
[ 19.716544] [c4bc3e10] [c01ebb94] devinet_ioctl+0x290/0x690
[ 19.722111] [c4bc3e70] [c01ec8d4] inet_ioctl+0x88/0xbc
[ 19.727245] [c4bc3e80] [c0186b98] sock_ioctl+0x258/0x294
[ 19.732551] [c4bc3ea0] [c009c00c] do_vfs_ioctl+0x6a4/0x728
[ 19.738031] [c4bc3f10] [c009c0d4] sys_ioctl+0x44/0x70
[ 19.743077] [c4bc3f40] [c000c74c] ret_from_syscall+0x0/0x3c
[ 19.748646] --- Exception: c01 at 0x48091b34
[ 19.748646] LR = 0x480e4b64
[ 19.756033] Instruction dump:
[ 19.758991] 2f830000 907f0050 3860fff4 419e021c 837f0000 38000000 901f0038 901f0040
[ 19.766744] 901f003c 7f600034 5400d97e 0f000000 <801b0018> 2f800000 40be0010 801b001c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 08:39:26 +00:00
Gabor Juhos
708c4a4f33
generic: ar8216: unregister switch on error path
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 08:39:24 +00:00
Jonas Gorski
0b7d986ae0
kernel: generic: update the ehci overcurrent patch to upstream submission
...
Adds support for setting this in the generic platform driver's platform_data.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:19:37 +00:00
Jonas Gorski
cdc0785a07
kernel: generic: add back the patch exporting bcm63xx tag header
...
It went missing when adding linux 3.7 support.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:19:35 +00:00
Jonas Gorski
d37d39b0e8
kernel: generic: update to 3.8-rc6
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35478 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:19:28 +00:00
Gabor Juhos
d619b697b5
kernel: update linux 3.7 to 3.7.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:02:56 +00:00
Gabor Juhos
d3fe8e38cc
generic: convert crypto-ocf from kernel_thread to kthread
...
recent kernels have finally stopped exporting kernel_thread, since a
deprecation circa 2006. This patch attempts to convert to the newer
kernel kthread API, particularly in random.c
[juhosg: remove randomproc variable, it is not required after the patch]
Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 15:31:44 +00:00
Gabor Juhos
a990fd726a
linux/3.7: add missing config symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 10:05:08 +00:00
Gabor Juhos
4587efbaab
generic: fix gc_sections patch
...
Due to the patch, essential '.data..*' sections are merged
into the '.data' section:
--- vmlinux.good.sect 2013-02-01 23:49:16.000000000 +0100
+++ vmlinux.bad.sect 2013-02-01 23:49:02.000000000 +0100
@@ -1,5 +1,5 @@
-vmlinux.good: file format elf32-powerpc
+vmlinux.bad: file format elf32-powerpc
Sections:
Idx Name Size VMA LMA File off Algn
@@ -53,43 +53,35 @@
CONTENTS, ALLOC, LOAD, READONLY, DATA
24 .machine.desc 00000460 c04e1000 004e1000 004f1000 2**2
CONTENTS, ALLOC, LOAD, DATA
- 25 .data 0000f6a0 c04e2000 004e2000 004f2000 2**12
+ 25 .data 0001635c c04e2000 004e2000 004f2000 2**12
CONTENTS, ALLOC, LOAD, DATA
- 26 .data..init_task 00002000 c04f2000 004f2000 00502000 2**3
- CONTENTS, ALLOC, LOAD, DATA
- 27 .data..page_aligned 00002000 c04f4000 004f4000 00504000 2**12
- CONTENTS, ALLOC, LOAD, DATA
- 28 .data..cacheline_aligned 00000c00 c04f6000 004f6000 00506000
2**5
- CONTENTS, ALLOC, LOAD, DATA
- 29 .data..read_mostly 000015e0 c04f6c00 004f6c00 00506c00 2**3
- CONTENTS, ALLOC, LOAD, DATA
- 30 .sbss 000002e0 c04f9000 004f9000 005081e0 2**3
+ 26 .sbss 000002e0 c04fa000 004fa000 0050835c 2**3
<...>
This causes boot hang on powerpc. Modify the patch to
ensure that the kernel specific '.data..*' sections
remain separate.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 09:30:47 +00:00
Gabor Juhos
b3efac5ca4
linux/3.6: add missing config symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:30:18 +00:00
Gabor Juhos
a9808c556c
linux/3.6: refresh patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:30:15 +00:00
Gabor Juhos
5110cd848c
linux/3.3: disable crashlog on PPC
...
It causes NULL pointer dereference:
[ 0.638235] __ioremap(): phys addr 0x7f00000 is RAM lr c025d61c
[ 0.644090] Unable to handle kernel paging request for data at address 0x00000000
[ 0.651533] Faulting instruction address: 0xc025d620
[ 0.656483] Oops: Kernel access of bad area, sig: 11 [#1 ]
[ 0.661856] P1010 RDB
[ 0.664113] Modules linked in:
[ 0.667152] NIP: c025d620 LR: c025d61c CTR: c000dc38
[ 0.672101] REGS: c7831ef0 TRAP: 0300 Not tainted (3.3.8)
[ 0.677740] MSR: 00029000 <CE,EE,ME> CR: 42022082 XER: 20000000
[ 0.683817] DEAR: 00000000, ESR: 00000000
[ 0.687811] TASK = c782c000[1] 'swapper' THREAD: c7830000
[ 0.693017] GPR00: a1ee0000 c7831fa0 c782c000 00000000 0000214c ffffffff c7831ea6 0001ffff
[ 0.701350] GPR08: c03697cc c035fba0 c03697cc c0360000 42022022 00000000 00000000 00000000
[ 0.709682] GPR16: c0000a00 00000014 3fffffff 00ffa000 00000015 07fc42bc c0360000 00000000
[ 0.718015] GPR24: 00000000 00000000 00001680 c0360000 00000000 c025d5e8 c0390000 c038b824
[ 0.726535] NIP [c025d620] crashlog_init_fs+0x38/0xd8
[ 0.731560] LR [c025d61c] crashlog_init_fs+0x34/0xd8
[ 0.736503] Call Trace:
[ 0.738939] [c7831fa0] [c025d61c] crashlog_init_fs+0x34/0xd8 (unreliable)
[ 0.745712] [c7831fb0] [c0001e98] do_one_initcall+0xd4/0x198
[ 0.751357] [c7831fe0] [c02537f4] kernel_init+0x9c/0x120
[ 0.756647] [c7831ff0] [c000c2dc] kernel_thread+0x4c/0x68
[ 0.762022] Instruction dump:
[ 0.764975] 3860fff4 bfc10008 3fc0c039 90010014 3bfeb824 801f0004 2f800000 41be00a0
[ 0.772699] 7c030378 38804000 4bdb38cd 3c00a1ee <81630000> 6000dead 7c691b78 907eb824
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:28:44 +00:00
Gabor Juhos
9fdab3e8ae
generic: fix default compression selection in ubifs
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 21:32:22 +00:00
Gabor Juhos
046963da3a
kernel: update linux 3.7 to 3.7.5
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 18:29:45 +00:00
John Crispin
020ed6284b
[kernel] fix mtd_mp25p80_add_gd25q32_gd25q64.patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 11:06:57 +00:00
Florian Fainelli
9140ba77f8
[generic] Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit
...
Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit.
The patch was added to "linux/generic/patches-3.6" instead of
"target/linux/generic/patches-3.6".
I also fixed a missing patch space and refreshed generic patches.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:46:11 +00:00
Gabor Juhos
13a89e3e82
generic: fix build failure in MIPS kexec code if SMP is enabled
...
Fix it for older kernels as well.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:44:58 +00:00
Gabor Juhos
6c88e0f174
generic: fix build failure in MIPS kexec code if SMP is enabled
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:40:23 +00:00
John Crispin
d9ec668adb
[lantiq] refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:44:20 +00:00
Felix Fietkau
dea091cae9
kernel: disable CONFIG_CRYPTO_MANAGER2, it is not needed
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 23:23:39 +00:00
Hauke Mehrtens
2fe7bc5108
kernel: b53: the b53 spi driver depends on spi
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:39:53 +00:00
Hauke Mehrtens
fd67078b59
kernel: add packages for pps and ptp, they are needed by tg3 in kernel 3.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 21:18:52 +00:00
Felix Fietkau
e5a9aebefa
netfilter: add support for flushing conntrack via /proc
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 19:02:38 +00:00
Felix Fietkau
fb725311a7
kernel: clean up crypto kconfig options on 3.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:49:09 +00:00
Hauke Mehrtens
16d7ea5f38
kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
...
These attributes where removed with kernel 3.8 and are now causing compile errors.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:48:48 +00:00
Felix Fietkau
a35962e3b7
kernel: clean up crypto related kconfig options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:23:12 +00:00
Felix Fietkau
5bd3baeb9c
kernel: prevent cryptomgr from pulling in useless extra dependencies for tests that are not run
...
Reduces kernel size after LZMA by about 5k on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 16:21:08 +00:00
Felix Fietkau
081d10c739
kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
...
in combination with kernel symbol export stripping this significantly reduces
the kernel image size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 16:26:13 +00:00
Florian Fainelli
e2a507a144
kernel: refresh 3.8 patches
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:04:52 +00:00
Hauke Mehrtens
0751e95e38
kernel: add missing config options for 3.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 14:48:15 +00:00
Felix Fietkau
2646983496
kernel: remove the cisco sip phone patch for 3.7 and 3.8 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 16:31:38 +00:00
Jonas Gorski
793f269e52
generic: add b53 swconfig switch driver
...
Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports
switches connected through MDIO, SPI or memory mapped registers, and
supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch
chips.
Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 10:12:33 +00:00
Felix Fietkau
317f27c62f
kernel: remove 340-module_alloc_size_check.patch from linux 3.8, it is not necessary anymore
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 19:14:37 +00:00
Jonas Gorski
aecebbaed2
generic: rtl8366_smi: only assign pvid if no pvid was set yet
...
Only assign a pvid if the current pvid is 0. Fixes using mixed tagged
and untagged traffic on a port and the untagged vlan isn't the last one
of which the port is a member.
Tested on RTL8366S and RTL8367R.
Fixes #8501 .
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 15:19:11 +00:00
Gabor Juhos
3ab3849ad3
kernel: update linux 3.7 to 3.7.3
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 11:44:42 +00:00
Florian Fainelli
92dec549ce
kernel: refresh 3.8 patches
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 22:28:53 +00:00
Gabor Juhos
a96196039f
generic: add EHCI|OHCI platform driver fix to 3.[36]
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 13:54:14 +00:00
Felix Fietkau
f9e957c809
kernel: port 203-kallsyms_uncompressed.patch and 305-mips_module_reloc.patch to 3.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 18:55:36 +00:00
Gabor Juhos
e789d6289a
generic: remove EHCI platform driver fix from 3.8
...
It is not needed on 3.8.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 17:53:55 +00:00
Gabor Juhos
766ba6e58a
generic: add EHCI|OHCI platform driver fix from the cns21xx target
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 17:47:23 +00:00
Felix Fietkau
34ae8d8c46
kernel: add a config option for keeping the kallsyms table uncompressed, saving ~9kb kernel size after lzma on ar71xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-14 16:08:18 +00:00
Felix Fietkau
bc2c31b39f
kernel: add back the mips module relocation patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 12:23:42 +00:00
Gabor Juhos
072c304638
refresh kernel configs with kconfig.pl
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:29:55 +00:00
Gabor Juhos
64cfd63980
kernel: update linux 3.7 to 3.7.2
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 11:43:08 +00:00
Florian Fainelli
b3d741a1a8
mvebu: update to 3.8-rc3
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 17:20:25 +00:00
Hauke Mehrtens
8ffb10c8b8
kernel: update bcma and ssb to master-2013-01-09 from wireless-testing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-10 14:05:18 +00:00
Florian Fainelli
91e3a3252f
mvebu: add inital support for Marvell Armada XP/370 SoCs
...
This brings in the initial support for the Marvell Armada XP/370 SoCs.
Successfully tested on RD-A370-A1 and DB-MV784MP-GP boards the following
interfaces:
- Ethernet
- SDIO
- GPIOs
- SATA
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-08 22:20:16 +00:00
Florian Fainelli
ce99d2278c
kernel: add support for 3.8-rc2
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-08 22:19:31 +00:00
Felix Fietkau
df1b8f99d3
kernel: add missing config symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 15:09:39 +00:00
John Crispin
31ca717b30
[kernel] missing underscore in 3.3 regmap patch
...
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 10:01:53 +00:00
Felix Fietkau
bea9349879
kernel: port the regmap fix to 3.6 ( #12749 ), refresh patches for other versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-05 13:33:44 +00:00
John Crispin
3dad88cbb5
[kernel] fix regmap debloat patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-05 00:20:05 +00:00
Felix Fietkau
1691223d48
kernel: move regmap bloat out of the kernel image if it is only being used in modules
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 18:39:50 +00:00
Hauke Mehrtens
0bcdbcb299
brcm47xx: add bgmac driver
...
This Ethernet driver is in early development stage and still has some problems.
This was working on my bcm4716 based device.
Thanks to Rafał Miłecki <zajec5@gmail.com> for writing this driver.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 02:05:22 +00:00
Jo-Philipp Wich
496fe078d4
generic: add some missing kernel config symbols spotted on x86
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 19:10:24 +00:00
Gabor Juhos
353ed2ea80
generic: fix UBIFS build error if XZ compression is disabled
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 08:53:07 +00:00
Gabor Juhos
86fee1635a
generic: add missing symbol for 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:11 +00:00
Felix Fietkau
c28528a913
mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 19:17:19 +00:00
Felix Fietkau
4706d2fcd1
kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 22:59:51 +00:00
Gabor Juhos
f12c128739
generic: more missing symbols for 3.{6,7}
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:41 +00:00
Gabor Juhos
2e918d7ca5
generic: ar8216: add sgmii_delay_en field to ar8327_platform_data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-25 18:45:31 +00:00
Gabor Juhos
cd8ad1441e
generic: ar8216: don't use 0 as default VID on AR8327
...
VID0 is reserved for priority-tagged packets.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:30:04 +00:00
Gabor Juhos
40c3a23321
generic: more missing symbols for 3.{6,7}
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 17:22:41 +00:00
Gabor Juhos
911703d3d7
generic: ar8316: allow to configure port 6 via platform data on AR8327
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:37 +00:00
Gabor Juhos
50709b5321
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:35 +00:00
Gabor Juhos
273d590697
generic/3.6: add platform specific power callbacks to {e,o}hci_platform drivers
...
Backport of upstream commits:
86e4cb35f2260374df4139c2352afe7fe247cb60 usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe
b6dd245c4594482d46507a0bfd100439be367952 usb: host: ohci-platform: BUG_ON() to WARN_ON() on probe
04216bedafb1b3992a6c2b7f1518281d2ba5fc7b usb: host: ehci-platform: add platform specific power callback
e4d37aeb373a5edceecc1dadc76fabbe8bc18e44 usb: host: ohci-platform: addplatform specific power callback
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:06 +00:00
John Crispin
29d0dc4ad3
[kernel] make to rtl8366_smi of binding use gpio_is_valid
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 13:47:14 +00:00
Gabor Juhos
27d7cb3077
kernel: add solos-pci update for 3.3
...
Same patches that I just merged for 3.6 and 3.7, except with one
additional fix that went into v3.4 that needed to be included.
Submitted more for the benefit of the AA branch than for trunk.
[juhosg: refresh the patch with quilt]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-21 10:38:33 +00:00
Gabor Juhos
d2984aef0d
kernel: add solos-pci patches from 3.8 for new hardware
...
[juhosg: refresh patches with quilt, skip the patch for 3.3]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 17:14:57 +00:00
Gabor Juhos
3d45fbcfe4
linux: add missing symbols for 3.{6,7}
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 17:14:56 +00:00
Mirko Vogt
f1b359fecb
Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:50 +00:00
Mirko Vogt
fd18877418
Do not overload mount-call - trying to reduce confusion
...
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh
/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:46 +00:00
Gabor Juhos
56a3d46583
generic: disable crashlog on ppc
...
It causes panic on boot:
[ 0.194287] __ioremap(): phys addr 0x1f00000 is RAM lr crashlog_init_fs
[ 0.200902] Unable to handle kernel paging request for data at address 0x00000000
[ 0.208347] Faulting instruction address: 0xc026cb10
[ 0.213282] Oops: Kernel access of bad area, sig: 11 [#1 ]
[ 0.218586] PowerPC 40x Platform
[ 0.221783] Modules linked in:
[ 0.224817] NIP: c026cb10 LR: c026cb10 CTR: c000c1b8
[ 0.229745] REGS: c1825ed0 TRAP: 0300 Not tainted (3.6.11)
[ 0.235435] MSR: 00029030 <EE,ME,IR,DR> CR: 42004082 XER: 00000000
[ 0.241745] DEAR: 00000000, ESR: 00000000
[ 0.245724] TASK = c181e000[1] 'swapper' THREAD: c1824000
GPR00: c026cb10 c1825f80 c181e000 00000000 0000004b 0000004b c029a4dd 6f675f69
GPR08: 6e69745f c0290440 00000000 00000000 22004084 00000000 01ffc400 004011f8
GPR16: 00000001 ffffffff 00000000 007fff00 01ff6120
01f94298 01fff258 c02631b8
GPR24: c02604bc 00000019 c02a0000 c02a0000 c027c644 00000000 c02c0000 c02bd388
[ 0.279089] NIP [c026cb10] crashlog_init_fs+0x30/0xe0
[ 0.284095] LR [c026cb10] crashlog_init_fs+0x30/0xe0
[ 0.289000] Call Trace:
[ 0.291442] [c1825f80] [c026cb10] crashlog_init_fs+0x30/0xe0 (unreliable)
[ 0.298185] [c1825f90] [c00023fc] do_one_initcall+0xdc/0x1c8
[ 0.303812] [c1825fc0] [c02638c4] kernel_init+0x110/0x1a4
[ 0.309154] [c1825ff0] [c000ad4c] kernel_thread+0x4c/0x68
[ 0.314488] Instruction dump:
[ 0.317429] 9421fff0 7c0802a6 bfc10008 3fc0c02c 90010014 3bfed388 3800fff4 807f0004
[ 0.325117] 2f830000 41be00a4 38804000 4bda2809 <81630000> 7c691b78 907ed388 6d605e11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 20:10:02 +00:00
Gabor Juhos
a8a5ba57e0
generic: add missing symbols for 3.{6,7}
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 20:09:58 +00:00
Gabor Juhos
9cf97ce9dc
kernel: update linux 3.7 to 3.7.1
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 15:13:31 +00:00
Gabor Juhos
cc5e80cd6b
kernel: Fix Cisco SIP NAT patch to build with 3.7
...
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:50:45 +00:00
Gabor Juhos
6a608a235e
kernel: add missing config option BATTERY_DS2781 for 3.7
...
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:50:41 +00:00
Gabor Juhos
8fa14cd324
kernel: update linux 3.6 to 3.6.11
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:41:16 +00:00
Felix Fietkau
aad4224e0d
kernel: fix a warning in the O_DIRECT debloat patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 20:55:49 +00:00
Felix Fietkau
0a9eb9e6d7
kernel: add some debloat patches, strip down procfs and make O_DIRECT support optional, saves ~15K after lzma on MIPS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 15:11:39 +00:00
Gabor Juhos
2bd28b3fe4
generic: rtl836x: fix compiler warnings
...
CC drivers/net/phy/rtl8366rb.o
In file included from drivers/net/phy/rtl8366s.c:16:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8366s.c: In function 'rtl8366s_probe':
drivers/net/phy/rtl8366s.c:1094:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8366s.c:1055:32: warning: unused variable 'pdata'[-Wunused-variable]
CC drivers/net/phy/rtl8366rb.o
In file included from drivers/net/phy/rtl8366rb.c:17:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8366rb.c: In function 'rtl8366rb_probe':
drivers/net/phy/rtl8366rb.c:1214:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8366rb.c:1175:32: warning: unused variable 'pdata'[-Wunused-variable]
CC drivers/net/phy/rtl8367.o
In file included from drivers/net/phy/rtl8367.c:15:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8367.c: In function 'rtl8367_probe':
drivers/net/phy/rtl8367.c:1712:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8367.c:1677:32: warning: unused variable 'pdata' [-Wunused-variable]
CC drivers/net/phy/rtl8367b.o
In file included from drivers/net/phy/rtl8367b.c:15:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8367b.c: In function 'rtl8367b_probe':
drivers/net/phy/rtl8367b.c:1494:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8367b.c:1459:32: warning: unused variable 'pdata' [-Wunused-variable]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 13:02:18 +00:00
Felix Fietkau
09d2950a8c
kernel: add a missing config symbol for 3.7
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 22:00:03 +00:00
Jonas Gorski
2c6f31f9d5
linux: generic: rtl836*: fix compilation with !CONFIG_OF
...
fixes the following errors caused by r34682:
CC [M] drivers/net/phy/rtl8366_smi.o
In file included from drivers/net/phy/rtl8366_smi.c:26:0:
drivers/net/phy/rtl8366_smi.h:149:46: warning: 'struct platform_device' declared inside parameter list [enabled by default]
drivers/net/phy/rtl8366_smi.h:149:46: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8366_smi.c:1398:65: warning: 'struct platform_device' declared inside parameter list [enabled by default]
drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_smi_probe_plat':
drivers/net/phy/rtl8366_smi.c:1400:44: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1402:11: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1403:16: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c: At top level:
drivers/net/phy/rtl8366_smi.c:1415:46: warning: 'struct platform_device' declared inside parameter list [enabled by default]
drivers/net/phy/rtl8366_smi.c:1415:21: error: conflicting types for 'rtl8366_smi_probe'
drivers/net/phy/rtl8366_smi.h:149:21: note: previous declaration of 'rtl8366_smi_probe' was here
drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_smi_probe':
drivers/net/phy/rtl8366_smi.c:1420:31: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1424:10: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1425:3: warning: passing argument 1 of 'rtl8366_smi_probe_of' from incompatible pointer type [enabled by default]
drivers/net/phy/rtl8366_smi.c:1392:19: note: expected 'struct device_node *' but argument is of type 'struct platform_device *'
drivers/net/phy/rtl8366_smi.c:1427:3: warning: passing argument 1 of 'rtl8366_smi_probe_plat' from incompatible pointer type [enabled by default]
drivers/net/phy/rtl8366_smi.c:1398:5: note: expected 'struct platform_device *' but argument is of type 'struct platform_device *'
drivers/net/phy/rtl8366_smi.c: At top level:
drivers/net/phy/rtl8366_smi.c:1438:1: error: conflicting types for 'rtl8366_smi_probe'
drivers/net/phy/rtl8366_smi.h:149:21: note: previous declaration of 'rtl8366_smi_probe' was here
make[7]: *** [drivers/net/phy/rtl8366_smi.o] Error 1
make[6]: *** [drivers/net/phy] Error 2
make[5]: *** [drivers/net] Error 2
make[4]: *** [drivers] Error 2
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 13:32:02 +00:00
John Crispin
7d0cb0b8f0
[kernel] make rtl8366 driver OF capable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-15 01:59:08 +00:00
Gabor Juhos
bd5ac8b620
generic: export include/linux/switch.h on 3.3, 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-14 12:11:48 +00:00
Gabor Juhos
bed62530c9
generic: disintegrate UAPI from include/linux/switch.h
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-14 12:11:41 +00:00
Gabor Juhos
def14d6adc
generic: refresh patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-14 08:47:39 +00:00
Gabor Juhos
5a96c5fd94
generic: update pci_disable_usb_common_quirks patch
...
Fixes the following compiler warning:
drivers/usb/host/pci-quirks.c:459:23: warning: 'quirk_usb_handoff_uhci' defined but not used [-Wunused-function]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-14 08:32:56 +00:00
Gabor Juhos
9156719a74
kernel: fix solos-pci skb double-free in DMA mode
...
[juhosg: refresh the patches with quilt]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 18:39:31 +00:00
Florian Fainelli
89d15c4edb
kernel: fix perf build with uclibc toolchains on x86
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 17:34:22 +00:00
Florian Fainelli
3c02fb1a37
kernel/3.6: backport an upstream build for perf with uClibc
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 15:40:27 +00:00
Felix Fietkau
6d09821306
kernel: fix porting mistakes on the 3.6+ SIP NAT patch causing crashes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 13:07:13 +00:00
Hauke Mehrtens
c217abcbd6
kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-12 22:42:18 +00:00
Gabor Juhos
386acf80cd
generic: fix 8139cp patch for 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-12 08:37:27 +00:00
Gabor Juhos
2c0ebd76cf
kernel: update linux 3.6 to 3.6.10
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 20:14:39 +00:00
Florian Fainelli
7c497fd047
kernel: update to 3.7 final
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 11:31:17 +00:00
Florian Fainelli
6fc70ad18e
generic: backport a fix for the input keymap-matrix module
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 21:05:42 +00:00
Florian Fainelli
5364c8124e
generic: backport an upstream fix for building snd-soc-pcm as a module
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 21:05:27 +00:00
Gabor Juhos
23fe7d4e4f
mac80211: ath9k: allow to load EEPROM data via firmware API
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:46:15 +00:00
Florian Fainelli
d02c46bbe4
generic/kernel: add a fix for a common MIPS build failure.
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:04:10 +00:00
Florian Fainelli
be3b0d2f6d
kernel/generic: refresh 3.7 patches
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:03:55 +00:00
Florian Fainelli
c75fdce675
kernel/generic: port r34599 over 3.7 kernel
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 15:03:51 +00:00
Florian Fainelli
7aa644450e
kernel/generic: fix build failure on missing uhci symbol
...
linux-3.6.8/drivers/usb/host/pci-quirks.c:471: undefined reference to
`uhci_check_and_reset_hc'
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 14:24:28 +00:00
Gabor Juhos
77279cff10
kernel: update linux 3.6 to 3.6.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-08 15:01:33 +00:00
Florian Fainelli
bfd69b4134
kernel: add missing USB configuration symbols after r34501
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-07 11:01:53 +00:00
Florian Fainelli
ff510ab9dc
[kernel] add CONFIG_GPIO_PL061 config symbol
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:40:21 +00:00
Florian Fainelli
66455ce5e7
[adm8668] get rid of the specific UART driver and use AMBA PL010
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 22:39:43 +00:00
Felix Fietkau
eaad0240c3
kernel: add missing config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-06 14:11:16 +00:00
Felix Fietkau
b0d6a6b1eb
kernel 3.6+: nuke obsolete patches that are messing up oprofile builds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 16:49:48 +00:00
Florian Fainelli
92bdf9bcc2
kernel/3.3: move OHCI and EHCI platform drivers to generic
...
These patches are not specific to bcm47xx and will be used on other
platforms as well.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:18:05 +00:00
Felix Fietkau
4a0f91482d
kernel: disable more pci quirks to save space on platforms that don't need them
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 10:33:47 +00:00
Felix Fietkau
011600d51e
kernel 3.6+: switch to a crc32 implementation that is more suitable for small caches. reduces kernel image size by ~22 KiB on mips
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 18:37:41 +00:00
Felix Fietkau
230a9f2b78
kernel: fix stripping symbol exports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 17:42:17 +00:00
Felix Fietkau
7f4fd427f8
kernel: patch in a working copy of elf.h instead of using relative path based hackery in #include statements
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 15:26:19 +00:00
Gabor Juhos
ead6361419
Update linux-atm fixes to reflect the final upstream pull request
...
[juhosg: refresh the patches with quilt]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 13:04:04 +00:00
Gabor Juhos
daac504a9b
kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL
...
Patches queued upstream in net-next.git
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 17:58:28 +00:00
Gabor Juhos
b2925c0565
kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)
...
Patches about to go into net-next.git
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 17:37:18 +00:00
Gabor Juhos
1d08ab094c
kernel: Add missing CONFIG_BATTERY_DS2781 option to generic 3.6 config
...
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 17:37:16 +00:00
Gabor Juhos
56e999eaf3
kernel: update linux 3.6 to 3.6.8
...
Also refresh the affected patches.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 07:42:19 +00:00
Hauke Mehrtens
30844057d1
kernel: add CONFIG_BCMA_POSSIBLE=y to generic config as it is set in most of the target configs.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 14:14:17 +00:00
Gabor Juhos
8217b9bc8c
generic: ar8216: set delay values for SGMII mode on AR8327
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-23 20:55:26 +00:00
Gabor Juhos
1ef9ccffe2
generic: ar8216: introduce ar8216_mib_op helper
...
The ar8216_mib_{capture,flush} functions are similar.
Move the common code into a helper and use that from
the original functions.
This change also fixes a lockdep warning in
ar8216_mib_flush.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-22 10:33:03 +00:00
Gabor Juhos
b152f5091e
swconfig: make it compatible with 3.7
...
swconfig does not compile with 3.7 because
struct netlink_notify->pid has been renamed to
struct netlink_notify->portid
and
struct genl_info->snd_pid has been renamed to
struct genl_info->snd_portid
Use the new names and add compatibility patches
to 3.3 and 3.6.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-21 17:38:11 +00:00
Gabor Juhos
8ea44a2803
generic: add some missing symbols for 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 21:34:43 +00:00
Gabor Juhos
7ce8530f4f
generic: ar8216: fix port number check in 'ar8xxx_mib_work_func'
...
Also add a WARN_ON to 'ar8216_mib_fetch_port_stat'
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 20:40:04 +00:00
Gabor Juhos
6446586528
generic: ar8216: remove an unblanced mutex_unlock call
...
Fixes the following warning:
[ 94.080000]
[ 94.080000] =====================================
[ 94.080000] [ BUG: bad unlock balance detected! ]
[ 94.080000] 3.3.8 #2 Tainted: G O
[ 94.080000] -------------------------------------
[ 94.080000] swconfig/1220 is trying to release lock (&priv->mib_lock) at:
[ 94.080000] [<801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[ 94.080000] but there are no more locks to release!
[ 94.080000]
[ 94.080000] other info that might help us debug this:
[ 94.080000] 2 locks held by swconfig/1220:
[ 94.080000] #0 : (genl_mutex){+.+...}, at: [<80222430>] genl_rcv+0x14/0x34
[ 94.080000] #1 : (&dev->sw_mutex){+.+...}, at: [<801da018>] swconfig_get_dev+0x88/0xb4
[ 94.080000]
[ 94.080000] stack backtrace:
[ 94.080000] Call Trace:
[ 94.080000] [<8028dc58>] dump_stack+0x8/0x34
[ 94.080000] [<800a5128>] print_unlock_inbalance_bug+0xe0/0xfc
[ 94.080000] [<800a82c0>] lock_release+0x18c/0x1c8
[ 94.080000] [<80292074>] __mutex_unlock_slowpath+0xd8/0x17c
[ 94.080000] [<801df8f4>] ar8216_sw_get_port_mib+0x138/0x16c
[ 94.080000] [<801db688>] swconfig_get_attr+0xbc/0x394
[ 94.080000] [<8022261c>] genl_rcv_msg+0x1cc/0x214
[ 94.080000] [<80221a18>] netlink_rcv_skb+0x6c/0xe8
[ 94.080000] [<80222440>] genl_rcv+0x24/0x34
[ 94.080000] [<80221370>] netlink_unicast+0x15c/0x22c
[ 94.080000] [<8022175c>] netlink_sendmsg+0x240/0x2d0
[ 94.080000] [<801ef544>] sock_sendmsg+0x84/0x9c
[ 94.080000] [<801f0648>] __sys_sendmsg+0x1cc/0x270
[ 94.080000] [<801f207c>] sys_sendmsg+0x48/0x7c
[ 94.080000] [<8006ad78>] stack_done+0x20/0x40
[ 94.080000]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 20:40:03 +00:00
Gabor Juhos
756a18fffc
generic: ar8216: add missing locking calls
...
Fixes the following lockdep warning:
[ 19.160000] ------------[ cut here ]------------
[ 19.160000] WARNING: at drivers/net/phy/ar8216.c:322 ar8216_rmw+0x54/0xa4()
[ 19.170000] Modules linked in: nf_defrag_ipv4 nf_conntrack ehci_hcd
sd_mod pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multip
ort xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp
x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) at
h9k_hw(O) ath(O) mac80211(O) usbcore usb_common scsi_mod nls_base crc7
crc_itu_t crc_ccitt cfg80211(O) compat(O) arc4 aes_generic cry
pto_blkcipher cryptomgr aead crypto_hash crypto_algapi ledtrig_timer
ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[ 19.210000] Call Trace:
[ 19.220000] [<8028dc38>] dump_stack+0x8/0x34
[ 19.220000] [<80072da0>] warn_slowpath_common+0x78/0xa4
[ 19.230000] [<80072de4>] warn_slowpath_null+0x18/0x24
[ 19.230000] [<801de820>] ar8216_rmw+0x54/0xa4
[ 19.240000] [<801df460>] ar8216_mib_capture+0x70/0xd0
[ 19.240000] [<801df944>] ar8xxx_mib_work_func+0x34/0x98
[ 19.250000] [<80089a7c>] process_one_work+0x28c/0x460
[ 19.250000] [<8008a630>] worker_thread+0x22c/0x334
[ 19.260000] [<8008e544>] kthread+0x88/0x90
[ 19.260000] [<80065020>] kernel_thread_helper+0x10/0x18
[ 19.270000]
[ 19.270000] ---[ end trace 22e9d696adfa6a08 ]---
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 20:40:00 +00:00
Gabor Juhos
1c257282ce
generic: convert yaffs to use kuid_t and kgid_t on 3.6+
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 17:45:24 +00:00
Gabor Juhos
e71db9dfd9
mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
...
[juhosg: move ramips specific stuff into a followup patch]
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 07:19:09 +00:00
Gabor Juhos
acda372a74
refresh all kernel configurations
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-20 07:19:06 +00:00
Jonas Gorski
c48396be51
Revert "target specific patches have nothing to do in generic.."
...
This reverts commit r34230, as it is causing build failures:
make[3] -C package/mtd compile
imagetag.c:35:32: fatal error: linux/bcm963xx_tag.h: No such file or directory
compilation terminated.
make[4]: *** [imagetag.o] Error 1
Any patches modifying exported kernel headers need to reside in generic
as toolchain/kernel-headers only applies generic patches.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 12:38:26 +00:00
Imre Kaloz
9544bd9e12
[generic/3.7]: fix 820-usb_add_usb_find_device_by_name.patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-19 10:56:09 +00:00
Hauke Mehrtens
9f3fcfae17
kernel: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:40:30 +00:00
Hauke Mehrtens
a47fb21bf8
brcm47xx: add support for kernel 3.6
...
This is based on the patch by Peter Wagner.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:27:00 +00:00
Hauke Mehrtens
b6eec43745
kernel: add missing generic config options for 3.6+
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 20:54:53 +00:00
Hauke Mehrtens
1cad0fee42
kernel: add CONFIG_XZ_DEC=y to generic
...
CONFIG_SQUASHFS_XZ selects CONFIG_XZ_DEC so this could also be moved.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 20:48:53 +00:00
Imre Kaloz
43d2eb64cc
[generic]: add 3.7-rc6 support (patch 820 still has to be fixed)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 18:52:38 +00:00
Gabor Juhos
51c169ab3d
generic: ar8216: add MIB counter support for the AR8216 switch as well
...
Thanks to Jonas Gorski for the reference URL.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 16:21:00 +00:00
Gabor Juhos
232b64b668
generic: ar8216: rename AR8216_*_STATS_* defines
...
The names are misleading, those are only valid from
AR8236. The AR8216 chip uses different offsets.
Thanks to Jonas Gorski for the report.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 16:20:56 +00:00
Gabor Juhos
3c8aacbed8
generic ar8216: allow to read/reset MIB counters via swconfig
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 12:26:35 +00:00
Gabor Juhos
1101fbc106
generic: ar8216: use dynamically allocated private data in ar8216_probe
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 12:26:34 +00:00
Imre Kaloz
8d8c4c5812
target specific patches have nothing to do in generic..
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 09:22:38 +00:00
Gabor Juhos
f1a9d4d2c8
generic: remove temporary config file introduced in r34227
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 08:51:56 +00:00
Gabor Juhos
a0e5999983
kernel: update linux 3.6 to 3.6.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 08:41:31 +00:00
Florian Fainelli
af1483e286
[kernel] add missing framebuffer config symbol
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-16 16:32:45 +00:00
Florian Fainelli
141f8f453d
[kernel] do not build crashlog on sparc too
...
This is crashing the kernel in crashlog_init_fs(), until fixed, disable it
for SPARC too.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-16 16:32:33 +00:00
Florian Fainelli
60412980c1
[kernel] 3.6: add some framebuffer related config symbols
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-16 13:00:51 +00:00
Gabor Juhos
f1d93b0419
generic: refresh 3.6 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-13 20:57:13 +00:00
Florian Fainelli
b070d71880
[kernel] MIPS: add a build fix for arch/mips/boot/compressed/decompress.c
...
And get rid of the AR7 patch because at least the Alchemy SoC also needs it
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 12:49:47 +00:00
John Crispin
f0675c7cae
[atheros] move redboot boardconfig patch into target folder
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 07:56:37 +00:00
Imre Kaloz
505a81f173
[ixp4xx:] add support for the Tonze AP-422/425
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 21:04:30 +00:00
Gabor Juhos
703033b343
generic: sanitize deps_initramfs list
...
If any filename in the intramfs dependency
list contains a colon, that causes a kernel
build error like this:
/devel/openwrt/build_dir/linux-ar71xx_generic/linux-3.6.6/usr/Makefile:58: *** multiple target patterns. Stop.
make[5]: *** [usr] Error 2
Fix it by removing such filenames from the
deps_initramfs list.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-09 09:07:29 +00:00
Jonas Gorski
b8e5c3fb59
linux: export bcm963xx_tag.h to userspace
...
Export bcm963xx_tag.h so mtd can use it without using kernel includes.
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
from original location, refresh patches, use a more matching patch
number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 15:21:46 +00:00
Jonas Gorski
06f3165bc2
linux: generic: fix split_squashfs for 3.6
...
_read expects the retlen to be initialized to zero, which the mtd_read
helper does. So fix it by using mtd_read instead of calling _read directly.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 00:48:21 +00:00
Gabor Juhos
57d2dcb6a0
linux/3.3: backport an upstream GPIO patch
...
The backported patch introduces new flags to
automatically export GPIOs when using the
convenience unctions gpio_request_one() or
gpio_request_array().
This will be used by ar71xx/ramips platforms.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 11:04:43 +00:00
Felix Fietkau
68c575d5a9
linux-3.6: fix portability of some includes files in tools/ used on the host
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 17:01:15 +00:00
Gabor Juhos
ba0ed558ae
generic: make yaffs work on 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 11:07:23 +00:00
Gabor Juhos
9279cff99c
generic: rename jffs2 patches
...
Make room for the upcoming yaffs patches.
No functional changes.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 11:07:16 +00:00
Gabor Juhos
8fda8ed025
generic: use mtd_* helpers in the yaffs code
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 21:17:30 +00:00
Gabor Juhos
5abc89f037
kernel: update linux 3.6 to 3.6.5
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 20:09:39 +00:00
Gabor Juhos
5e9e20bc4f
generic: split yaffs-3.2-fix patch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 19:33:12 +00:00
Gabor Juhos
af243e70af
generic: replace yaffs-2.6.39 patch
...
Use backported upstream patches instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 15:12:45 +00:00
Gabor Juhos
2400c2b7f7
generic: replace yaffs mutex_fix patch
...
Use a backported patch instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:24 +00:00
Gabor Juhos
ce71eb1f6e
generic: replace yaffs symlink fix patch
...
Use a backported patch instead.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:23 +00:00
Gabor Juhos
0461aab56a
generic: rename yaffs patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:21 +00:00
Gabor Juhos
e3f12313fe
generic: fold yaffs_git_2010_10_20 patch to generic/files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 14:58:17 +00:00
Gabor Juhos
029a10f4cb
generic: fold yaffs_cvs_2009_04_24 patch to generic/files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 14:58:13 +00:00
Imre Kaloz
dc8d837bab
add missing 3.6 symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:00:02 +00:00
Gabor Juhos
32c84b93c1
generic: add more symbols for 3.6
...
Also refresh the config file with kconfig.pl.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 09:08:59 +00:00
Gabor Juhos
b783fb21a5
kernel: update linux 3.6 to 3.6.4
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 18:59:39 +00:00
Gabor Juhos
7a14817d2d
generic: fix crashlog patch for 3.6
...
kmsg_dump() uses an iterator to receive log buffer
content since 3.5. Change the 'crashlog_do_dump'
function in order to make it compatible with the
new version.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 09:50:50 +00:00
Gabor Juhos
bb2a90b763
generic: fix tcp_window_check patch for 3.6
...
Move the new entry to the end of the tcp_sysctl_table
array to fix the following error:
[ 7.670000] sysctl table check failed: net/netfilter/nf_conntrack_tcp_max_retrans No data
[ 7.680000] Call Trace:
[ 7.680000] [<80273bc4>] dump_stack+0x8/0x34
[ 7.680000] [<80128710>] __register_sysctl_table+0x374/0x3a8
[ 7.690000] [<868d5034>] nf_conntrack_l4proto_unregister+0x158/0x1a0[nf_conntrack]
[ 7.700000] [<868d50e4>] nf_conntrack_l4proto_register+0x68/0x21c[nf_conntrack]
[ 7.710000] [<868b237c>] need_ipv4_conntrack+0x35c/0xb60[nf_conntrack_ipv4]
[ 7.710000]
[ 7.720000] nf_conntrack_l4proto_tcp4 :protocol register failed
[ 7.720000] nf_conntrack_ipv4: can't register pernet ops
[ 7.780000] nf_nat: Unknown symbol nf_nat_seq_adjust_hook (err 0)
[ 7.790000] nf_nat: Unknown symbol need_ipv4_conntrack (err 0)
[ 7.800000] iptable_nat: Unknown symbol nf_nat_packet (err 0)
[ 7.810000] iptable_nat: Unknown symbol nf_nat_setup_info (err 0)
[ 7.820000] iptable_nat: Unknown symbol nf_nat_icmp_reply_translation (err 0)
[ 7.820000] iptable_nat: Unknown symbol need_ipv4_conntrack (err 0)
[ 7.840000] ipt_MASQUERADE: Unknown symbol nf_nat_setup_info (err 0)
[ 7.860000] nf_nat_ftp: Unknown symbol nf_nat_follow_master (err 0)
[ 7.870000] nf_nat_ftp: Unknown symbol __nf_nat_mangle_tcp_packet (err 0)
[ 7.890000] nf_nat_irc: Unknown symbol nf_nat_follow_master (err 0)
[ 7.900000] nf_nat_irc: Unknown symbol __nf_nat_mangle_tcp_packet (err 0)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 15:42:25 +00:00
Imre Kaloz
de2b6820de
[generic]: instead of updating the whole file, just add the additional boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 13:29:36 +00:00
Gabor Juhos
cdeefe000e
generic: allow to disable [25]GHz support in ath9k via platform data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:36 +00:00
Gabor Juhos
d88a6ff008
generic: use mtd_read in myloader parser
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 07:57:59 +00:00
Gabor Juhos
0cbec5aa1e
generic: swconfig: use led_set_brightness in LED control code
...
The 'led_brightness_set' function has
been renamed to 'led_set_brightness'
in recent ernels. Use the new name and
add a compatibility patch for 3.3.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 18:58:18 +00:00
Gabor Juhos
32d786c526
generic: add missing symbols for 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 18:58:15 +00:00
Florian Fainelli
2e2b5e910a
[kernel] add some more 3.6 config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 15:24:10 +00:00
Hauke Mehrtens
ad6708c17b
kernel: add PCI id 14e4:4350 to ssb
...
* 14e4:4350 is found on a Broadcom BCM43222.
* remove some warnings when using a BCM43222.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:50:47 +00:00
Felix Fietkau
37b928c2c8
kernel: add a few missing config symbols for x86. added to generic config because of dependencies, so that kernel_menuconfig does not remove them again
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:11:45 +00:00
Felix Fietkau
bd9b9ef3d1
kernel: refresh config files using kconfig.pl
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:11:40 +00:00
Hauke Mehrtens
183c8129ef
kernel: update bcma and ssb to master-2012-10-18 from wireless-testing
...
* update the flash driver for bcm47xx to use the stubs already in bcma
* do some misc enhancements to the flash drivers for bcm47xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 14:33:47 +00:00
Florian Fainelli
c7f277a21e
[kernel] ARM: fix XZ decompressor stub build failure on strstr()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 15:57:31 +00:00
Florian Fainelli
9a5ebab4f6
[kernel] fixup generic 3.6 kernel config
...
It was not meant to be committed as-is in r33911
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 15:57:24 +00:00
Florian Fainelli
b7494455f2
[kernel] fix IFF_NO_IP_ALIGN bitmask to contain only 1 bit set
...
This issue got introduced while porting the patch over 3.6 in r33897
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:23:20 +00:00
Florian Fainelli
dcde44e37e
[kernel] make all 3.6 patches apply and build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:22 +00:00
Florian Fainelli
835d9c9a76
[kernel] swconfig: get rid of the NLA_PUT_* macros
...
Upstream kernel 3.6 has removed this usage, use the plain functions directly as
intended.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:04 +00:00
Imre Kaloz
648f1d0171
[generic]: linux 3.6 support (work in progress)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 12:21:34 +00:00
Jonas Gorski
35c7b0ba8a
kernel: move the bcma fallback sprom fix to generic
...
bcm63xx needs the bcma fallback sprom fix, too.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:49 +00:00
Florian Fainelli
18fe6ccc9f
[kernel] refresh 3.3 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-21 21:30:30 +00:00
Gabor Juhos
3f74a4920a
generic: add driver for the the RTL8367R{B,-VB} switches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:22:56 +00:00
Imre Kaloz
186a78c8f4
[generic]: add support for new Option modules (GTM66xxWFS/GTM67xxWFS)
...
Add new device ID's for the hso driver as well as usb storage
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 06:58:42 +00:00
John Crispin
44090b37e4
[kernel] gpiodev/gpioctl RIP
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 11:58:09 +00:00
Imre Kaloz
7deca64a98
The Gateworks System Controller (GSC) is an i2c device that provides system
...
level monitoring and control of Gateworks boards. It is used on several
product families spanning several different target architectures (ixp4xx,
cns3xxx, davinci).
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 07:59:06 +00:00
Felix Fietkau
41d09b7d78
kernel: fq_codel: dont reinit flow state
...
Keep fq_codel flow state around after queue empty.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:54:31 +00:00
Felix Fietkau
be0d248fac
kernel: dont delay acks after ECN CE
...
Bugfix from linux head - don't delay acks from ECN congestion
experienced in some situations.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:54:27 +00:00
Felix Fietkau
0d705f9422
mtd: allow partial block unlock
...
This allows sysupgrade for devices such as the Gateworks Avila/Cambria
product families based on the ixp4xx using the redboot bootloader with
combined FIS directory and RedBoot config partitions on larger FLASH
devices with larger eraseblocks.
This second iteration of this patch addresses previous issues:
- whitespace breakage fixed
- unlock in all scenarios
- simplification and fix logic bug
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:38:44 +00:00
Hauke Mehrtens
a7b580a310
[kernel] refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:45:53 +00:00
Gabor Juhos
0af4307860
generic: enable CONFIG_USB_EHCI_TT_NEWSCHED
...
This feature was experimental in old kernels but
that flag has been removed in 2.6.36. Additionally,
the option is enabled by default since then.
See: http://www.spinics.net/lists/linux-usb/msg31993.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 20:05:39 +00:00
Gabor Juhos
0fe0b149fa
generic: add upstream commit id to codel patches and refresh those
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-26 14:17:17 +00:00
Florian Fainelli
e2356de36b
[kernel] backport the upstream entropy changes ( #11951 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-26 12:54:01 +00:00
Felix Fietkau
0bc9377f09
kernel: increase log buffer size
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 23:10:42 +00:00
Imre Kaloz
360d31e90b
[generic/3.3]: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 05:38:16 +00:00
Felix Fietkau
9c44a20ec1
kernel: enable perf events when enabling profiling, fixes oprofile on arm
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 20:27:14 +00:00
Gabor Juhos
22c82787d3
generic: add MTD_NAND_AR934X symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:21 +00:00
Gabor Juhos
df1e2bf058
generic: move GENERIC_PWM symbol into the generic config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 06:38:31 +00:00
Florian Fainelli
ed2a905399
[generic] fix ixp4xx_hss build failure ( #12162 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 08:53:21 +00:00
Gabor Juhos
93f4aa6853
generic add WLAN calibration data ID to routerboot.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:26 +00:00
Gabor Juhos
2ef5213899
adm5120: move common routerboot definitions into a separate header file
...
Those will be used on the ar71xx platform as well.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 11:55:42 +00:00
Gabor Juhos
d0cb8a4508
generic: add support for the EON EN25Q64 SPI flash chip
...
It is used in some TL-WDR4310 devices. Closes #12077 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 09:27:56 +00:00
Gabor Juhos
32c2df1794
generic: extend pci_isable_usb_common_quirks patch
...
Fixes the following build error:
SYSMAP System.map
Building modules, stage 2.
MODPOST 48 modules
ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:26:51 +00:00
John Crispin
e66a7efb23
[kernel] fixes gpio_dev un/reload balancing
...
Signed-off-by: SHI Bin <shibin@ctsing.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 12:32:11 +00:00
Gabor Juhos
a3f4fb2069
generic: use __meminit annotation for crashlog_init_memblock
...
Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.
Also, remove the __init annotations from 'include/linux/crashlog.h'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 10:30:41 +00:00
Gabor Juhos
82d7a65e63
generic: rtl8366_smi: increase delay after switch hw reset
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 06:32:00 +00:00
John Crispin
34b1cc667c
[bufferbloat] Codel: avoid a nul rec_inv_sqrt
...
One condition before codel_Newton_step() was not good if
we never left the dropping state for a flow. As a result
rec_inv_sqrt was 0, instead of the ~0 initial value.
codel control law was then set to a very aggressive mode, dropping
many packets before reaching 'target' and recovering from this problem.
Brought over from 3.5-stable
Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 13:39:50 +00:00
Gabor Juhos
fcbe8ef24f
generic: rtl836x: add hw_reset field to struct rtl8366_smi
...
It will be used to start/stop the switch if that is
supported by the given board.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:21 +00:00
Gabor Juhos
43975158da
generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-02 09:54:13 +00:00
Florian Fainelli
a21c75cb87
[kernel] disable crashlog on ARM platforms for the moment
...
It is currently badly broken on ARM, until fixed, disable it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-31 23:09:46 +00:00
John Crispin
7d1cfe9157
[kernel] refresh pwm patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-29 11:53:06 +00:00
John Crispin
841bbe2dbd
[kernel] clean up pwm patches and drivers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28 20:47:08 +00:00
Hauke Mehrtens
388d1df961
[kernel] add config option CONFIG_I2C_MV64XXX to fix kirkwood build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-28 11:36:52 +00:00
Florian Fainelli
bc998d69d0
[generic] add more USB-related config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-26 17:03:05 +00:00
Hauke Mehrtens
4209833de7
[kernel] bcma: update to version from wireless-testing tag master-2012-07-16
...
I did not add the last patch, because it add some stubs for the flash drivers and our patches have to be changed for that, if the flash support in bcma is able to do something I will integrate it.
This also contains 3 additional patches fixing some bugs in bcma.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-26 15:42:18 +00:00
Florian Fainelli
518908b849
[kernel] add yet another framebuffer symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 14:01:57 +00:00
John Crispin
88982aa06c
[kernel] add unset CONFIG_FB_XGI to fix fullbuilds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 09:05:23 +00:00
Florian Fainelli
a4e930b56b
[generic] add missing framebuffer related symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 19:43:23 +00:00
John Crispin
287c1a65b2
[generic] fix tantos patch properly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 17:28:12 +00:00
John Crispin
2991af7a05
[generic] make tantos switch select ETHERNET_PACKET_MANGLE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 16:50:14 +00:00
Felix Fietkau
7da8fc992d
[kernel] crashlog: fix dependency, add memblock support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-22 16:39:33 +00:00
Felix Fietkau
5d7bf2454a
kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-20 12:28:50 +00:00
Gabor Juhos
5327743b32
generic: ocf: restore terminating entry of pci_id_table in hifnHIPP
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-12 08:34:23 +00:00
Luka Perkov
7bb8a26e0c
ocf: update to version 20120127
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 23:38:14 +00:00
Hauke Mehrtens
5a4398b767
kernel: bcma: update to version from wireless-testing tag master-2012-07-11
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 22:17:05 +00:00
Gabor Juhos
4ecbabb00b
generic: ar8216: start aneg on each PHY of the AR8327
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 08:26:39 +00:00
Jonas Gorski
e6d44db12b
kernel: generic: spi: allow empty (un)prepare transfer
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-03 21:42:03 +00:00
Hauke Mehrtens
540c45aaa3
kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-02 23:12:58 +00:00
Felix Fietkau
b7f4ff45e3
kernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)
...
Despite Westwood's theoretical advantages, in nearly
every benchmark we ran last year, TCP cubic won, whether it be
on correct RTT estimates, amount of buffering, responsiveness,
etc. on current hardware and software designs.
(both need timestamps on to work well, besides)
TCP cubic is better maintained and understood than westwood,
also.
While a scenario where westwood would win possibly exists,
there is too much buffering in the wifi stack in particular
at present, to see any improvement.
If you wish to exercise various TCPs under contention,
the current svn head of netperf (2.6) has options to switch
congestion control agorithms on the fly, as does iperf.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-27 22:32:47 +00:00
Felix Fietkau
bbf923a00f
kernel: add missing config symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-24 20:21:27 +00:00
Gabor Juhos
8d2d96fb1e
generic: ar8216: allow to configure AR8327 LEDs via platform data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 10:44:16 +00:00
Felix Fietkau
1aa9a2c11f
kernel: replace the brcm47xx fuse workaround patches with a generic patch that applies to all mips targets
...
The dcache bug that it works around is a generic issue, not a brcm47xx cache quirk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 21:06:33 +00:00
Felix Fietkau
7dc116bbbc
kernel: add a few more tracing related symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 18:04:00 +00:00
Felix Fietkau
556a289006
kernel: make tracing support configurable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:25:57 +00:00
Florian Fainelli
b3448742b9
[generic/3.3] backport spi message queue infrastructure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:30 +00:00
Florian Fainelli
18ad7d53f3
[kernel/3.3] refresh generic patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:38 +00:00
John Crispin
c7942cd68f
[kernel] adds patch to make Tantos (psb6970) switch buildable again
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 17:41:28 +00:00
Gabor Juhos
8e8353898c
generic: ar8216: add revision specific PHY fixups for AR8327
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:27 +00:00
Gabor Juhos
37ce7c5714
generic: ar8216: replace chip_type field with chip_{ver,rev} in ar8216_priv
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:26 +00:00
Gabor Juhos
049f00ab72
generic: ar8216: add chip_is_ar8{216,236,316,327} helpers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:24 +00:00
Felix Fietkau
2708355504
kernel: fix suppressing -s for linking modules when profiling is enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 21:02:36 +00:00
Gabor Juhos
54d14f8850
generic: rtl8367: rename a misnamed variable
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:47 +00:00
Gabor Juhos
e4f7489ec1
generic: rtl8366_smi: remove duplicated spinlock initialization
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:45 +00:00
Gabor Juhos
d89221e9ce
generic: rtl8366_smi: rename debugfs Kconfig symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:43 +00:00
Gabor Juhos
d57d3c1a10
generic: rtl8367: allow to use VLANs > 31
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 17:09:41 +00:00
Felix Fietkau
260e2d8486
kernel: properly pad the allocated headroom in skb_cow to NET_SKB_PAD
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:16:37 +00:00
Gabor Juhos
4f1451b47e
linux/3.2: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:37 +00:00
Gabor Juhos
827fdc608c
linux/3.1: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:01:09 +00:00
Felix Fietkau
489514ce70
kernel: add a few patches for avoiding unnecessary skb reallocations - significantly improves ethernet<->wireless performance with mac80211 based drivers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 14:43:58 +00:00
Felix Fietkau
0b257a6c10
kernel: fix a warning in the connmark module
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-24 18:25:08 +00:00
Gabor Juhos
e100214e23
kernel: update linux 3.3 to 3.3.7
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:32 +00:00
Gabor Juhos
831c677efc
linux/3.3: avoid recursive calling of mtd_writev in the block2mtd driver
...
Should fix #11513 . Tested with the x86/generic squashfs image within a VM.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:19 +00:00
Felix Fietkau
192dbdd2f5
lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 21:58:03 +00:00
Felix Fietkau
b21bdefb82
kernel: merge a net-next fq_codel backlog handling fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 22:12:15 +00:00
Gabor Juhos
67ea71e397
linux/2.6.39: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 20:10:51 +00:00
Hauke Mehrtens
06370f57c1
kernel: add some missing config options added by r31756
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:28:30 +00:00
Hauke Mehrtens
f9cfc0fd4a
kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:22:38 +00:00
Felix Fietkau
0c6a3e365f
kernel: add codel and fq_codel to generic 3.3 patch set (based on patch by Dave Täht)
...
Codel is a new AQM algorithm and RED replacement designed by
Kathie Nichols and Van Jacobson, and published in ACM queue:
http://queue.acm.org/detail.cfm?id=2209336
Codel stands for "Controlled Delay", and needs no knobs in the
general case, twiddled, for optimum results. It aims for 5ms of
delay, at most, when in use.
Additionally,
fq_codel (by eric dumazet) builds on codel to provide fair queuing
superior to what could be had with SFQ, and drop behavior saner
than RED, BLUE, or choke.
These patches are backported from net-next and are known to work
on Linux 3.3.4 and later.
Includes updates to codel for better portability and speed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 15:23:03 +00:00
Gabor Juhos
4cd69e320c
linux/3.3: add missing symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-16 10:44:46 +00:00
Gabor Juhos
880547fc5a
linux: add CONFIG_POWER_SUPPLY_DEBUG symbol
...
It was missing in the previous commit.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 11:12:31 +00:00
Gabor Juhos
cb4c118e50
linux: move certain disabled symbols to the generic configs
...
* CONFIG_ARCH_DMA_ADDR_T_64BIT
* CONFIG_ARCH_HAS_ILOG2_U32
* CONFIG_ARCH_HAS_ILOG2_U64
* CONFIG_ARCH_PHYS_ADDR_T_64BIT
* CONFIG_ARCH_SUPPORTS_MSI
* CONFIG_GENERIC_CPU_DEVICES
* CONFIG_HWMON_DEBUG_CHIP
* CONFIG_I2C_PXA_PCI
* CONFIG_LEDS_GPIO
* CONFIG_MINIX_FS_NATIVE_ENDIAN
* CONFIG_MLX4_CORE
* CONFIG_POWER_SUPPLY
* CONFIG_POWER_SUPPLY_DEBUG
* CONFIG_QUOTACTL
* CONFIG_SDIO_UART
* CONFIG_SENSORS_K10TEMP
* CONFIG_SENSORS_SCH56XX_COMMON
* CONFIG_SENSORS_VIA_CPUTEMP
* CONFIG_SERIO_AMBAKMI
* CONFIG_SERIO_I8042
* CONFIG_SERIO_LIBPS2
* CONFIG_SERIO_PCIPS2
* CONFIG_SERIO_RAW
* CONFIG_SERIO_SERPORT
* CONFIG_SPI_BITBANG
* CONFIG_SPI_GPIO
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 10:58:52 +00:00
Gabor Juhos
9391118ede
linux/3.0: R.I.P.
...
It is used by the broken omap35xx/gumstix target only.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 15:48:34 +00:00
Gabor Juhos
8e347885d6
linux/3.3: more missing config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 15:48:23 +00:00
Hauke Mehrtens
b2a6c43e1c
kernel: add CONFIG_BLK_DEV_PCIESSD_MTIP32XX
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 11:28:02 +00:00
Gabor Juhos
cc87185921
kernel: update linux 3.3 to 3.3.6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 09:18:32 +00:00
Hauke Mehrtens
2181299b7e
kernel: ssb: add PCI IDs 0x4322 and 43222
...
The 0x4322 ID is found on the BCM4322 used on some SoCs like the
Linksys WRT610N V1 connected to a BCM4705. The 43222 (0xa8d6) ID
is found on the BCM43222 used on some other SoCs like the D-Link
DSL-2760U connected to a BCM63xx.
This fixes #10887 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 00:08:12 +00:00
Gabor Juhos
88cd79159b
linux/2.6.38: R.I.P.
...
It is used only by the broken coldfire target.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 12:05:21 +00:00
Gabor Juhos
3d65e0831f
linux/2.6.37: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 12:05:19 +00:00
Gabor Juhos
090afbf663
linux/3.3: add missing RTC symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-09 10:48:30 +00:00
Gabor Juhos
3303e79b79
kernel: update linux 3.3 to 3.3.5
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 20:11:43 +00:00
Felix Fietkau
f20d1938b5
kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:19:14 +00:00
Felix Fietkau
ee9f3b6a3c
atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 17:08:30 +00:00
Gabor Juhos
3a416fef4f
linux/2.6.32: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 11:43:34 +00:00
Gabor Juhos
dda43ef81e
linux/2.6.32: fix layer7 patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 07:20:13 +00:00
Gabor Juhos
7f4625bd8c
Fix iptables abuse of kernel header files. Use exported headers instead.
...
[juhosg: export xt_layer7.h for all kernel versions]
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:43:10 +00:00
Gabor Juhos
918f2e287c
linux/3.3: add more missing symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 18:27:19 +00:00
Gabor Juhos
8bf403c6f9
linux/3.3: add more missing symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-01 08:00:26 +00:00
Gabor Juhos
465b2a024c
kernel: update linux 3.3 to 3.3.4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:38:11 +00:00
Gabor Juhos
2341f7444d
linux: rtl836x: add a generic reset_switch function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:31 +00:00
Gabor Juhos
bd9308390c
linux: rtl836x: rename rtl836*_hw_init to rtl836*_setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:29 +00:00
Gabor Juhos
b29026e34d
linux: rtl836x: add a reset_chip callback to rtl8366_smi_ops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 18:29:26 +00:00
Gabor Juhos
8f2556fba2
linux/3.3: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 16:56:03 +00:00
Gabor Juhos
fc25550f74
linux/3.3: yet another missing symbol
...
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:24 +00:00
Gabor Juhos
223e587e83
linux/3.3: add support for the Pericom PT7C4338 I2C RTC chip
...
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:08:22 +00:00
Gabor Juhos
d7df86f4a9
linux: move CONFIG_BOOKE_WDT to the generic config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:00:34 +00:00
Gabor Juhos
5613414b3d
linux/2.6.36: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 15:00:33 +00:00
Gabor Juhos
d50a36d625
linux/3.3: yet another missing symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-27 06:31:43 +00:00
Gabor Juhos
0965fa8af6
linux/3.3: fix compiler warnings in the plat_nand driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-25 12:57:29 +00:00
Jonas Gorski
281a545b07
kernel: update linux 3.3 to 3.3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:38 +00:00
Jonas Gorski
5520ed39bf
kernel: update linux 3.2 to 3.2.16
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:35 +00:00
Jonas Gorski
4c00516bd2
kernel: add some more missing kernel config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 09:25:32 +00:00
Jo-Philipp Wich
5d3e17b374
[generic] enable NF_CONNTRACK_PROCFS for Linux 3.3, required for /proc/net/nf_conntrack ( #11339 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 00:55:57 +00:00
Felix Fietkau
a4fcc4529e
ar8216: enable forwarding of multicast frames to the cpu port on ar8327 (thx, SeG)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-22 19:19:49 +00:00
Gabor Juhos
668290df9c
linux/2.6.31: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 15:18:58 +00:00
Gabor Juhos
5ae4549c65
linux/2.6.30: R.I.P.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 15:18:55 +00:00
Gabor Juhos
4522bd9b92
linux/3.3: nuke the gpio_buttons patch
...
It is superseded by the in-kernel gpio-keys-polled driver.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 14:26:35 +00:00
Gabor Juhos
7d694e70f0
linux/3.3: fix crypto4xx build failure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 10:47:04 +00:00
Gabor Juhos
9d93fe6bd5
linux/3.3: update ARM mach-types
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-20 15:24:54 +00:00
Claudio Mignanti
faea581f6b
[generic] Add a missing symbol for config-3.3
...
Signed-off-by: Claudio Mignanti <c.mignanti@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-20 13:33:04 +00:00
Florian Fainelli
29681c7326
[kernel/2.6.30] remove some annoying warnings and fix snd modules build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-20 13:25:26 +00:00
Florian Fainelli
9b0b00129d
[generic] fix 335-mips-kexec patch for all 3+ kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-18 15:36:30 +00:00
Jonas Gorski
afbf3d994e
kernel: update linux 3.3 to 3.3.2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:51:02 +00:00
Jonas Gorski
23578461a9
kernel: update linux 3.2 to 3.2.15
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-17 12:50:54 +00:00
Jo-Philipp Wich
d68e222240
Fix bufferbloat in PPPoATM TX queue
...
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:04:45 +00:00
Jo-Philipp Wich
d6f68cb7ab
Update ppp TX restart patch to avoid race condition
...
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:04:44 +00:00
Florian Fainelli
b9a5bae5fb
[kernel/2.6.32] backport missing platform data members for gpio-keys
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 12:09:15 +00:00
Florian Fainelli
28c078fca1
[kernel/2.6.32] backport a missing eeprom 93cx6 define for building rt2x00
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 12:09:13 +00:00
Florian Fainelli
f190612c75
[kernel/2.6.32] add missing debugging symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 11:38:33 +00:00
Florian Fainelli
0d16a54698
[generic/2.6.32] silence an annoying x86 warning
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-15 18:53:39 +00:00
Hauke Mehrtens
0bc45f5787
kernel: refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-13 19:37:15 +00:00
Hauke Mehrtens
5af062a0e0
kernel: update bcma and ssb to version master-2012-04-12 from wireless-testing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-13 19:35:40 +00:00
Felix Fietkau
d275344c3e
kernel: fix arm compressed images build on mac os x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-13 13:38:45 +00:00
Imre Kaloz
5223166450
[generic/3.3]: add missing symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 17:03:02 +00:00
Jonas Gorski
6ea1895fc3
kernel: update linux 3.3 to 3.3.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:56 +00:00
Jonas Gorski
fe073513d5
kernel: update linux 3.2 to 3.2.14
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:51 +00:00
Jonas Gorski
a0bbe7df3b
kernel: add some more additional missing config symbols for 3.2 and 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 14:48:46 +00:00
Florian Fainelli
a48aa01fce
[kernel/3+] add missing DM/MD config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:52 +00:00
Florian Fainelli
e51b195041
[kernel/2.6.38] fix gcc-4.6 set but unused warnings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:04 +00:00
Florian Fainelli
f693d3ffd8
[kernel/2.6.38] refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:01 +00:00
Jonas Gorski
d944e45d65
kernel: update linux 3.2 to 3.2.13 and refresh patches
...
Also remove a duplicate patch from lantiq (already in generic).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 07:56:55 +00:00
Jonas Gorski
49fec54fec
kernel: add some more missing kernel symbols for 3.2 and 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-01 07:56:49 +00:00
Jonas Gorski
04be726d5c
kernel: add some more missing serial 8250 config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-30 08:11:01 +00:00
Felix Fietkau
6f8b023b69
kernel: restore ebtables functionality by running netfilter hooks when the ebtables module is loaded
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-29 14:15:54 +00:00
Mirko Vogt
c09389a8ac
[target/generic] deal with 'set-but-unused-variables' in a more generic way
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 15:28:13 +00:00
Florian Fainelli
518a921f7c
[generic] ppp: Fix high softirq utilization with pppoa
...
Users of the Geos platform are reporting high CPU utilization.
This seems to be rooted in a problem with the TX queue restart in PPP.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 17:47:44 +00:00
Florian Fainelli
8e8496c2ee
[kernel/3.3] add missing INET_UDP_DIAG symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 17:47:41 +00:00
Felix Fietkau
edba77a97d
ath9k: make endian check optional
...
Turns out it triggers on some AR71xx devices where no swapping should be done.
Enable endian check for the lantiq target.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-27 13:21:53 +00:00
John Crispin
ea1c8334d9
[ar8216] fixes breakage introduced in 776722ce36ac95877efb7fd771dde2f6ffc96433
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-22 13:07:34 +00:00
Gabor Juhos
3381cc597a
linux: refresh patches against 3.3
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:55:07 +00:00
Gabor Juhos
044147a3ec
linux/3.{2,3}: yet another missing NET_VENDOR symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-20 15:55:04 +00:00
Gabor Juhos
81de1500bc
kernel: update linux 3.2 to 3.2.12
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 18:23:31 +00:00
Imre Kaloz
c56b757f1d
[generic]: add missing Kconfig symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 11:26:15 +00:00
Gabor Juhos
69e2e9c108
generic: ar8216: add support for the AR8327 chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:55 +00:00
Gabor Juhos
baeb3db74d
generic: ar8216: allow to use more ports
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:51 +00:00
Gabor Juhos
998ee8cbbc
generic: ar8216: reorder chip specific functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:48 +00:00
Gabor Juhos
16e8051306
generic: ar8216: reorder switch_dev specific functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:45 +00:00
Gabor Juhos
8213a8e8f5
generic: ar8216: use ar8216_sw_ prefix for switchdev related functions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:42 +00:00
Gabor Juhos
71f7596c79
generic: ar8216: use switch_dev->ports in for loops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31006 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:40 +00:00
Gabor Juhos
e616b588f8
generic: ar8216: add read_port_status field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:39 +00:00
Gabor Juhos
44eec652f1
generic: ar8216: add init_globals field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:36 +00:00
Gabor Juhos
3b2249677c
generic: ar8216: add caps field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:33 +00:00
Gabor Juhos
959df6a165
generic: ar8216: add vtu_load_vlan field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:30 +00:00
Gabor Juhos
071a509f67
generic: ar8216: add vtu_flush field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:26 +00:00
Gabor Juhos
0d1a31938c
generic: ar8216: add init_port field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:23 +00:00
Gabor Juhos
d52cff00a4
generic: ar8216: add setup_port field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:19 +00:00
Gabor Juhos
ea9e2d7fb2
generic: ar8216: add hw_init field to ar8xxx_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:15 +00:00
Gabor Juhos
3a4a231982
generic: ar8216: add a separate structure for chip specific stuff
...
Also add a hw_init function into that.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30997 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:12 +00:00
Gabor Juhos
595d1849e5
generic: ar8216: rename chip field of struct ar8216
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:08 +00:00
Gabor Juhos
baee093c4e
generic: ar8216: move ar8216_id_chip function
...
Also remove the inline annotation.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:05 +00:00
Gabor Juhos
e4682f031a
generic: ar8216: rename ar8216_ops to ar8216_sw_ops
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-18 22:06:03 +00:00
Felix Fietkau
7fd4ed413f
kernel: improve profiling support, keep static symbols when profiling is enabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-17 13:03:14 +00:00
Florian Fainelli
3aa9d6bd64
[kernel/3.2] add some more missing symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-17 11:55:49 +00:00
Felix Fietkau
8fb4a3381e
kernel: optimize out remaining netfilter hooks in the bridging code if bridge filtering is disabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-16 09:21:59 +00:00
Felix Fietkau
a86e95542d
swconfig: use a mutex instead of a spinlock, many swconfig calls sleep
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 19:32:31 +00:00
Felix Fietkau
531638e839
ar8216: fix a MTU related regression
...
Switch reset on AR8316 appears to clobber the MTU configuration register
and possibly other global config registers. Move global configuration
register init writes back to the reset callback.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 16:57:27 +00:00
Gabor Juhos
6189648864
ar71xx: move micrel PHY driver to the generic linux target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:25:53 +00:00
Gabor Juhos
9af0d919e6
linux/3.3: build mdio_register_board_info into the kernel if PHYLIB is selected
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:25:49 +00:00
Gabor Juhos
a1c1818142
linux/3.2: build mdio_register_board_info into the kernel if PHYLIB is selected
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-15 09:25:47 +00:00
Gabor Juhos
72f225874b
generic: ar8216: merge multiple if statements in ar8216_hw_apply
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 17:33:12 +00:00
Felix Fietkau
f00c73f3c5
kernel: bypass all netfilter hooks if the sysctls for that functionality have been disabled - eliminates the overhead of enabling CONFIG_BRIDGE_NETFILTER in the kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 10:06:45 +00:00
Gabor Juhos
3b5159b828
linux/3.3: refresh patches against 3.3-rc7
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 17:32:38 +00:00
Gabor Juhos
04635421a3
linux/3.3: allow to set platform_data for phy devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:28:01 +00:00
Gabor Juhos
4c0838a16c
linux/3.2: allow to set platform_data for phy devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:28:00 +00:00
Gabor Juhos
c74d354787
linux/3.3: add missing config symbol
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:58 +00:00
Jo-Philipp Wich
0da5eba57b
[generic] expose CONFIG_NETFILTER_NETLINK for external kmods
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 00:09:23 +00:00
Gabor Juhos
c1db1347f6
generic: ar8216: use usleep_range in ar8216_mii_{read,write}
...
msleep(1) can sleep for up to 20ms.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 17:19:14 +00:00
Gabor Juhos
4769d71b06
generic: ar8216: add a helper function for writing PHY debug registers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:49:35 +00:00
Gabor Juhos
1fb98d5708
generic: ar8216: add lockep assertion to ar8216_rmw
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:49:33 +00:00
Gabor Juhos
b8e1185b0d
linux/3.3: show correct name for MIPS 24KEc in /proc/cpuinfo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:39:30 +00:00
Gabor Juhos
353b832bed
linux/3.2: show correct name for MIPS 24KEc in /proc/cpuinfo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:39:28 +00:00
Gabor Juhos
488b7bdd9b
generic: ar8216: coding style cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:14 +00:00
Gabor Juhos
6808474a82
generic: ar8216: don't use static variable in ar8236_hw_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:12 +00:00
Gabor Juhos
3f153edf08
generic: ar8216: move register inititalization into hw_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:11 +00:00
Gabor Juhos
0dbb34d4d6
generic: ar8216: set chip type directly in ar8216_id_chip
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:10 +00:00
Gabor Juhos
4e75ad23ad
generic: ar8216: simplify ar8216_config_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:08 +00:00
Gabor Juhos
c95817f23a
linux/3.{2,3}: even more NAND symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 22:32:54 +00:00
Gabor Juhos
d41f998ce0
generic: ar8216: move port initialization into a separate function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:46 +00:00
Gabor Juhos
295e64ddd8
generic: ar8216: improve ar8216_wait_bit function
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:45 +00:00
Gabor Juhos
6bf74d0a6c
generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:43 +00:00
Gabor Juhos
a5c699969d
generic: ar8216: use the generic get_port_link implementation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:42 +00:00
Gabor Juhos
99d475bceb
generic: rtl8367: use the generic get_port_link implementation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:40 +00:00
Gabor Juhos
79095804dc
generic: rtl8366s: use the generic get_port_link implementation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:38 +00:00
Gabor Juhos
81e9ccaa83
generic: rtl8366rb: use the generic get_port_link implementation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:37 +00:00
Gabor Juhos
30da07d668
generic: swconfig: add a generic get_port_link implementation
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:33 +00:00
Gabor Juhos
0c2840d0b6
generic: ar8216: use mdiobus_write in ar8236_hw_init
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:31 +00:00
Gabor Juhos
3e76187a42
generic: ar8216: use bus->mdio_lock directly in ar8216_mii_{read,write}
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:30 +00:00
Gabor Juhos
ccdc2541af
generic: ar8216: fix phy driver name
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:28 +00:00
Jo-Philipp Wich
8091b57cfc
[generic] enable EFI partition support by default, adds ca. 8K uncompressed on ar71xx ( #8672 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 14:14:52 +00:00