Commit graph

8008 commits

Author SHA1 Message Date
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
John Crispin
b168535b10 drop backported patches as they cause regressions and oopses
SVN-Revision: 30690
2012-02-23 07:42:04 +00:00
John Crispin
e5798d7c9b fixes etop locking issue
SVN-Revision: 30689
2012-02-23 07:42:00 +00:00
Gabor Juhos
c0974b46a5 ramips: merge identical switch configuration entries
SVN-Revision: 30688
2012-02-22 19:46:19 +00:00
Gabor Juhos
a9101a144c ramips: use unified switch identifiers in uci-defaults/network
SVN-Revision: 30687
2012-02-22 19:46:17 +00:00
Gabor Juhos
b6522f372f ramips: fix VLAN config of the RT-N15
SVN-Revision: 30686
2012-02-22 19:46:15 +00:00
Gabor Juhos
a18a821733 ramips: raeth: show interrupt statistics in debugfs
SVN-Revision: 30681
2012-02-22 13:06:44 +00:00
Gabor Juhos
214216c04d ramips: raeth: add debugfs support
SVN-Revision: 30680
2012-02-22 13:06:42 +00:00
Gabor Juhos
c1e4d709fa ramips: raeth: rename main source file
SVN-Revision: 30679
2012-02-22 13:06:41 +00:00
Gabor Juhos
5e6bc97d0c ramips: raeth: add missing Kconfig and Makefile
SVN-Revision: 30671
2012-02-21 09:44:30 +00:00
Gabor Juhos
3ba0f4e1ca ramips: move the ethernet driver into a separate directory
Also clean up the Kconfig symbols.

SVN-Revision: 30670
2012-02-21 09:26:43 +00:00
Gabor Juhos
a6d904b1d6 ramips: rename the spi driver
SVN-Revision: 30669
2012-02-21 09:26:41 +00:00
Felix Fietkau
c918810414 ar71xx: switch to kmod-gpio-button-hotplug
SVN-Revision: 30660
2012-02-20 10:51:48 +00:00
Felix Fietkau
058d331a39 kernel: strip unnecessary symbol table information from kernel modules, reduces default squashfs size on ar71xx by about 4k
SVN-Revision: 30657
2012-02-20 09:03:17 +00:00
Gabor Juhos
dd001a4b0f ramips: rt3883: make rt3883_nand_data visible
SVN-Revision: 30655
2012-02-19 19:40:37 +00:00
Gabor Juhos
62f213eab9 ramips: merge 3.2 fixes
SVN-Revision: 30652
2012-02-19 17:52:23 +00:00
Gabor Juhos
18fdaee00b ramips: nuke 2.6.39 support
SVN-Revision: 30651
2012-02-19 17:52:20 +00:00
Gabor Juhos
e2ea72515f ramips: rt305x: nuke built-in MTD partition maps
SVN-Revision: 30650
2012-02-19 17:52:15 +00:00
Gabor Juhos
de6405c898 ramips: rt288x: nuke built-in MTD partition maps
SVN-Revision: 30649
2012-02-19 17:52:11 +00:00
Gabor Juhos
e7f59b9326 ramips: build sysupgrade image for the V11ST-FE board
SVN-Revision: 30648
2012-02-19 17:52:08 +00:00
Gabor Juhos
3489515a7e ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G router
[juhosg:
- don't switch back to 2.6.39
- update config-3.2
- change machine id to SL-R7205
- reorder case entries in platform scripts
- remove button hotplug script]

Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com>

SVN-Revision: 30645
2012-02-19 16:44:49 +00:00
Hauke Mehrtens
5dec9dd3b2 brcm47xx: add code to generate images for some netgear devices
This is commented out until we get report of working devices.

SVN-Revision: 30639
2012-02-18 23:21:47 +00:00
Hauke Mehrtens
1122b231f9 brcm47xx: sprom for nvram parsing
This adds support for parsing sprom form nvram for sprom version form 1 to 9.
It also adds sprom from nvram support for devices on the bcma bus.

