Commit graph

7998 commits

Author SHA1 Message Date
Gabor Juhos
2149facb53 generic: ar8216: use usleep_range in ar8216_mii_{read,write}
msleep(1) can sleep for up to 20ms.

SVN-Revision: 30885
2012-03-11 17:19:14 +00:00
Gabor Juhos
77d0a8ca85 generic: ar8216: add a helper function for writing PHY debug registers
SVN-Revision: 30884
2012-03-11 16:49:35 +00:00
Gabor Juhos
dad19ac8b2 generic: ar8216: add lockep assertion to ar8216_rmw
SVN-Revision: 30883
2012-03-11 16:49:33 +00:00
Gabor Juhos
6c51c47962 ramips: build initramfs image for DIR-{3,6}00 boards
SVN-Revision: 30882
2012-03-11 16:39:31 +00:00
Gabor Juhos
f400a9cdd9 linux/3.3: show correct name for MIPS 24KEc in /proc/cpuinfo
SVN-Revision: 30881
2012-03-11 16:39:30 +00:00
Gabor Juhos
c9d71c8387 linux/3.2: show correct name for MIPS 24KEc in /proc/cpuinfo
SVN-Revision: 30880
2012-03-11 16:39:28 +00:00
Gabor Juhos
4e15457e0e ramips: allow to use DSP ASE on RT3xxx
SVN-Revision: 30879
2012-03-11 16:39:26 +00:00
Gabor Juhos
088dd4e879 ar71xx: stop image building if a loader is missing
SVN-Revision: 30877
2012-03-11 14:03:28 +00:00
Hauke Mehrtens
067a065305 brcm47xx: make patch apply
SVN-Revision: 30876
2012-03-11 13:36:46 +00:00
Hauke Mehrtens
7dcdf69388 brcm47xx: BCMA - Find names of non BCM cores
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 30875
2012-03-11 12:55:20 +00:00
Hauke Mehrtens
d6d40b2d60 BCMA - Account for variable PCI memory base/size
Thank you Nathan Hintz for the patch

