Commit Graph

10946 Commits (dfe1972d6266e046876f7c0b2f2f80fe94ebae08)

Author SHA1 Message Date
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