SVN-Revision: 30638
2012-02-18 23:08:26 +00:00
Gabor Juhos
990ed96a2a ralink: rt3883: disable the 2GHz band on the RT-N56U
SVN-Revision: 30632
2012-02-18 17:36:21 +00:00
Gabor Juhos
5710530c41 ramips: rt3883: make rt3883_wlan_data visible
SVN-Revision: 30631
2012-02-18 17:36:16 +00:00
Gabor Juhos
799e9cbec8 generic: add disable_[25]ghz to struct rt2x00_platform_data
SVN-Revision: 30630
2012-02-18 17:36:13 +00:00
Gabor Juhos
3d20de331d ar71xx: fix image signature for UBNT-XM boards
SVN-Revision: 30626
2012-02-18 14:45:52 +00:00
Gabor Juhos
383008635a generic/2.6.37: fix 'set but unused' build errors on MIPS
SVN-Revision: 30615
2012-02-17 17:21:03 +00:00
Gabor Juhos
e17a3ffbbd ramips: extract eeprom for the built-in wlan module on the RT-N56U
SVN-Revision: 30604
2012-02-16 20:06:22 +00:00
Gabor Juhos
dabca24361 ramips: rt3883: change eeprom file name
SVN-Revision: 30603
2012-02-16 20:06:21 +00:00
Vasilis Tsiligiannis
eed8e2a4fd Disable by default padding of images
SVN-Revision: 30590
2012-02-16 17:54:07 +00:00
Vasilis Tsiligiannis
8676e49d9d Allow gzipping of squashfs images with padded jffs2 partition
SVN-Revision: 30589
2012-02-16 17:54:04 +00:00
Vasilis Tsiligiannis
ab09db09fc GZip only ext4 and padded images
SVN-Revision: 30588
2012-02-16 17:54:01 +00:00
Vasilis Tsiligiannis
b4f51343c6 Make gzipping of images configurable via menuconfig
SVN-Revision: 30587
2012-02-16 17:53:57 +00:00
Gabor Juhos
3004f30f01 ar71xx: remove duplicated define from the D-Link profile
SVN-Revision: 30577
2012-02-16 09:03:27 +00:00
Gabor Juhos
00d963999d ramips: select HW_HAS_PCI on per-board basis
SVN-Revision: 30576
2012-02-16 08:17:54 +00:00
Gabor Juhos
fc967295ec ramips: rt3883: remove a stray character from rt3883.h
SVN-Revision: 30575
2012-02-16 08:17:53 +00:00
Gabor Juhos
b4af07d5c0 ramips: rt288x: don't register the PCI controller on each board
SVN-Revision: 30574
2012-02-16 08:17:52 +00:00
Gabor Juhos
f8a56dc8df ramips: raeth: separate ring allocation and setup
SVN-Revision: 30573
2012-02-16 08:17:50 +00:00
Gabor Juhos
d186c17aa6 generic: add SND_PPC symbol
SVN-Revision: 30572
2012-02-16 07:51:44 +00:00
Daniel Dickinson
1bb8a7613e Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
SVN-Revision: 30571
2012-02-16 07:45:28 +00:00
Daniel Dickinson
b797f72319 d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
SVN-Revision: 30570
2012-02-16 07:38:33 +00:00
Daniel Dickinson
c736e2d4b0 Fix partitions for Cameo-based boards; kernel 3.2 is bigger
SVN-Revision: 30569
2012-02-16 07:29:26 +00:00
Daniel Dickinson
4685a51301 image: For Cameo-based board fix adding mtd layout to kernel commandline)
SVN-Revision: 30568
2012-02-16 07:24:45 +00:00
Jo-Philipp Wich
8dc1ff6cb1 linux 3.2: missing generic symbols
These symbols are dependent on CONFIG_PCI being enabled.

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

SVN-Revision: 30565
2012-02-15 23:37:47 +00:00
Gabor Juhos
49fc54be3d ramips: rt288x: fix PCI resource conflict
SVN-Revision: 30563
2012-02-15 21:19:02 +00:00
Florian Fainelli
37f8c19028 correct PCI IO/Mem resource swapping
SVN-Revision: 30562
2012-02-15 21:13:21 +00:00
Florian Fainelli
3ceebbba14 add Ralink V11ST-FE board support
This board is equipped with:
- 4MB of NOR Flash
- 32MB of SDRAM
- IC+ IP175C switch
- one Mini-PCI slot