SVN-Revision: 30874
2012-03-11 12:52:43 +00:00
Hauke Mehrtens
bbf739a59f BCMA - Reorder SPROM fill
The SPROM is initialized in bcm47xx_fill_sprom, so move the call to bcm47xx_fill_sprom_ethernet after it.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 30873
2012-03-11 11:50:59 +00:00
Gabor Juhos
1ad06d4c3a generic: ar8216: coding style cleanup
SVN-Revision: 30857
2012-03-08 10:21:14 +00:00
Gabor Juhos
e2d3cb69a1 generic: ar8216: don't use static variable in ar8236_hw_init
SVN-Revision: 30856
2012-03-08 10:21:12 +00:00
Gabor Juhos
291e2dd583 generic: ar8216: move register inititalization into hw_init
SVN-Revision: 30855
2012-03-08 10:21:11 +00:00
Gabor Juhos
e3538fa852 generic: ar8216: set chip type directly in ar8216_id_chip
SVN-Revision: 30854
2012-03-08 10:21:10 +00:00
Gabor Juhos
a6c69e63b6 generic: ar8216: simplify ar8216_config_init
SVN-Revision: 30853
2012-03-08 10:21:08 +00:00
Gabor Juhos
31584880bf ar71xx: add watchdog driver to the default package list
SVN-Revision: 30852
2012-03-08 09:00:17 +00:00
Gabor Juhos
127a2b1a4d linux/3.{2,3}: even more NAND symbols
SVN-Revision: 30850
2012-03-07 22:32:54 +00:00
Gabor Juhos
2d89fa7f43 ar71xx: fix WPS button polarity on TL-WR2543N
SVN-Revision: 30849
2012-03-07 19:50:53 +00:00
Gabor Juhos
52a89cd95c generic: ar8216: move port initialization into a separate function
SVN-Revision: 30848
2012-03-07 16:32:46 +00:00
Gabor Juhos
0097cf7161 generic: ar8216: improve ar8216_wait_bit function
SVN-Revision: 30847
2012-03-07 16:32:45 +00:00
Gabor Juhos
2370828599 generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters
SVN-Revision: 30846
2012-03-07 16:32:43 +00:00
Gabor Juhos
d8a8df51ca generic: ar8216: use the generic get_port_link implementation
SVN-Revision: 30845
2012-03-07 16:32:42 +00:00
Gabor Juhos
215e07177e generic: rtl8367: use the generic get_port_link implementation
SVN-Revision: 30844
2012-03-07 16:32:40 +00:00
Gabor Juhos
9e1be3b809 generic: rtl8366s: use the generic get_port_link implementation
SVN-Revision: 30843
2012-03-07 16:32:38 +00:00
Gabor Juhos
e2f0264afe generic: rtl8366rb: use the generic get_port_link implementation
SVN-Revision: 30842
2012-03-07 16:32:37 +00:00
Gabor Juhos
c455a0f7be ar71xx: ag71xx: fix get_port_link callback
SVN-Revision: 30841
2012-03-07 16:32:35 +00:00
Gabor Juhos
5a83b3a5c7 ar71xx: ag71xx: use the generic get_port_link implementation
SVN-Revision: 30840
2012-03-07 16:32:34 +00:00
Gabor Juhos
759c341e68 generic: swconfig: add a generic get_port_link implementation
SVN-Revision: 30839
2012-03-07 16:32:33 +00:00
Gabor Juhos
fc9db6f410 generic: ar8216: use mdiobus_write in ar8236_hw_init
SVN-Revision: 30838
2012-03-07 16:32:31 +00:00
Gabor Juhos
7112130105 generic: ar8216: use bus->mdio_lock directly in ar8216_mii_{read,write}
SVN-Revision: 30837
2012-03-07 16:32:30 +00:00
Gabor Juhos
a31e090255 generic: ar8216: fix phy driver name
SVN-Revision: 30836
2012-03-07 16:32:28 +00:00
Jo-Philipp Wich
9a047b52d4 enable EFI partition support by default, adds ca. 8K uncompressed on ar71xx (#8672)
SVN-Revision: 30835
2012-03-07 14:14:52 +00:00
Gabor Juhos
f03e7f2c7a linux/3.2: fix crypto4xx build failure
SVN-Revision: 30834
2012-03-07 11:57:49 +00:00
Gabor Juhos
43a20aa4c6 linux/3.1: add missing NAND symbols
SVN-Revision: 30827
2012-03-05 18:01:54 +00:00
Gabor Juhos
bdcbf426ee linux/3.0: add missing NAND symbols
SVN-Revision: 30826
2012-03-05 18:01:52 +00:00
Florian Fainelli
1029786936 remove 3.1 support
SVN-Revision: 30823
2012-03-05 16:50:42 +00:00
Florian Fainelli
75b5f4a6b4 rename 96348GW-1{0,1}-gen to 96348GW-1{0,1}-generic
SVN-Revision: 30822
2012-03-05 14:49:34 +00:00
Florian Fainelli
c327915156 generate generic images for BCM96358VW and BCM96358VW2 (#10666)
SVN-Revision: 30821
2012-03-05 14:49:31 +00:00
Florian Fainelli
ca1e59660e wire bcm96348gw-10 reset button (#10854)
SVN-Revision: 30820
2012-03-05 14:23:45 +00:00
Florian Fainelli
631a035a76 Merge branch 'bcm63xx'
SVN-Revision: 30819
2012-03-05 13:29:54 +00:00
Felix Fietkau
63a1a106fb kernel: fix powerpc unused-but-set variables
SVN-Revision: 30817
2012-03-05 00:51:12 +00:00
Felix Fietkau
8821950069 kernel: remove the crtsavres dependency, the patched gcc will no longer emit references to that code
SVN-Revision: 30816
2012-03-05 00:51:08 +00:00
Felix Fietkau
e308da91e7 kernel: fix vmalloc stack traces triggered by module with an empty init section (mostly happens on x86)
SVN-Revision: 30813
2012-03-05 00:12:44 +00:00
Gabor Juhos
4b408b69ce linux/3.3: add more NAND symbols
SVN-Revision: 30811
2012-03-04 18:23:59 +00:00
Gabor Juhos
991cd3db2c linux/3.2: add more NAND symbols
SVN-Revision: 30810
2012-03-04 18:23:56 +00:00
Gabor Juhos
0e486d2fd2 ramips: add support for unbranded XDX-RN502J board
This patch adds support for routers using a PCB marked XDX-RN502J
V2.0, such as some unbranded routers like this:

http://www.mediafire.com/?8acv87h6snn9fj6
http://www.mediafire.com/?do7xonw7scor4kn
http://www.mediafire.com/?1ad49zvx3e7jyix
http://www.mediafire.com/?i46cqiq66maa197

http://www.aliexpress.com/product-fm/516397994-Free-Shipping-300M-3G-WAN-Wireless-N-WiFi-USB-AP-Router-2-Antennas-wholesalers.html

some reports also state the Aceex 22Y uses the same board.

more information can be found in the following openwrt forum post
https://forum.openwrt.org/viewtopic.php?id=34878

[juhosg: fix checkpatch warnings, use the GENERIC_4M template]

Signed-off-by: bruno schwander <bruno@tinkerbox.org>

SVN-Revision: 30809
2012-03-04 16:09:13 +00:00
Gabor Juhos
44c8b396f9 ramips: board support for Asus RT-N10+
[juhosg: fix indentation in platform scripts, and remove debug
messages from 06_set_iface_mac]

Signed-off-by: Patrick van Staveren <trick@vanstaveren.us>

SVN-Revision: 30808
2012-03-04 16:09:11 +00:00
Gabor Juhos
be4e5a29a9 ppc40x: preliminary support for 3.3
SVN-Revision: 30804
2012-03-04 12:39:46 +00:00
Gabor Juhos
4daa2c31dc linux/3.3: add missing config symbols
SVN-Revision: 30803
2012-03-04 12:39:44 +00:00
Gabor Juhos
01832303ff linux/3.2: add missing NAND symbols
SVN-Revision: 30802
2012-03-04 12:39:42 +00:00
Gabor Juhos
86d852927e ar71xx: refresh patches against 3.3-rc5
SVN-Revision: 30801
2012-03-03 14:10:29 +00:00
Gabor Juhos
da628121b0 linux/3.3: merge recent ubifs patches from 3.2
SVN-Revision: 30800
2012-03-03 14:10:27 +00:00
Gabor Juhos
419d9e2f54 linux/3.3: refresh patches against 3.3-rc5
SVN-Revision: 30799
2012-03-03 14:10:24 +00:00
Felix Fietkau
d5ec28c734 omap24xx: fix compile error with new binutils (#11072)
SVN-Revision: 30798
2012-03-03 12:00:48 +00:00
Gabor Juhos
632db63ed0 linux/3.2: add symlink xattr support to ubifs
SVN-Revision: 30794
2012-03-02 23:09:00 +00:00
Gabor Juhos
5202e9908b linux/3.2: add XZ decompression support to ubifs
SVN-Revision: 30793
2012-03-02 23:08:59 +00:00
Gabor Juhos
b8bc1eca45 linux/3.2: add XZ decompressor support to crypto
SVN-Revision: 30792
2012-03-02 23:08:56 +00:00
Gabor Juhos
5a471e23ad ppc40x: switch to 3.2.9
SVN-Revision: 30791
2012-03-02 18:04:02 +00:00
Gabor Juhos
ec9fd1f7a8 linux/3.2: add a bunch of missing symbols
SVN-Revision: 30790
2012-03-02 18:04:01 +00:00
Gabor Juhos
b98f798df4 ppc40x: fix build errors in the CF and ISP116X drivers
SVN-Revision: 30789
2012-03-02 18:03:59 +00:00
Florian Fainelli
dcbeaed9a0 mark variables as might be unused
SVN-Revision: 30787
2012-03-02 13:23:38 +00:00
Florian Fainelli
2dc1c8ac70 remove unused variables and defines
SVN-Revision: 30786
2012-03-02 13:23:35 +00:00
Florian Fainelli
7f88380664 MIPS: fix kexec build on 64-bits targets
SVN-Revision: 30785
2012-03-02 13:19:13 +00:00
Florian Fainelli
c31b597763 refresh patches
SVN-Revision: 30784
2012-03-02 13:19:10 +00:00
Florian Fainelli
90481d9b3a MIPS: fix printing of size_t arg
SVN-Revision: 30783
2012-03-02 13:19:08 +00:00
Florian Fainelli
112d6c7b74 MIPS: mark unused variables
SVN-Revision: 30782
2012-03-02 13:19:05 +00:00
Florian Fainelli
c203860016 refresh patches
SVN-Revision: 30781
2012-03-02 13:19:02 +00:00
Florian Fainelli
0d3f5b980e MIPS: mark unused variables
SVN-Revision: 30780
2012-03-02 13:19:00 +00:00
Florian Fainelli
b8f7592a92 refresh patches
SVN-Revision: 30779
2012-03-02 13:18:56 +00:00
Florian Fainelli
cd3b60c14c MIPS: mark unused variables
SVN-Revision: 30778
2012-03-02 13:18:53 +00:00
Florian Fainelli
c25f266680 refresh patches
SVN-Revision: 30777
2012-03-02 13:18:47 +00:00
Gabor Juhos
7052847972 ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
SVN-Revision: 30768
2012-03-01 19:49:05 +00:00
Gabor Juhos
9698a499b6 kernel: update linux 3.2 to 3.2.9
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Hauke Mehrtens
12537aa190 brcm47xx: use kernel 3.2 by default
SVN-Revision: 30751
2012-02-28 20:12:46 +00:00
Jo-Philipp Wich
e5b04d57ef revert unrelated change in previous commit
SVN-Revision: 30738
2012-02-27 09:34:31 +00:00
Jo-Philipp Wich
47b27500cf partly revert r30708, it breaks various arches
SVN-Revision: 30737
2012-02-27 09:33:36 +00:00
Gabor Juhos
72599f0c61 ramips: don't read RAMIPS_RX_CALC_IDX0 register in the loop
SVN-Revision: 30733
2012-02-26 10:54:13 +00:00
Gabor Juhos
100f76a010 ramips: raeth: add rx_info structure
This helps to reduce code size on RX path:

add/remove: 0/0 grow/shrink: 3/1 up/down: 68/-56 (12)
function                                     old     new   delta
ramips_eth_open                             1104    1144     +40
ramips_ring_free                             212     232     +20
ramips_eth_stop                              400     408      +8
ramips_eth_rx_hw                             648     592     -56

SVN-Revision: 30732
2012-02-26 10:54:12 +00:00
Gabor Juhos
32e7b1c7d9 ramips: raeth: add tx_info structure
This helps to reduce code size on TX path:

add/remove: 0/0 grow/shrink: 1/4 up/down: 56/-92 (-36)
function                                     old     new   delta
ramips_eth_open                             1048    1104     +56
ramips_eth_tx_housekeeping                   156     148      -8
ramips_ring_free                             224     212     -12
ramips_eth_stop                              420     400     -20
ramips_eth_hard_start_xmit                   480     428     -52

SVN-Revision: 30731
2012-02-26 10:54:10 +00:00
Felix Fietkau
8b91bad57e ixp4xx: fix a compile error
SVN-Revision: 30728
2012-02-25 22:12:11 +00:00
Jo-Philipp Wich
fe66f30aae add some missing 2.6.39 kernel symbols observed on x86/generic builds
SVN-Revision: 30718
2012-02-25 13:17:32 +00:00
Jo-Philipp Wich
bafdae9233 enable RTC_CLASS for Linux 3.2 and 3.3
SVN-Revision: 30717
2012-02-25 13:06:26 +00:00
Gabor Juhos
30143b715c ramips: raeth: don't process disabled interrupts
Also rename the 'fe_int' variable.

SVN-Revision: 30713
2012-02-25 11:59:19 +00:00
Gabor Juhos
6b37484883 ar71xx: use v6.0.0 in UBTN-XM firmwares (closes #11038)
SVN-Revision: 30712
2012-02-24 20:41:38 +00:00
Gabor Juhos
6990f66861 ramips: fix FONERA20N image generation
SVN-Revision: 30710
2012-02-24 16:18:46 +00:00
Jo-Philipp Wich
74db55a982 config: deprecated symbol CONFIG_LEDS_GPIO_PLATFORM
CONFIG_LEDS_GPIO_PLATFORM went away a while ago.

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=2bcc7ed5b83b0a59c6976476e8788675038fb11b

Also, most platforms comment out CONFIG_LEDS_GPIO but not x86 for some reason.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30708
2012-02-24 10:35:20 +00:00
Gabor Juhos
9afeeae65e ramips: image: increase minimum kernel partition size to 896k
SVN-Revision: 30706
2012-02-23 19:58:16 +00:00
Gabor Juhos
7089b5213e ramips: image: cleanup and sort templates/profiles
SVN-Revision: 30705
2012-02-23 19:58:15 +00:00
Gabor Juhos
c8718a220b ramips: image: use GENERIC_4M template for the ALL0256N board
SVN-Revision: 30704
2012-02-23 19:58:14 +00:00
Gabor Juhos
507c7d30f5 ramips: image: introduce mkmtd/{,phys,spi} helpers
SVN-Revision: 30703
2012-02-23 19:58:12 +00:00
Gabor Juhos
5f63ea18aa ramips: image: pass mtdlayout variables by value
SVN-Revision: 30702
2012-02-23 19:58:11 +00:00
Gabor Juhos
49e53c06b9 ramips: image: merge F5D8235V{1,2} templates
SVN-Revision: 30701
2012-02-23 19:58:10 +00:00
Gabor Juhos
00e7277a4c ramips: image: use generic template for the WR6202, OMNIEMB, W502U boards
SVN-Revision: 30700
2012-02-23 19:58:07 +00:00
Gabor Juhos
554010d55b ramips: image: introduce mkcmdline helper
SVN-Revision: 30699
2012-02-23 19:58:06 +00:00
Gabor Juhos
32c6d63acf ramips: image: use the GENERIC_4M template for the V11ST-FE board
SVN-Revision: 30698
2012-02-23 19:58:04 +00:00
Gabor Juhos
ab65053cf0 ramips: image: simplify Makefile a bit
SVN-Revision: 30697
2012-02-23 19:58:03 +00:00
Gabor Juhos
9017fce3a2 ramips: image: add MkImageLzma wrapper
SVN-Revision: 30696
2012-02-23 19:58:02 +00:00
Gabor Juhos
c9d8f471fc ramips: image: allow to build board specific initramfs images
SVN-Revision: 30695
2012-02-23 19:58:01 +00:00