Felix Fietkau
df755284d9
cns3xxx: ethernet - clean the tx ring before refilling the rx ring to reduce memory pressure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 02:29:53 +00:00
Felix Fietkau
4b1c2fb15f
cns3xxx: ethernet - clean the tx ring only in the poll function, not in the xmit handler
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 02:29:47 +00:00
Felix Fietkau
dfe1972d62
cns3xxx: increase number of ethernet driver rx buffers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 21:59:32 +00:00
Felix Fietkau
1bb86e38d7
cns3xxx: prevent the ethernet driver from accessing uninitialized dma descriptor entries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 21:59:28 +00:00
Felix Fietkau
b019b3bb2f
cns3xxx: minor ethernet driver cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 21:59:21 +00:00
Hauke Mehrtens
66227ce952
brcm47xx: refresh config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 20:42:26 +00:00
Hauke Mehrtens
5b4c3e8098
xburst: fix compilation: remove the __dev attributes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 20:26:28 +00:00
Hauke Mehrtens
f32b22c8c9
kernel: add some missing config options found by the buildbot.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 20:25:19 +00:00
Felix Fietkau
f7b3da4d14
cns3xxx: use kmalloc instead of kzalloc for ethernet rx buffers
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:25:20 +00:00
Felix Fietkau
5dab5bf10c
cns3xxx: fix an rx irq handling corner case
...
When an rx interrupt comes in, rx interrupts are disabled and NAPI
polling is scheduled. During the NAPI poll, the driver first processes
received frames in the ring, then fills the dma descriptor slots with
new buffers and calls tx complete, before finally re-enabling rx
interrupts and completing NAPI (if below the budget).
If the hardware rx queue overflows before the napi complete is called,
the hardware will not throw any further rx interrupts and rx processing
stops completely.
Fix this by keeping NAPI polling scheduled until it completes a poll
without receiving any packets, and also handle NAPI completion before
refilling rx or completing tx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:25:16 +00:00
Felix Fietkau
275672c3c9
cns3xxx: fix ethernet driver memory barrier usage
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:25:11 +00:00
Gabor Juhos
88643da3bf
realview: remove 3.3 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:06:31 +00:00
Gabor Juhos
f4d5a1cba5
realview: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:06:29 +00:00
Felix Fietkau
3af0a3f4c6
kernel: prevent -f*-sections from leaking into the boot zImage wrapper on arm
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 17:04:36 +00:00
Felix Fietkau
9695b598fb
kernel: ensure that the arm exception handlers get preserved
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 17:04:31 +00:00
Felix Fietkau
5191a29832
kernel: use -ffunction-sections, -fdata-sections and --gc-sections on ARM to reduce kernel image size, disable those flags when tracing on MIPS to fix compile errors
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 14:51:42 +00:00
Gabor Juhos
b3bb99dc95
xburst: remove 3.3 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:54 +00:00
Gabor Juhos
3227cd693e
xburst: switch to 3.8
...
Compile tested only, so add broken flag.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:52 +00:00
Gabor Juhos
3a8f81608f
xburst: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:50 +00:00
Gabor Juhos
8a147f2970
linux/3.8: add missing config symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:47 +00:00
Gabor Juhos
8fcf953db3
adm5120: remove 3.7 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:46 +00:00
Gabor Juhos
c824d4394f
adm5120: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:45 +00:00
Gabor Juhos
5c0c067b0c
malta: remove 3.7 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:44 +00:00
Gabor Juhos
4323118453
malta: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:43 +00:00
Gabor Juhos
ec4775a92f
atheros: remove 3.3 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:42 +00:00
Gabor Juhos
89cc1ba307
atheros: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:40 +00:00
Gabor Juhos
fd2a497ea5
mpc83xx: remove 3.7 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:39 +00:00
Gabor Juhos
a39176728f
mpc83xx: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:38 +00:00
Gabor Juhos
7ce9d7e1e9
rb532: remove 3.7 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:21:40 +00:00
Gabor Juhos
68a2f6bc53
rb532: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:21:33 +00:00
Gabor Juhos
9d76137bf3
rb532: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:21:29 +00:00
Gabor Juhos
4f146674b1
ar71xx: correct board name to make LEDs work on RB750
...
Patch by: Denver A <denvera@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3419/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 07:20:57 +00:00
Gabor Juhos
697bc122f2
ppc40x: remove __dev_{in,ex}it annotations
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 07:20:54 +00:00
Felix Fietkau
9ec6f799c1
cns3xxx: reduce buffer allocation size to 2048 bytes, improves ethernet performance
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 01:27:04 +00:00
Felix Fietkau
f4caeaa7c6
cns3xxx: remove linux 3.3 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 01:01:55 +00:00
Felix Fietkau
74f0116420
cns3xxx: disable CONFIG_PROC_STRIPPED and add an init script to set the ethernet cpu affinity (improves lan<->wlan bridging performance)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 01:01:51 +00:00
Hauke Mehrtens
bbcb144cde
brcm47xx: add some more partition parser fixes by Rafał Miłecki
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 19:48:03 +00:00
Hauke Mehrtens
a5d279ddec
brcm47xx: netconfig: add bacis support for swconfig
...
Parse the cpu port from swconfig and explicitly mark the cpu port as tagged.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 19:24:43 +00:00
Felix Fietkau
76c2afef66
kernel: add a missing config symbol for 3.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 19:04:37 +00:00
Felix Fietkau
947ebaae8c
cns3xxx: add linux 3.8 support and use it by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 18:51:46 +00:00
Felix Fietkau
eda3f47aeb
kernel: fix mpcore watchdog symbol export
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 18:51:39 +00:00
Gabor Juhos
24779214b3
cns21xx: remove 3.7 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 16:08:41 +00:00
Gabor Juhos
f131205460
cns21xx: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 16:08:39 +00:00
Gabor Juhos
073e25bfa6
ppc44x: remove 3.7 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 15:16:37 +00:00
Gabor Juhos
f2d7f949f8
ppc44x: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 15:16:35 +00:00
Gabor Juhos
31c6a7eaf5
ppc40x: remove 3.7 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 15:16:33 +00:00
Gabor Juhos
0d8c5ddc53
ppc40x: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 15:16:32 +00:00
Florian Fainelli
02f4fc8b49
brcm63xx: fix LED names for various boards
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 13:42:35 +00:00
Gabor Juhos
7de535d0a3
ar71xx: add backported watchdog patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 12:08:28 +00:00
Gabor Juhos
0d7167f0db
ar71xx: use backported QCA955x patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 11:48:15 +00:00
Gabor Juhos
8b0b9fe414
ar71xx: use backported PCI patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 11:48:08 +00:00
Gabor Juhos
6ec2ddce1b
ar71xx: use backported MISC IRQ patch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 11:48:06 +00:00
Gabor Juhos
47d054b3d5
ar71xx: use backported GPIO patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 11:48:04 +00:00
Luka Perkov
29f41f3be0
ar71xx: enable building ramdisk images for WZRHPG30XNH board types
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
Acked-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 11:37:28 +00:00
Gabor Juhos
2a6ca56157
ar71xx: use backported SPI patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 09:40:44 +00:00
Gabor Juhos
a59e544adb
mpc85xx: remove 3.7 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 09:37:25 +00:00
Gabor Juhos
3bdef13fdb
mpc85xx: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 09:37:24 +00:00
Gabor Juhos
02effaf2d6
ar71xx: remove 3.7 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 09:03:50 +00:00
Gabor Juhos
2c47907975
ar71xx: switch to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 08:47:38 +00:00
Gabor Juhos
c5ba6a9391
kernel: update linux 3.8 to 3.8.2
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 08:43:55 +00:00
Luka Perkov
f6a61008f2
ar71xx: rework changes from r35840
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 21:59:34 +00:00
Gabor Juhos
f90fa7f4b4
kernel: update linux 3.8 to 3.8.1
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:58:52 +00:00
Gabor Juhos
2d55cfeda8
linux/3.8: add missing config symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:58:10 +00:00
Gabor Juhos
f4b2c62d60
kernel: update linux 3.7 to 3.7.10
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:57:40 +00:00
Gabor Juhos
3c9d4a38c1
ar71xx: update MAC address assignment for dir-825-c1
...
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:37 +00:00
Gabor Juhos
8be514f386
ar71xx: fixes leds for dir-825-c1
...
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:33 +00:00
Gabor Juhos
ba05322e57
ramips: set -march=24kec for rt305x and rt3883 to enable use of DSP extension
...
All known rt305x and rt3883 implementations support at
least the 24kec instruction set which includes the DSP
extension. For rt288x, the previous value mips32r2 is
kept.
The cpu target is now set per sub-archtecture, according
to cpu-feature-overrides.h of each SoC family.
[juhosg: define ARCH_PACKAGES variable for rt305x/rt3883
in order to differentiate the packages compiled with
the 24Kec option.]
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@35853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:31 +00:00
Gabor Juhos
1720de2872
ramips: add user-space detection for ALL5002/ALL5003
...
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@35852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:28 +00:00
Gabor Juhos
6d4126a70e
ramips: indicate support for ALL5003
...
add ALL5003 to board description in mach-all5002.c
adapt detection in user-space accordingly
(no functional changes)
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@35851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:25 +00:00
Gabor Juhos
80e2673444
ramips: enhance user-space board detection
...
Similar to ar71xx, detect only once and cache the strings in
/tmp/sysinfo/model and /tmp/sysinfo/boardname.
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@35850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:02 +00:00
Gabor Juhos
2d8df9648d
ramips: fix whitespace in /lib/ramips.sh
...
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@35849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:46:08 +00:00
Felix Fietkau
3ca52e3ca4
Revert "[cns3xxx]: clean up PCI bus topology" (r35079)
...
It breaks PCIe IRQ mapping and possibly other things
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-02 00:32:54 +00:00
Luka Perkov
3fc6a70a19
ar71xx: add support for Buffalo WZR 600DHP
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-01 13:46:01 +00:00
Hauke Mehrtens
f425635b16
brcm47xx: bgmac: omit the fcs
...
This fixes #13058 and hopefully #12927
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 13:27:21 +00:00
Hauke Mehrtens
131abb7401
brcm47xx: bgmac: update to version form netdev git repository
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 13:24:39 +00:00
Gabor Juhos
2a72ee4515
ramips: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:42 +00:00
Gabor Juhos
892a009121
ramips: image: don't break make process if mkimage command fails
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:40 +00:00
Gabor Juhos
c27eec2666
ramips: remove port_power_off field from ehci_platform_data
...
It is removed in 3.8. Also add a revert patch for 3.7.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:38 +00:00
Gabor Juhos
22f01b88d1
ramips: remove __dev_{init,exit} annotations
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:34 +00:00
Hauke Mehrtens
498da9e2eb
brcm47xx: use bcm47xx_board_get() and detect some more boards in flash partition driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:56:37 +00:00
Hauke Mehrtens
77b078cb09
brcm47xx: board detection WNDR3400v2
...
WNDR3400v2 is based on BCM53xx . Image that is created breaks the router somehow therefore "#".
CFE and NVRAM contain different vars - example:
CFE line original: Device eth0: hwaddr 74-44-01-37-C6-69, ipaddr 192.168.1.1, mask 255.255.255.0
CFE after openwrt: Device eth0: hwaddr 00-FF-FF-FF-FF-FF, ipaddr 192.168.1.1, mask 255.255.255.0
Logs were posted earlier on this mailing list: https://lists.openwrt.org/pipermail/openwrt-devel/2012-July/016174.html
Different logs with factory firmware are in the wiki: http://wiki.openwrt.org/toh/netgear/wndr3400#wndr3400v2
(and on wikidevi for example)
Signed off by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:55:46 +00:00
Gabor Juhos
bf3da89866
ar71xx: add profile and build image fot the TL-WA830RE v1 board
...
Added support for the TP-LINK TL-WA830RE v1 Range Extender.
Based on the WA901ND v1 support. Hardware IDs checked against
original firmware. Patch was successfully tested on hardware.
Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:37:35 +00:00
Gabor Juhos
62b6477607
ar71xx: add model detection for the TL-WA830RE board
...
Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:37:33 +00:00
Hauke Mehrtens
154a868b36
brcm47xx: use same board detection code as kernel 3.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:10:42 +00:00
Gabor Juhos
21acabb63d
adm5120: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:08:14 +00:00
Gabor Juhos
fc6e5812f4
adm5120: remove __dev{init,exit} annotations
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:08:03 +00:00
Gabor Juhos
2a26c45c14
adm5120: remove a superfluous patch
...
The NO_IRQ symbol is not used by the amba core since
upstream commit:
dfb85185bda373a70409c70c2632b02fb0f8f449
AMBA: get rid of last two uses of NO_IRQ
This gets rid of the last two users of NO_IRQ in AMBA primecell
drivers.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 16:01:19 +00:00
Gabor Juhos
d1746f1489
adm5120: avoid warning caused by wrong AMBA irq values
...
The amba core throws a warning if -1 is used as an
irq value since upstream commit:
2eac58d5026e4ec8b17ff8b62877fea9e1d2f1b3
ARM: amba: make use of -1 IRQs warn
Make the core warn about the use of -1 (NO_IRQ)
Cange the value of the unused IRQs to zero for the
UART devices to get rid of the warning.
Based on #12729 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 16:01:17 +00:00
Gabor Juhos
df96f7d546
cns21xx: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 20:45:24 +00:00
Gabor Juhos
626becacc2
mpc83xx: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 20:39:22 +00:00
Gabor Juhos
49ae189be3
ppc44x: add support for 3.8
...
Compile tested only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 19:23:31 +00:00
Gabor Juhos
809c94c024
ppc40x: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 19:23:29 +00:00
Gabor Juhos
17eba85440
mpc85xx: add user-space support for the TL-WDR4900 v1
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 19:20:34 +00:00
Gabor Juhos
70d3a2f640
mpc85xx: update 3.8 config
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 18:44:40 +00:00
Gabor Juhos
54b63b1428
ar71xx: fix MAC address assignment on the DIR-825-Bx boards
...
Use the same MAC addresses as the original firmware.
Based on a patch from #10421 .
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Gabor Varga <vargagab@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 17:58:21 +00:00
Gabor Juhos
ec7c7af141
mpc85xx: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 17:48:31 +00:00
Gabor Juhos
48222aa3da
ar71xx: add support for 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 17:47:15 +00:00
Gabor Juhos
5d734cf6e9
atheros: add support for linux kernel v3.8
...
This builds and boots.
Because of the function pointer indirection (e.g. mtd_info's read
function pointer is assigned to spiflash_read), it is difficult for me
to understand where the calls are coming from (could be anywhere,
conditionally pointing at spiflash versions), so I punted and used the
renamed function pointers (_erase, _read, _write). If someone knows
better what to do, please fix.
Cleaned up other sundry kernel tracking issues like get_phy_id and
__devinit,etc.
[juhosg: don't switch to that yet]
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@35727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 17:45:54 +00:00
Gabor Juhos
09cf994598
linux/3.8: add missing config symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 16:52:34 +00:00
Jonas Gorski
396200a112
bcm63xx: Fix sysupgrade for tag-version 7 and 8
...
Fix sysupgrade for tag-version 7 and 8.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:41 +00:00
Jonas Gorski
45d8b5166b
generic: b53: clear SM_SW_FWD_MODE unconditionally when enabling VLAN
...
Setting this bit stops BCM53125 (bgmac actually) from receiving any
packets. This bit is cleared conditionally in b53_switch_reset and it
seems the same is done in bcmrobo.c which never sets that bit again.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:38 +00:00
Jonas Gorski
1dc038ecb4
generic: b53: remove empty spaces
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:36 +00:00
Jonas Gorski
db8c32d235
ramips: print image build warnings/errors to stderr
...
Makes warnings/errors visible when building with V=w/V=1.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:33 +00:00
Jonas Gorski
c0aa3a9be3
cns21xx: print image build warnings/errors to stderr
...
Makes warnings/errors visible when building with V=w/V=1.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:31 +00:00
Jonas Gorski
40128d4c23
ar71xx: print image build warnings/errors to stderr
...
Makes warnings/errors visible when building with V=w/V=1.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:29 +00:00
Gabor Juhos
5e461e6e69
mpc85xx: add kmod-leds-gpio to the default packages
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 10:26:03 +00:00
Gabor Juhos
16c4f3154c
mpc85xx: disable a bunch of unused device nodes on the TL-WDR4900
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 10:26:00 +00:00
Hauke Mehrtens
9f5d8143f7
brcm47xx: do not use vlan0 any more.
...
The Broadcom switch driver says that vlan0 should not be used with any switch other than bcm5325.
This makes OpenWrt always use vlan1 and vlan2 instead.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 15:31:43 +00:00
Gabor Juhos
5e4f2cdfcc
mpc85xx: add kernel support for the TL-WDR4900 v1 board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 08:27:27 +00:00
Gabor Juhos
19ac2d8dbf
mpc85xx: use a foreach loop to copy boot images
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 08:27:26 +00:00
Gabor Juhos
c02092f81e
ar71xx: remove __dev{init,exit} annotations from kernel files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 20:52:06 +00:00
Gabor Juhos
91c3273df9
linux/3.8: add missing Kconfig symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 20:52:03 +00:00
Gabor Juhos
338436797b
mpc85xx: add default profile
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:17 +00:00
Gabor Juhos
7393d7daa2
mpc85xx: add gpio-keys to OF match table
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:16 +00:00
Gabor Juhos
882214dd46
mpc85xx: enable squashfs feature
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:15 +00:00
Gabor Juhos
4800e6f07b
mpc85xx: add swconfig to default packages
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:12 +00:00
Gabor Juhos
6b04db4e87
kernel: update linux 3.8-rcX to 3.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 09:17:38 +00:00
Florian Fainelli
44f3c0072d
x86/rdc: migrate to common led helper functions
...
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:38:05 +00:00
Florian Fainelli
b5f329adde
rb532: migrate platform to common led helper functions
...
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:38:02 +00:00
Florian Fainelli
9c417101bb
cobalt: migrate platform to common led helper functions
...
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:58 +00:00
Florian Fainelli
f81f68336c
brcm63xx: migrate platform to common led helper functions
...
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:55 +00:00
Florian Fainelli
3b1a2e5c15
au1000: migrate to common led helper functions
...
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:52 +00:00
Florian Fainelli
2afebad8bb
ar7: migrate to common led helper functions
...
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:43 +00:00
Gabor Juhos
7b871a4b67
ramips: migrate to common led helper functions
...
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:29 +00:00
Gabor Juhos
2227fb3c11
cns21xx: migrate to common led helper functions
...
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:28 +00:00
Gabor Juhos
a954352276
ar71xx: migrate to common led helper functions
...
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:27 +00:00
Gabor Juhos
d5e9696c49
adm5120: migrate to common led helper functions
...
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:26 +00:00
Gabor Juhos
ca34712a7c
kernel: update linux 3.7 to 3.7.9
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:32:42 +00:00
Gabor Juhos
0b74564295
generic: ar8216: cleanup function/variable names
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 12:48:25 +00:00
Gabor Juhos
f7178a8d09
generic: ar8216: rename struct ar8216_priv to ar8xxx_priv
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 12:48:23 +00:00
Gabor Juhos
4633f1708b
ar71xx: add user-space support for the Mikrotik RB951G board
...
[juhosg: change rb-951g to rb-951g-2hnd in the scripts]
Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 10:08:41 +00:00
Gabor Juhos
1faf7940dc
ar71xx: add kernel support for the Mikrotik RB951G board
...
This is platform definition for the RB951G device. It's mostly rework
of RB2011UAS patchset with network taken from the RB751 patches.
The main difference is the flash layout used by this device.
[juhosg:
- remove dead code from mach-rb951g
- add "-2HnD" suffix to the machine name
- use a separate 615-MIPS-ath79-RB951G-support.patch]
Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 10:08:35 +00:00
Hauke Mehrtens
9f9982c1f7
brcm47xx: add initial support for kernel 3.8
...
This contains the following new bigger changes:
* new partition parser which still could lake some features or have bugs
* new nand flash driver
* using physmap-flash flash driver for parallel flash
* some changes to the serial flash driver
With these changes OpenWrt starts using more of the mainline flash drivers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 20:28:24 +00:00
Gabor Juhos
3becae3332
ar71xx: fix kmod-usb2 package name
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:33:06 +00:00
Gabor Juhos
a7a89f31c5
ramips: fix kmod-usb2 package name
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:26:52 +00:00
Gabor Juhos
5766e4d223
mpc85xx: add input drivers to default packages, and load those during preinit
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:13:38 +00:00
Hauke Mehrtens
34e24ed054
brcm47xx: BGMAC - Adjust AutoLoad number to be prior to switch modules
...
Adjust the "AutoLoad" number for the BGMAC module to be prior
to the switch modules. This probably isn't real important as
the modules are loaded in the correct order by preinit anyway.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 16:27:33 +00:00
Hauke Mehrtens
0a8f960f87
brcm47xx: improve cpuport detection for filesafe
...
Do not try to load bcm57xx.ko any more this is not needed for kernel 2.6 and 3.X
Ask the switch driver where the CPU port is.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 16:24:15 +00:00
Hauke Mehrtens
28fd5cda23
brcm47xx: fix network config on simpleshare
...
The included patch will generate a correct network configuration on the simpletech simpleshare.
Thank you for the patch Will Holmes (RealOpty)
This closes #12361 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 15:24:48 +00:00
Hauke Mehrtens
bf71e22b98
brcm47xx: handle return values of cfe_env_get() correctly.
...
This closes #12746 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 15:19:24 +00:00
Hauke Mehrtens
836f308687
brcm47xx: bgmac: fix unaligned accesses to network headers.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 14:38:17 +00:00
Hauke Mehrtens
2a28660d30
brcm47xx: fix unaligned access to mac address
...
The mac address should be aligned to u16 to prevent an unaligned access
in drivers/ssb/pci.c where it is casted to __be16.
This closes #9824 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 13:46:00 +00:00
Hauke Mehrtens
117f7697ec
brcm47xx: try to automatically detect if the wan port is at port 4 and not at port 0.
...
This should fix #13000 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 12:37:24 +00:00
Gabor Juhos
55bf670e56
update x86 generic to kernel v3.7
...
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@35616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 12:12:52 +00:00
Gabor Juhos
c3986bd99f
ramips: use the new macaddr_* helpers instead of maccalc
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:25 +00:00
Gabor Juhos
74408f4902
ramips: use the mtd_get_mac_* helpers
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:21 +00:00
Jonas Gorski
8fec1177bf
kernel: add missing config options
...
r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to
not build with PTP enabled.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:39:45 +00:00
Jonas Gorski
53f477ef47
bcm63xx: make nvram checksum failures non fatal
...
fixes #12982 .
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 12:23:49 +00:00
Gabor Juhos
240c27a41f
kernel: update linux 3.7 to 3.7.8
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 07:36:15 +00:00
Gabor Juhos
f31cd4f577
generic: ar8216: move PHY4 RGMII workaround code out of the loop
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 14:55:40 +00:00
Gabor Juhos
e4468b8202
generic: ar8216: register the switch from the probe routine
...
Currently the switch gets registered when an ethernet
driver connects to a PHY of the switch. This method does
not work with the ethernet drivers which are connecting
to the PHY from their ndo_open callback. With those
ethernet drivers, the driver tries to register the switch
each time when the etherned device is opened and this causes
a deadlock.
Move the switch registration into the probe routine to fix
this problem.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 14:01:24 +00:00
Florian Fainelli
fb8cba59c5
x86: update config-3.7 for x86 (turn off CONFIG_GPIO_ICH)
...
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 13:00:07 +00:00
Hauke Mehrtens
8f8b2b4cd0
brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 8" and vlan0ports: "0 8"
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 12:38:16 +00:00
Gabor Juhos
b444ec07ba
mpc85xx: enable swconfig and the ar8216 driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:51:23 +00:00
Gabor Juhos
80ab95d1f8
mpc85xx: enable the squashfs driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:51:21 +00:00
Gabor Juhos
a5f349855b
mpc85xx: enable XZ_DEC_BCJ and XZ_DEC_POWERPC support
...
Squashfs is unable to decompress some blocks without that:
[ 199.494500] SQUASHFS error: xz_dec_run error, data probably corrupt
[ 199.500910] SQUASHFS error: squashfs_read_data failed to read block 0xbff26
[ 199.508016] SQUASHFS error: Unable to read data cache entry [bff26]
[ 199.514440] SQUASHFS error: Unable to read page, block bff26, size 153f8
[ 199.521311] SQUASHFS error: Unable to read data cache entry [bff26]
[ 199.527724] SQUASHFS error: Unable to read page, block bff26, size 153f8
[ 199.534594] SQUASHFS error: Unable to read data cache entry [bff26]
[ 199.541009] SQUASHFS error: Unable to read page, block bff26, size 153f8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:51:19 +00:00
Gabor Juhos
92a3247d9a
ar71xx: fix factory image creation for dir-825-c1
...
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:36:26 +00:00
Gabor Juhos
bede9dff8a
ar71xx: fix switch-config for dir-825-c1
...
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:36:23 +00:00
Hauke Mehrtens
6891eecd2a
brcm47xx: configure vlan correctly on some recent devices.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:05:52 +00:00
Hauke Mehrtens
ce3c164477
brcm47xx: add some more fixes to bgmac
...
Thank you Rafał Miłecki and Nathan Hintz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 20:10:38 +00:00
Hauke Mehrtens
57e151b3c2
brcm47xx: update tg3 to the version send upstream
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 20:09:15 +00:00
Luka Perkov
93421d05d9
mvebu: remove boards suffix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 10:18:53 +00:00
Gabor Juhos
8601a4452e
kernel: update linux 3.7 to 3.7.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 09:51:11 +00:00
Gabor Juhos
00a47a6c78
ar71xx: add script for automatic switch name migration
...
Thanks to Jonas Gorski for the help.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 21:41:16 +00:00
Felix Fietkau
069528fb36
ar71xx: allow unknown multicast frames to pass to the CPU on AR934x
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 18:59:05 +00:00
Gabor Juhos
aa1758313e
ar8216: remove superfluous code from ar8216_config_init
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:57:31 +00:00
Gabor Juhos
49e680f157
ar71xx: use switchX names in network configuration
...
Accessing the AR8xxx switches via the name of the
attached ethernet device is not possible since
r35560. Change the uci-defaults script to use
switchX names in switch configurations.
Reported-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:54:52 +00:00
Gabor Juhos
371e090665
generic: ar8216: don't use ethernet device name in register_switch
...
The switches are accessed via an MDIO bus. Set the alias
to the name of the MDIO bus, and show that in the message
along with the name of the switch switch device.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:11:31 +00:00
Gabor Juhos
f55f5c681a
generic: ar8216: reuse the private data from ar8216_probe
...
The private data of the switch is already
allocated in ar8216_priv, assign that to
each PHY on the same MDIO bus. Also remove
the redundant code from ar8216_config_init.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:11:30 +00:00
Gabor Juhos
6166a1a122
generic: ar8216: use phydev instead of pdev everywhere
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 13:25:43 +00:00
Gabor Juhos
da364b7741
generic: ar8216: use pr_* macros for kernel messages
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 13:14:00 +00:00
Gabor Juhos
2092ae2d8f
generic: ar8216: fix PHY features setup
...
Sujith says:
This commit breaks the WAN port on my AP96 - DHCP fails.
Reverting it fixes the issue.
commit b67cc3a0cdd02973610d4d5a63226d1c44841e94
Author: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri Feb 8 09:13:18 2013 +0000
generic: ar8216: simplify phy features setup
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@355183c298f89-4303-0410-b956-a3cf2f4a3e73
This change restores the previous behaviour and moves
the code into the ar8216_probe function.
Reported-by: Sujith Manoharan <sujith@msujith.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Sujith Manoharan <sujith@msujith.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 10:05:35 +00:00
Gabor Juhos
98d4a8b93a
generic: ar8216: add ar8xxx_probe_switch helper
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 19:02:01 +00:00
Gabor Juhos
a4c045037f
generic: ar8216: rename ar8xxx_mib_cleanup to ar8xxx_mib_stop
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:42:08 +00:00
Gabor Juhos
301948b049
generic: ar8216: free mib counters from ar8xxx_free
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:42:07 +00:00
Gabor Juhos
f28ac30869
generic: ar8216: add ar8xxx_free helper
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:42:05 +00:00
Gabor Juhos
03be1ea0f4
generic: ar8216: add ar8xxx_create{,mii} helpers
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:42:04 +00:00
Gabor Juhos
69cbfbe045
generic: ar8216: remove redundant phy address check
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:38:12 +00:00
Gabor Juhos
77bc7d2f07
generic: ar8216: only set phy_ptr if packet mangling is used
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:38:10 +00:00
Gabor Juhos
f6df051dc9
generic: ar8216: add defines for the AR8316 POSTRIP register
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 13:18:48 +00:00
Gabor Juhos
19f4475eb9
generic: ar8216: don't probe the chip multiple times
...
It is only needed when the private data is allocated.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 13:05:15 +00:00
Gabor Juhos
e04207b25a
generic: ar8216: add sanity check to ar8216_probe
...
Verify that the mdio bus has PHY devices with
a supported PHY ID at address 0-4.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 13:05:14 +00:00
Gabor Juhos
03f0a836a7
generic: ar8216: skip probe on unused PHY addresses
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 13:05:12 +00:00
Jonas Gorski
c9157a2388
ar71xx: register the micro sd card reader on RB493G
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 12:31:38 +00:00
Jonas Gorski
c5bae90408
generic: b53: fix reverted error check in probe
...
b53_switch_detect returns value returned by b53_read8, which is 0 for
success. So fail (and return error) only if b53_switch_detect returned
something else than 0. This fixes supported and advertising being zeros
for MDIO access.
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 12:31:36 +00:00
Jonas Gorski
3d89abe3bf
bcm63xx: handle huawei nvram layout
...
Use a different length for calculating the nvram checksum on hauwei
boards. Fixes boot on HW553 and HW556.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 12:31:31 +00:00
Gabor Juhos
6154886951
generic: ar8216: move sleep out of the loop
...
It is enough to sleep once after ANEG is enabled on
all PHYs. This reduces boot time on boards with
AR8316 switch.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-09 13:26:04 +00:00
Gabor Juhos
ef45eb419f
ar71xx: Routerboard 751 Mac Address Offset Fix
...
We utilize many Routerboard 751's and discovered that our latest batch
of RB751's would not initialize the wireless radio. We have determined
Mikrotik has changed where the mac address was located inside hardconfig.
As such we utilize "routerboot_find_tag" to find the location of the mac
address. We should remove "RB751_MAC_ADDRESS_OFFSET" as it is ambiguous
by machine manufacturing date. The newer batch of RB751's that we received
had a RB751_MAC_ADDRESS_OFFSET 0x10.
Signed-off-by: Davey Hutchison <dhutchison@bluemesh.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-08 09:34:53 +00:00
Gabor Juhos
e84e418e74
generic: ar8216: simplify phy features setup
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-08 09:13:18 +00:00
Gabor Juhos
edea889900
generic: ar8216: don't use mdio bus specific functions in ar8216_id_chip
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-08 09:13:14 +00:00
Gabor Juhos
8359109069
generic: ar8216: use inline function to convert swdev to ar8216
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 15:18:36 +00:00
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
Hauke Mehrtens
d3c485c331
brcm47xx: fix name of kmod-ocf-ubsec-ssb
...
This also removes kmod-ocf, because kmod-crypto-ocf is automatically selected by kmod-ocf-ubsec-ssb.
Thank you Manuel Munz <freifunk@somakoma.de> for the patch.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-06 22:51:25 +00:00
Hauke Mehrtens
950d08794e
brcm47xx: bgmac: make it possible to set the devices into promisc mode when it is already up
...
This fixes #12927 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-06 14:57:00 +00:00
Florian Fainelli
7e4949b043
[brcm63xx] remove support for 3.6 kernel
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 22:36:54 +00:00
Florian Fainelli
540826d416
[brcm63xx] make default version 3.7.6
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 22:36:50 +00:00
Florian Fainelli
e0ccfea057
[brcm63xx] remove superfluous calls to /lib/brcm63xx.sh
...
The first preinit script 03_do_brcm63xx.sh does the right job of
exporting variables for the other subsequent preinit scripts to use
them.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 22:25:30 +00:00
Florian Fainelli
aabf50e0bf
[brcm63xx] remove references to the old switch driver
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 22:25:19 +00:00
Mirko Vogt
478a38a1d0
fix trx checksum after first boot and add led/button definitions for boards RTA770BW and RTA770W
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 14:57:43 +00:00
Mirko Vogt
0a23706adc
add support for board named RTA770W
...
Actually this board is the very same as the rta770bw,
where the additional 'b' within the name just
indicates 'Annex B'. The ADSL Modem itself is able
to handle both, Annex A as well as Annex B -
the loaded firmware makes the only difference
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 14:57:40 +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
Gabor Juhos
81da03e0d1
mpc85xx: enable GPIO sysfs interface
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 07:48:02 +00:00
Gabor Juhos
b0d43618c9
mpc85xx: enable Freescale eSPI driver and m25p80 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 07:48:01 +00:00
Gabor Juhos
cc1573fc0e
mpc85xx: sync kernel config
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 07:47:59 +00:00
Hauke Mehrtens
02055dcc39
brcm47xx: fix detection of Asus RT-N16
...
This fixes #12936 .
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 22:49:05 +00:00
Hauke Mehrtens
34e787e2f1
Add Failsafe support for Linksys E3000V1 / WRT610NV2
...
Adds specification of the correct cpu_port for Linksys E3000V1 and WRT610NV2
in /lib/preinit/05_init_interfaces_brcm. The list of devices will need to
be expanded. Is there a way to determine the correct cpu_port to use in a
generic sense; for instance, if "/proc/switch/eth0/port/8" exists, or if
"/sys/class/net/eth0/device/driver/module/drivers/bcma:bgmac" exists? Could
a similar method be used in "/etc/init.d/netconfig"?
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 22:40:57 +00:00
Hauke Mehrtens
b753276ff5
brcm47xx: Fix switch config on 4716/53115 devices
...
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 22:38:37 +00:00
Gabor Juhos
5c4e7151fb
coldfire: R.I.P.
...
The target still uses 2.6.38. The support of that
kernel version has been removed ~9 months ago.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 15:23:10 +00:00
Gabor Juhos
c398e87702
leon: R.I.P.
...
It is broken since ~9 months and nobody takes care of that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 15:23:08 +00:00
Gabor Juhos
9ada69d709
imx21: R.I.P.
...
It is broken since ~22 months and nobody takes care of that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 15:23:07 +00:00
Gabor Juhos
fa4b78484a
octeon: R.I.P.
...
It is broken since ~8 months and nobody takes care of that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 15:23:05 +00:00
Gabor Juhos
591c58781f
omap35xx: R.I.P.
...
It is broken since ~22 months and nobody takes care of that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 15:23:04 +00:00
Jonas Gorski
421f13b5dc
bcm63xx: add support for linux 3.8
...
Based on 3.8-rc6
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:19:55 +00:00
Jonas Gorski
05706dae32
bcm63xx: add support for linux 3.7
...
Based on 3.7.6.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:19:50 +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
Jonas Gorski
6381f75bd6
bcm63xx: refresh 3.6 patches
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35477 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:19:24 +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
f202f27310
ar71xx: use backported PCI_MEM_SIZE patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 18:17:58 +00:00
Gabor Juhos
bdb89be1bf
ar71xx: rename ar933x_uart patch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 18:17:53 +00:00
Gabor Juhos
a3f4ff2b30
ramips: build image for the Omnima EMB HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:21:06 +00:00
Gabor Juhos
22e7a34e50
ramips: add user-space support for the Omnima EMB HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:21:05 +00:00
Gabor Juhos
85dcbdd9c1
ramips: rt3883: add kernel support for the Omnima EMB HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:21:01 +00:00
Gabor Juhos
0ac666e92c
ramips: add userspace support for the Edimax BR-6425
...
[juhosg: remove sysupgrade changes]
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:01:50 +00:00
Gabor Juhos
850321b03d
ramips: add kernel support for the Edimax BR-6425 board
...
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:01:47 +00:00
Gabor Juhos
f948a2933b
x86/kvm_guest: add support for 3.7
...
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 15:31:57 +00:00
Gabor Juhos
3994817da9
x86: add missing symbols for 3.7
...
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 15:31:55 +00:00
Gabor Juhos
209b6e6389
x86/kvm_guest: add missing symbols for 3.3
...
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 15:31:54 +00:00
Gabor Juhos
a536dfa37d
alix2: convert from kernel version 3.3.8 to 3.7.5
...
[juhosg: use 3.7.5 instead of 3.7.3]
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@35457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 15:31:52 +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
aad50acc53
ar71xx: fixes whitespaces for dir-825-c1
...
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 15:02:19 +00:00
Gabor Juhos
111bbcefe6
mpc85xx: nuke 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 10:05:43 +00:00
Gabor Juhos
19ae2d23af
mpc85xx: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 10:05:40 +00:00
Gabor Juhos
1d374da13d
mpc85xx: add support for linux 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 10:05:37 +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
8e165e35f3
ar71xx: build images for the TP-LINK TL-WR743ND v2
...
AR9331 based, these same as 741v4
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 10:01:15 +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
45fd50fa0e
ar71xx: fix mac address calculation on the OpenMesh MR600
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 08:47:41 +00:00
Gabor Juhos
af7b361da6
mpc85xx: nuke 3.3 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:49:56 +00:00
Gabor Juhos
b2f0e8db0d
mpc85xx: switch to 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:49:54 +00:00
Gabor Juhos
c09352c750
mpc85xx: add support for 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:49:53 +00:00
Gabor Juhos
e7341be124
mpc85xx: fix dts name for P1010RDB
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:49:52 +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
62585e412c
mpc85xx: remove broken flag
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:28:54 +00:00