SVN-Revision: 30561
2012-02-15 21:13:11 +00:00
Gabor Juhos
8b8d9a8336 ramips: raeth: add a helper function for skb allocation
SVN-Revision: 30555
2012-02-15 18:33:42 +00:00
Gabor Juhos
e57546de83 ramips: raeth: use netdev_alloc_skb
SVN-Revision: 30554
2012-02-15 18:33:41 +00:00
Gabor Juhos
064855314b ramips: raeth: add '__packed __aligned(4)' annotation to dma descritor structures
This helps GCC to generare more efficient code.

SVN-Revision: 30553
2012-02-15 18:33:40 +00:00
Gabor Juhos
8c95385d78 ramips: raeth: use 're' instead of 'priv' everywhere
SVN-Revision: 30552
2012-02-15 18:33:38 +00:00
Gabor Juhos
b3b79365f3 ramips: raeth: force link down in ramips_phy_stop
SVN-Revision: 30550
2012-02-15 13:47:52 +00:00
Gabor Juhos
3e7b461431 ramips: raeth: serialize ramips_link_adjust calls
SVN-Revision: 30549
2012-02-15 13:47:50 +00:00
Gabor Juhos
dcb13d4098 ramips: raeth: add PHYLIB support
SVN-Revision: 30547
2012-02-15 06:47:12 +00:00
John Crispin
23b2bd9494 linux-atm: update solos-pci driver to upstream
Fixes for the solos-pci driver.

- Corrects calculation of headroom for padding.
- Removes pointless debug messages.
- Expose Bis A and Bis M annex capabilities.
- Expose hardware revision.

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

SVN-Revision: 30541
2012-02-14 20:11:24 +00:00
John Crispin
9e5b8ad833 linux-atm: headroom/padding fixes
Submitted upstream to netdev by Chas Williams on linux-atm.

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

SVN-Revision: 30540
2012-02-14 20:11:22 +00:00
John Crispin
1a71f07d00 generate uboot environment data in target
With this patch it is possible to generate uboot environment config file
inside lantiq target. Currently it is only supporting GIGASX76X board.

uboot environment config is used by fw_printenv fw_setenv tools.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 30537
2012-02-14 19:07:11 +00:00
John Crispin
7416a5f0aa fix compile error in previous commit
SVN-Revision: 30534
2012-02-14 19:07:05 +00:00
John Crispin
cd1a204365 Support booting the Speedport W502V using BRN-BOOT.
While the disadvantage is less available flash space, it's easy and
safe to flash without opening the device.
Going back to the original firmware is also possible.

This patch add two firmware utilities, mkbrncmdline and mkbrnboot.

mkbrncmdline patches the uncompressed kernel so the registeres a0 to
a3 are initialized and the memory size is passed in.

mkbrnboot takes the lzma compressed kernel and squashfs images and
creates a firmware image that can be flashed using the BRN-BOOT
recovery kernel, which is booted by holding both buttons when
powering up the device and will listen on http://192.168.2.1.

The firmware file from bin/lantiq/ to use is
openwrt-lantiq-danube-ARV4525PW-BRNDTW502-brnImage

The BRN-BOOT recovery kernel does size-check the image, so if it's
too big to fit into flash it will complain accordingly.

A second patch is needed to make the wired network interface work
since there is no u-boot to pre-initialise it.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 30532
2012-02-14 17:48:04 +00:00
Gabor Juhos
02a01a16c7 ramips: extract eeprom for the PCIe wlan module on the RT-N56U
SVN-Revision: 30529
2012-02-14 17:32:45 +00:00
Gabor Juhos
43d1a2c3ab ramips: rt3883: enable PCI on the RT-N56U board
SVN-Revision: 30528
2012-02-14 17:32:44 +00:00
Gabor Juhos
784be92e39 ramips: rt3883: add PCI support
SVN-Revision: 30527
2012-02-14 17:32:42 +00:00
Gabor Juhos
10f00dc48b ramips: rt3883: sync 2.6.39 config
SVN-Revision: 30526
2012-02-14 17:32:41 +00:00
Gabor Juhos
ed79921fe5 ramips: use SoC specific irq.h
SVN-Revision: 30525
2012-02-14 17:32:40 +00:00
John Crispin
0b07769898 fixes irq locking in ethernet driver
SVN-Revision: 30522
2012-02-14 15:05:58 +00:00
John Crispin
55bf39e98c fixes gpio_export patch
SVN-Revision: 30521
2012-02-14 15:05:57 +00:00
John Crispin
976d3eb854 add annex selection support to ltq_dsl package
SVN-Revision: 30518
2012-02-14 15:05:49 +00:00
Gabor Juhos
9a0e17857e ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
SVN-Revision: 30508
2012-02-13 17:11:58 +00:00
Gabor Juhos
1c57a22aae ar71xx: add model detection for TL-WR842N/ND
SVN-Revision: 30507
2012-02-13 17:11:57 +00:00
Florian Fainelli
e16916480d update to 3.2
SVN-Revision: 30503
2012-02-13 16:05:30 +00:00
Florian Fainelli
7bed2e2225 fix titan gpio register size
SVN-Revision: 30502
2012-02-13 16:05:27 +00:00
Gabor Juhos
8d5dfa75e6 ramips: rt3883: update package list in the default profile
SVN-Revision: 30499
2012-02-13 15:18:05 +00:00
Gabor Juhos
99c019fb0d ramips: add preliminary support for the Asus RT-N56U board
SVN-Revision: 30498
2012-02-13 15:18:04 +00:00
Gabor Juhos
97e641a0e6 ramips: raeth: enable MDIO code for RT3883
SVN-Revision: 30497
2012-02-13 15:18:03 +00:00
Gabor Juhos
e532fa5fd4 ramips: add preliminary support for the RT3662/RT3883 SoCs
SVN-Revision: 30495
2012-02-13 15:17:59 +00:00
Florian Fainelli
4a0dc3a32a add support for 3.2
SVN-Revision: 30492
2012-02-13 12:36:34 +00:00
Hauke Mehrtens
30408f1cc4 brcm47xx: deactivate CONFIG_NO_HZ as it seams not to be needed.
SVN-Revision: 30488
2012-02-12 22:41:20 +00:00
Hauke Mehrtens
e7bd7f7e85 brcm47xx: activate config bug to show warnings
SVN-Revision: 30487
2012-02-12 22:40:01 +00:00
Gabor Juhos
22ec8b4839 ramips: use GENERIC_{4,8}M image template for WR5123GN
SVN-Revision: 30483
2012-02-12 18:04:47 +00:00
Gabor Juhos
b7f129e19b ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
SVN-Revision: 30482
2012-02-12 18:04:46 +00:00
Hauke Mehrtens
fa21aef5ab brcm47xx: refresh patches
SVN-Revision: 30481
2012-02-12 16:45:27 +00:00
Hauke Mehrtens
838c363886 brcm47xx: update usb driver for brcm47xx.
SVN-Revision: 30480
2012-02-12 16:38:10 +00:00
Gabor Juhos
a287c60a61 ramips: add initial support for 3.2
SVN-Revision: 30476
2012-02-12 12:52:14 +00:00
Gabor Juhos
388013b0ce ramips: include 'linux/module.h' in the ramips_spi driver
SVN-Revision: 30475
2012-02-12 12:52:13 +00:00
Gabor Juhos
faae4235c4 ramips: rt288x: remove per-board physmap_flash_data instances
SVN-Revision: 30474
2012-02-12 12:52:12 +00:00
Gabor Juhos
3502e2b93f ramips: rt305x: remove per-board physmap_flash_data instances
SVN-Revision: 30473
2012-02-12 12:52:10 +00:00
Imre Kaloz
143e861708 enable another l2 cache errate on newer kernels
SVN-Revision: 30472
2012-02-12 11:22:08 +00:00
Gabor Juhos
3a11dcdaa8 ramips: load gpio-polled keys module
SVN-Revision: 30463
2012-02-11 20:37:34 +00:00
Gabor Juhos
323ece9474 ramips: remove yet another CONFIG_MTD_PARTITION ifdef
SVN-Revision: 30462
2012-02-11 19:37:11 +00:00
Gabor Juhos
32b9e8c750 ramips: use gpio-keys-polled instead of gpio-buttons
SVN-Revision: 30461
2012-02-11 19:37:06 +00:00
Imre Kaloz
8ce80f7454 add some missing symbols
SVN-Revision: 30460
2012-02-11 18:38:28 +00:00
Gabor Juhos
80b40497de ramips: add MIPS platform file
SVN-Revision: 30459
2012-02-11 18:16:11 +00:00
Gabor Juhos
80a535ba58 generic/2.6.39: refresh patches
SVN-Revision: 30458
2012-02-11 18:16:08 +00:00
Imre Kaloz
440a7fbc3b refresh patches to -rc3
SVN-Revision: 30456
2012-02-11 17:43:06 +00:00
Gabor Juhos
4e1b870f3e ramips: add MDIO bus support for RT288X
SVN-Revision: 30455
2012-02-11 16:49:56 +00:00
Imre Kaloz
0ace4636db rename 3.1 patches directory as it will be used for newer kernels as well
SVN-Revision: 30454
2012-02-11 15:59:23 +00:00
Imre Kaloz
1fb5ff4e04 rename 2.6.39 patches directory
SVN-Revision: 30453
2012-02-11 15:58:14 +00:00
Gabor Juhos
34a9ccf544 ramips: fix Belkin F5D8235-v2 VLAN setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30452
2012-02-11 15:31:18 +00:00
Gabor Juhos
8916c02b47 ramips: raeth: make debugging messages configurable
SVN-Revision: 30450
2012-02-11 15:12:10 +00:00
Gabor Juhos
aac3ad4c0e ramips: raeth: use device pointer in DMA API calls
SVN-Revision: 30449
2012-02-11 15:12:08 +00:00
Gabor Juhos
1fd8724e94 ramips: raeth: add netdev pointer to private structure
SVN-Revision: 30448
2012-02-11 15:12:06 +00:00
Gabor Juhos
c6fa11d00f ramips: raeth: cleanup DMA API usage in ramips_eth_hard_start_xmit
SVN-Revision: 30447
2012-02-11 15:12:05 +00:00
Gabor Juhos
2d055f130e ramips: raeth: unmap rx DMA address in ramips_cleanup_dma
SVN-Revision: 30446
2012-02-11 15:12:04 +00:00
Gabor Juhos
7bd7ddcf4e ramips: raeth: add rx_dma array to store the DMA address of the rx packets
SVN-Revision: 30445
2012-02-11 15:12:02 +00:00
Gabor Juhos
647af823d9 ramips: raeth: use dma_addr_t for the descriptors
SVN-Revision: 30444
2012-02-11 15:12:01 +00:00
Gabor Juhos
df5892d1f1 ramips: raeth: unmap DMA memory when a packet is received
SVN-Revision: 30443
2012-02-11 15:11:56 +00:00
Gabor Juhos
617954ca5d ramips: raeth: add a temporary pktlen variable
SVN-Revision: 30442
2012-02-11 15:11:55 +00:00
Gabor Juhos
d1d492eaf9 ramips: raeth: protect macro parameters
SVN-Revision: 30441
2012-02-11 15:11:50 +00:00
Gabor Juhos
8250692359 ramips: raeth: indicate dropped packets in stats
SVN-Revision: 30440
2012-02-11 15:11:49 +00:00
Gabor Juhos
c67adbbddb ramips: raeth: use the NUM_TX_DESC for the tx_skb array
SVN-Revision: 30439
2012-02-11 15:11:47 +00:00
Gabor Juhos
a2c8789578 ramips: use uncached address in detect_mem_size
SVN-Revision: 30438
2012-02-11 15:11:45 +00:00
Gabor Juhos
ba4c9b3a8f ramips: rt305x: remove CONFIG_MTD_PARTITION ifdefery from machine files
SVN-Revision: 30437
2012-02-11 15:11:43 +00:00
Gabor Juhos
f2dd67dc09 ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files
SVN-Revision: 30436
2012-02-11 15:11:41 +00:00
Gabor Juhos
d6b9f88743 ramips: refresh patches
SVN-Revision: 30435
2012-02-11 15:11:40 +00:00
Gabor Juhos
9cde29f1a7 ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GN
This patch adds support for the Accton WR6202 Mini 3G broadband router.
Full details for this device are available at
http://www.awbnetworks.com/products03.php?Fullkey=19.

This device is identical to the SMCWBR11S-3GN:
http://www.smc-asia.com/products03.php?Fullkey=210

It's also worth noting that this board has a GPIO line to control the
power to the USB port.

[juhosg:
 - fix checkpatch warnings,
 - reorder Kconfig entry,
 - merge the sysupgrade patch,
 - add GPL header]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 30434
2012-02-11 15:11:36 +00:00
Gabor Juhos
59b474732c ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30433
2012-02-11 15:11:34 +00:00
Gabor Juhos
7298ef2456 ramips: rt305x: add profile for the Belkin f5d8235v2
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30432
2012-02-11 15:11:32 +00:00
Hauke Mehrtens
295a154f2f brcm47xx: print the chip id and rev found by ssb and bcma
SVN-Revision: 30428
2012-02-10 22:42:43 +00:00
Gabor Juhos
3708227f96 ar71xx: zero partition parser data in m25p80
Ths fixes parsing of RedBoot partitions.

SVN-Revision: 30427
2012-02-10 20:19:06 +00:00
Gabor Juhos
0430194cc3 ramips: fix compiler warning in prom.c
SVN-Revision: 30424
2012-02-10 17:38:46 +00:00
Hauke Mehrtens
4e332227d0 brcm47xx: update bcm5354 support patch
SVN-Revision: 30423
2012-02-10 17:22:26 +00:00
Gabor Juhos
6c07149c2d ar71xx: fix platform description
SVN-Revision: 30419
2012-02-10 15:27:49 +00:00
Gabor Juhos
724211aa0d generic: fix yaffs2 build warnings on 3.3
SVN-Revision: 30418
2012-02-10 15:21:43 +00:00
Gabor Juhos
766999085a ar71xx: ag71xx: add BQL support
It will be usable only from linux-3.3.

Based on a patch by Dave Taht <dave.taht@bufferbloat.net>

SVN-Revision: 30417
2012-02-10 14:56:47 +00:00
Gabor Juhos
fc069f030b ar71xx: add dummy DQL helper functions for 3.2
SVN-Revision: 30416
2012-02-10 14:56:44 +00:00
Gabor Juhos
32a18a05f8 ar71xx: add preliminary support for 3.3
SVN-Revision: 30410
2012-02-10 11:53:56 +00:00
Felix Fietkau
512df38f5c ar71xx: disable DDR flush for ethernet on AR934x, it is no longer necessary
SVN-Revision: 30409
2012-02-10 11:46:37 +00:00
Felix Fietkau
61f48beadd ar71xx: fix db120 board detection
SVN-Revision: 30408
2012-02-10 11:46:31 +00:00
Gabor Juhos
73b9a8bf9b ar71xx: allow to build ag71xx w/o PCI support enabled
SVN-Revision: 30407
2012-02-10 11:46:10 +00:00
Gabor Juhos
fe0c7aac66 ar71xx: merge 3.2 fixes
SVN-Revision: 30406
2012-02-10 08:19:33 +00:00
Gabor Juhos
d72bde99cd ar71xx: merge files-3.2 to files
SVN-Revision: 30405
2012-02-10 08:19:31 +00:00
Gabor Juhos
81b7aaefbe ar71xx: nuke 2.6.39 support
SVN-Revision: 30404
2012-02-10 08:19:28 +00:00
Gabor Juhos
650d777f3d ar71xx: switch to 3.2.5
SVN-Revision: 30403
2012-02-10 08:19:27 +00:00
Gabor Juhos
abeab97efc ar71xx: refresh 3.2 patches
SVN-Revision: 30402
2012-02-10 08:19:25 +00:00
Gabor Juhos
6959317691 kernel: update linux 3.2 to 3.2.5
SVN-Revision: 30401
2012-02-10 08:19:23 +00:00
Gabor Juhos
f754063159 ar71xx: 3.2: remove stray semicolons from the PCI fixup patch
SVN-Revision: 30400
2012-02-09 21:19:57 +00:00
Felix Fietkau
848dedeb8b ar71xx: fix ar934x usb reset handling on 3.2
SVN-Revision: 30399
2012-02-09 20:39:41 +00:00
Gabor Juhos
31a0451cee generic: fix kexec build error for MIPS with gcc-4.6-linaro
SVN-Revision: 30395
2012-02-09 14:06:44 +00:00
Gabor Juhos
841f0f23b3 generic: 3.3: add missing config symbols
SVN-Revision: 30393
2012-02-09 08:07:52 +00:00
Gabor Juhos
098ca08e94 generic: 3.3: fix yaffs2 build error
SVN-Revision: 30392
2012-02-09 08:07:50 +00:00
Gabor Juhos
09c45f50d4 ar71xx: 3.2: get rid of an unused variable in ath79_spi.c
SVN-Revision: 30391
2012-02-08 20:47:58 +00:00
Gabor Juhos
c126bed503 ar71xx: 3.2: fix AHB clock name in rb4xx_spi
SVN-Revision: 30390
2012-02-08 20:47:56 +00:00
Gabor Juhos
32194001ed generic: fix yaffs2 build error on 3.2
SVN-Revision: 30389
2012-02-08 20:47:54 +00:00
Florian Fainelli
fb53d25fa4 add more missing config symbols
SVN-Revision: 30386
2012-02-08 17:35:40 +00:00
Gabor Juhos
81f15f5026 ar71xx: add profile and build image for the TEW-673GRU board
SVN-Revision: 30377
2012-02-08 16:26:27 +00:00
Gabor Juhos
48e85cd47b ar71xx: add support for the TRENDNet TEW-673GRU board
SVN-Revision: 30376
2012-02-08 16:26:25 +00:00
Jo-Philipp Wich
b91a542247 select GENERIC_ATOMIC64 implementation to fix xfs related build errors
SVN-Revision: 30371
2012-02-08 10:34:21 +00:00
Imre Kaloz
bd8683ac93 add audio and display features
SVN-Revision: 30370
2012-02-08 10:21:48 +00:00
Jo-Philipp Wich
f35c4a3266 8139cp: backport patches to make driver stable again
List of patches that Jo-Philipp groveled out of git.

Redux: defuzzed.

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

SVN-Revision: 30366
2012-02-07 21:56:51 +00:00
Vasilis Tsiligiannis
834be6c1fe alix2, geos: Adjust CFLAGS
Clone of CFLAGS change from r30013 into Geos and Alix platforms.

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

SVN-Revision: 30353
2012-02-07 13:00:47 +00:00
Felix Fietkau
e430c864f4 kernel: add a recent upstream commit (post-3.3) to the ssb update patch, required for the next mac80211 update
SVN-Revision: 30345
2012-02-07 11:28:06 +00:00
Vasilis Tsiligiannis
42ec97097e generic: Enable HPET, HID and AT keyboard support
SVN-Revision: 30309
2012-02-05 17:56:04 +00:00
Vasilis Tsiligiannis
b5ff8b85d6 generic: Add missing and remove unused config symbols
SVN-Revision: 30133
2012-02-04 20:45:17 +00:00
Jonas Gorski
778e5d4fa5 brcm63xx: add support for linux 3.3
SVN-Revision: 30027
2012-02-04 10:17:27 +00:00
Jonas Gorski
49874a57f1 kernel: fix netfilter layer7 compilation in 3.3
SVN-Revision: 30026
2012-02-04 10:17:14 +00:00
Jonas Gorski
d6afe712ab x86: make alix platform patch apply to 3.3
Based on a patch from Philip Prindeville.

While at it, also refresh the patches.

SVN-Revision: 30025
2012-02-03 20:17:00 +00:00
Jo-Philipp Wich
c433bfb571 disable additional PATA drivers in global 3.2 and 3.3 config, remove redundant symbols from alix2 config
SVN-Revision: 30024
2012-02-03 19:47:55 +00:00
Jo-Philipp Wich
40867f1b68 x86: trivial -- add missing CONFIG_GEOS symbol to top-level So that builds don't stall in x86 prompting for this symbol. [From Philip Prindeville, via http://patchwork.openwrt.org/patch/1828/]
SVN-Revision: 30023
2012-02-03 19:21:41 +00:00
Jo-Philipp Wich
79a3fdb9da geos: backport driver from linux-next to 3.2 and 3.3 The Geos driver is in linux-next and will be out in 3.4. It builds fine against 3.2.2 and 3.3-rc2. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 30022
2012-02-03 18:16:27 +00:00
Jo-Philipp Wich
25d605ab0e net5501: backport drivers from linux-next Backport net5501 platform driver from 3.4. Remove vestiges of old (pre-2.6.30) leds-net5501.c driver. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 30021
2012-02-03 18:14:02 +00:00
Jo-Philipp Wich
7a36f3d2ff x86: move additional oddball PATA drivers These should only be enabled in the generic image, as they bloat all of the other targets. Also add symbols for NET5501, ALIX, and GEOS which were added backported to 3.2 and 3.3. Restore PC speaker to Geos target. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 30019
2012-02-03 18:02:57 +00:00
Jo-Philipp Wich
d13c3cd073 net5501: adjust CFLAGS and package selection (#10893) This patches the CFLAGS for Geode LX CPUs for 4.3 and new GGC versions. This creates more compatible code and allowed me to boot my system first time with no troubles. Also, the missing kmod is added in.
SVN-Revision: 30013
2012-02-03 14:19:29 +00:00
Felix Fietkau
d9ff9c44ee ar71xx: add usb on the pb92 board
SVN-Revision: 30007
2012-02-03 09:44:51 +00:00
Jonas Gorski
f99bf6517c x86: add 3.3 generic symbols
Copy x86/config-3.2 to x86/config-3.3 and add additional symbols (for 3.3-rc2).

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

SVN-Revision: 30002
2012-02-02 21:01:59 +00:00
Jo-Philipp Wich
b6be49429b alix2: backport platform driver updates from linux-next Add patches to x86/patches-3.2 and x86/patches-3.3 (update will appear in 3.4). [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1817/]
SVN-Revision: 30001
2012-02-02 19:26:32 +00:00
Jo-Philipp Wich
7a9e4ffe8e alix2, geos, net5501: remove kmod-ledtrig-netfilter, its not used by any standard system facility
SVN-Revision: 30000
2012-02-02 19:11:52 +00:00
Jo-Philipp Wich
bf8bb9b661 alix2, goes, net5501: clean up default packages Remove packages which are dependencies of other packages Remove packages which are part of the default package list Remove DSL specific packages from net5501 Remove bridge package, we use the busybox applet Replace hostapd with wpad
SVN-Revision: 29999
2012-02-02 19:06:22 +00:00
Jo-Philipp Wich
047ba1e12e alix2, net5501: bump both subtargets to Linux 3.2.2 to align with the rest
SVN-Revision: 29998
2012-02-02 19:00:40 +00:00
Jo-Philipp Wich
1ae5715f2e geos: add missing files from previous commit
SVN-Revision: 29997
2012-02-02 18:59:51 +00:00
Jo-Philipp Wich
a1258ccaba geos: backport Geos driver from linux-next Backport of linux-next driver. Driver adds support for LEDS and S/W button. Add hotplug script for button actions. Add Openwrt system config for LEDS triggers. Add updated kernel .config for 3.2 symbols. [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1816/]
SVN-Revision: 29996
2012-02-02 18:58:20 +00:00
Jo-Philipp Wich
415a375eaa geos: cleanup GPIO driver name In 3.1, the old drivers/char/ entry for the CS5535 GPIO driver went obsolete. Make Geos use a recent kernel and remove this ambiguity. [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1815/]
SVN-Revision: 29995
2012-02-02 18:44:35 +00:00