Commit Graph

8992 Commits (a93230e20244a64660d3eb73f05131afbe1f5dbb)

Author SHA1 Message Date
Gabor Juhos f265cbac9e ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:05 +00:00
Gabor Juhos 23c3f7941e kernel: update linux 3.2 to 3.2.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:02 +00:00
Hauke Mehrtens ee697b3a90 brcm47xx: use kernel 3.2 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-28 20:12:46 +00:00
Jo-Philipp Wich 835f3022b5 [generic] revert unrelated change in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-27 09:34:31 +00:00
Jo-Philipp Wich 1aa8da2b17 [generic] partly revert r30708, it breaks various arches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-27 09:33:36 +00:00
Gabor Juhos 990c8a3efa ramips: don't read RAMIPS_RX_CALC_IDX0 register in the loop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-26 10:54:13 +00:00
Gabor Juhos d2cd4c0438 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-26 10:54:12 +00:00
Gabor Juhos 1b4b107170 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-26 10:54:10 +00:00
Felix Fietkau f42edbdc38 ixp4xx: fix a compile error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-25 22:12:11 +00:00
Jo-Philipp Wich d83495740c [generic] add some missing 2.6.39 kernel symbols observed on x86/generic builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-25 13:17:32 +00:00
Jo-Philipp Wich eecc605700 [x86] enable RTC_CLASS for Linux 3.2 and 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-25 13:06:26 +00:00
Gabor Juhos c0d5f4346a ramips: raeth: don't process disabled interrupts
Also rename the 'fe_int' variable.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-25 11:59:19 +00:00
Gabor Juhos 04b9bc61e1 ar71xx: use v6.0.0 in UBTN-XM firmwares (closes #11038)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 20:41:38 +00:00
Gabor Juhos 700c4f5ca7 ramips: fix FONERA20N image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 16:18:46 +00:00
Jo-Philipp Wich 86bc1b40c9 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 10:35:20 +00:00
Gabor Juhos 7874f5f140 ramips: image: increase minimum kernel partition size to 896k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:16 +00:00
Gabor Juhos 203a561365 ramips: image: cleanup and sort templates/profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:15 +00:00
Gabor Juhos 217e83655d ramips: image: use GENERIC_4M template for the ALL0256N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:14 +00:00
Gabor Juhos 91b45cd433 ramips: image: introduce mkmtd/{,phys,spi} helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:12 +00:00
Gabor Juhos f22bad7c79 ramips: image: pass mtdlayout variables by value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:11 +00:00
Gabor Juhos d9eaf4f916 ramips: image: merge F5D8235V{1,2} templates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:10 +00:00
Gabor Juhos 0c62a1cbd9 ramips: image: use generic template for the WR6202, OMNIEMB, W502U boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:07 +00:00
Gabor Juhos e2b5d16506 ramips: image: introduce mkcmdline helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:06 +00:00
Gabor Juhos faf0b199b9 ramips: image: use the GENERIC_4M template for the V11ST-FE board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:04 +00:00
Gabor Juhos 4cfe6bf6c4 ramips: image: simplify Makefile a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:03 +00:00
Gabor Juhos 6778182991 ramips: image: add MkImageLzma wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:02 +00:00
Gabor Juhos e93a3a188c ramips: image: allow to build board specific initramfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:01 +00:00
John Crispin 6a379d38fe [atm] drop backported patches as they cause regressions and oopses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 07:42:04 +00:00
John Crispin f3ef4a04f7 [lantiq] fixes etop locking issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 07:42:00 +00:00
Gabor Juhos 3b75f78469 ramips: merge identical switch configuration entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 19:46:19 +00:00
Gabor Juhos e28513418b ramips: use unified switch identifiers in uci-defaults/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 19:46:17 +00:00
Gabor Juhos a69ba47335 ramips: fix VLAN config of the RT-N15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 19:46:15 +00:00
Gabor Juhos 999cdff204 ramips: raeth: show interrupt statistics in debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 13:06:44 +00:00
Gabor Juhos 6691b88bc4 ramips: raeth: add debugfs support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 13:06:42 +00:00
Gabor Juhos 0feb9d42c6 ramips: raeth: rename main source file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 13:06:41 +00:00
Gabor Juhos 95b3aa418c ramips: raeth: add missing Kconfig and Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-21 09:44:30 +00:00
Gabor Juhos 1cd6916f8f ramips: move the ethernet driver into a separate directory
Also clean up the Kconfig symbols.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-21 09:26:43 +00:00
Gabor Juhos b35fd0a366 ramips: rename the spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-21 09:26:41 +00:00
Felix Fietkau 31df1c58cb ar71xx: switch to kmod-gpio-button-hotplug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 10:51:48 +00:00
Felix Fietkau 50e93c4a47 kernel: strip unnecessary symbol table information from kernel modules, reduces default squashfs size on ar71xx by about 4k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 09:03:17 +00:00
Gabor Juhos 48f9e5b6d4 ramips: rt3883: make rt3883_nand_data visible
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 19:40:37 +00:00
Gabor Juhos 557330a449 ramips: merge 3.2 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:23 +00:00
Gabor Juhos b38433a748 ramips: nuke 2.6.39 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:20 +00:00
Gabor Juhos 11e405e604 ramips: rt305x: nuke built-in MTD partition maps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:15 +00:00
Gabor Juhos c372a76f02 ramips: rt288x: nuke built-in MTD partition maps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:11 +00:00
Gabor Juhos a9168c816d ramips: build sysupgrade image for the V11ST-FE board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:08 +00:00
Gabor Juhos 75603b2e32 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 16:44:49 +00:00
Hauke Mehrtens 0255d701d2 brcm47xx: add code to generate images for some netgear devices
This is commented out until we get report of working devices.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 23:21:47 +00:00
Hauke Mehrtens 9b919a07e0 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 23:08:26 +00:00
Gabor Juhos 64c49080b6 ralink: rt3883: disable the 2GHz band on the RT-N56U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 17:36:21 +00:00
Gabor Juhos cf5d9e72cd ramips: rt3883: make rt3883_wlan_data visible
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 17:36:16 +00:00
Gabor Juhos 2eeb0d15d2 generic: add disable_[25]ghz to struct rt2x00_platform_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 17:36:13 +00:00
Gabor Juhos 390cbbcf32 ar71xx: fix image signature for UBNT-XM boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 14:45:52 +00:00
Gabor Juhos 2f3e324a4c generic/2.6.37: fix 'set but unused' build errors on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 17:21:03 +00:00
Gabor Juhos 60c571814b ramips: extract eeprom for the built-in wlan module on the RT-N56U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 20:06:22 +00:00
Gabor Juhos 1fe942ac16 ramips: rt3883: change eeprom file name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 20:06:21 +00:00
Vasilis Tsiligiannis 66806831eb [x86] Disable by default padding of images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:07 +00:00
Vasilis Tsiligiannis f96dd212f5 [x86] Allow gzipping of squashfs images with padded jffs2 partition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:04 +00:00
Vasilis Tsiligiannis c326fbec1a [x86] GZip only ext4 and padded images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:01 +00:00
Vasilis Tsiligiannis 7cb3f70eea [x86] Make gzipping of images configurable via menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:53:57 +00:00
Gabor Juhos 39f5515e40 ar71xx: remove duplicated define from the D-Link profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 09:03:27 +00:00
Gabor Juhos 5382f512de ramips: select HW_HAS_PCI on per-board basis
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:54 +00:00
Gabor Juhos 1656aad7f8 ramips: rt3883: remove a stray character from rt3883.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:53 +00:00
Gabor Juhos 98f7b38735 ramips: rt288x: don't register the PCI controller on each board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:52 +00:00
Gabor Juhos 33bf9bc63b ramips: raeth: separate ring allocation and setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:50 +00:00
Gabor Juhos 0449978493 generic: add SND_PPC symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:51:44 +00:00
Daniel Dickinson c1f7143622 [ar71xx] Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:45:28 +00:00
Daniel Dickinson 37d73823be [ar71xx] d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:38:33 +00:00
Daniel Dickinson 3be148b333 [ar71xx] Fix partitions for Cameo-based boards; kernel 3.2 is bigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:29:26 +00:00
Daniel Dickinson 190f75f104 [ar71xx] image: For Cameo-based board fix adding mtd layout to kernel commandline)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:24:45 +00:00
Jo-Philipp Wich e66d94b91e linux 3.2: missing generic symbols
These symbols are dependent on CONFIG_PCI being enabled.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 23:37:47 +00:00
Gabor Juhos 2c8af97c01 ramips: rt288x: fix PCI resource conflict
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 21:19:02 +00:00
Florian Fainelli ff00f9e46d [ramips] correct PCI IO/Mem resource swapping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 21:13:21 +00:00
Florian Fainelli dc053cf4f0 [ramips] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 21:13:11 +00:00
Gabor Juhos 92b44035cb ramips: raeth: add a helper function for skb allocation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 18:33:42 +00:00
Gabor Juhos 4a3dcaa55d ramips: raeth: use netdev_alloc_skb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 18:33:41 +00:00
Gabor Juhos 8d0f341a2f ramips: raeth: add '__packed __aligned(4)' annotation to dma descritor structures
This helps GCC to generare more efficient code.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 18:33:40 +00:00
Gabor Juhos 492f15580b ramips: raeth: use 're' instead of 'priv' everywhere
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 18:33:38 +00:00
Gabor Juhos c51e57d972 ramips: raeth: force link down in ramips_phy_stop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 13:47:52 +00:00
Gabor Juhos 846b753561 ramips: raeth: serialize ramips_link_adjust calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 13:47:50 +00:00
Gabor Juhos d50d8e09a4 ramips: raeth: add PHYLIB support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 06:47:12 +00:00
John Crispin 262e032a2f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 20:11:24 +00:00
John Crispin 5fdb60473d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 20:11:22 +00:00
John Crispin f2983914cb [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 19:07:11 +00:00
John Crispin b7e4ba527f [lantiq] fix compile error in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 19:07:05 +00:00
John Crispin f7b9691687 [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:48:04 +00:00
Gabor Juhos 65c4677884 ramips: extract eeprom for the PCIe wlan module on the RT-N56U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:45 +00:00
Gabor Juhos da1a1a53cb ramips: rt3883: enable PCI on the RT-N56U board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:44 +00:00
Gabor Juhos 625c6573c7 ramips: rt3883: add PCI support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:42 +00:00
Gabor Juhos 11ec83deef ramips: rt3883: sync 2.6.39 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:41 +00:00
Gabor Juhos 5b15128f66 ramips: use SoC specific irq.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:40 +00:00
John Crispin 533f7ff4e8 [lantiq] fixes irq locking in ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 15:05:58 +00:00
John Crispin 02710eaa1f [lantiq] fixes gpio_export patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 15:05:57 +00:00
John Crispin ce45d49f3c [ltq-dsl] add annex selection support to ltq_dsl package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 15:05:49 +00:00
Gabor Juhos 1c8bb38b68 ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 17:11:58 +00:00
Gabor Juhos 87adb998bc ar71xx: add model detection for TL-WR842N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 17:11:57 +00:00
Florian Fainelli 83a09957f7 [malta] update to 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 16:05:30 +00:00
Florian Fainelli 77fdc6950a [ar7] fix titan gpio register size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 16:05:27 +00:00
Gabor Juhos 445223c05e ramips: rt3883: update package list in the default profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:05 +00:00
Gabor Juhos 4b03e2a14b ramips: add preliminary support for the Asus RT-N56U board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:04 +00:00
Gabor Juhos be0de7b856 ramips: raeth: enable MDIO code for RT3883
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:03 +00:00
Gabor Juhos 6ae4d22d3a ramips: add preliminary support for the RT3662/RT3883 SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:17:59 +00:00
Florian Fainelli f12f24fa41 [malta] add support for 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 12:36:34 +00:00
Hauke Mehrtens 36b621ea55 brcm47xx: deactivate CONFIG_NO_HZ as it seams not to be needed.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 22:41:20 +00:00
Hauke Mehrtens e76a0c843e brcm47xx: activate config bug to show warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 22:40:01 +00:00
Gabor Juhos 38dde1e79b ramips: use GENERIC_{4,8}M image template for WR5123GN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:04:47 +00:00
Gabor Juhos ca116aa7d9 ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:04:46 +00:00
Hauke Mehrtens ea12a991e1 brcm47xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:45:27 +00:00
Hauke Mehrtens 7c5cc15d84 brcm47xx: update usb driver for brcm47xx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:38:10 +00:00
Gabor Juhos 91cb3ccfdf ramips: add initial support for 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:14 +00:00
Gabor Juhos a01fc48535 ramips: include 'linux/module.h' in the ramips_spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:13 +00:00
Gabor Juhos ef90fcb865 ramips: rt288x: remove per-board physmap_flash_data instances
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:12 +00:00
Gabor Juhos 48d4c19885 ramips: rt305x: remove per-board physmap_flash_data instances
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:10 +00:00
Imre Kaloz d976d07b41 [cns3xxx]: enable another l2 cache errate on newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 11:22:08 +00:00
Gabor Juhos 9bccdcc428 ramips: load gpio-polled keys module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 20:37:34 +00:00
Gabor Juhos 1ec7090374 ramips: remove yet another CONFIG_MTD_PARTITION ifdef
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 19:37:11 +00:00
Gabor Juhos 0e7a5607b4 ramips: use gpio-keys-polled instead of gpio-buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 19:37:06 +00:00
Imre Kaloz c92c2b1cee [generic/3.3]: add some missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:38:28 +00:00
Gabor Juhos a938ca31da ramips: add MIPS platform file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:16:11 +00:00
Gabor Juhos ae2e90bc13 generic/2.6.39: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:16:08 +00:00
Imre Kaloz c2634162e3 [generic/3.3]: refresh patches to -rc3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 17:43:06 +00:00
Gabor Juhos 59a817f8aa ramips: add MDIO bus support for RT288X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 16:49:56 +00:00
Imre Kaloz 523794c90a [cns3xxx]: rename 3.1 patches directory as it will be used for newer kernels as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:59:23 +00:00
Imre Kaloz aa4e0232b5 [cns3xxx]: rename 2.6.39 patches directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:58:14 +00:00
Gabor Juhos e356b49dcd ramips: fix Belkin F5D8235-v2 VLAN setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:31:18 +00:00
Gabor Juhos bf98da9c80 ramips: raeth: make debugging messages configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:10 +00:00
Gabor Juhos 69e3d1bbc4 ramips: raeth: use device pointer in DMA API calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:08 +00:00
Gabor Juhos 110d4ac69d ramips: raeth: add netdev pointer to private structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:06 +00:00
Gabor Juhos 49ec435276 ramips: raeth: cleanup DMA API usage in ramips_eth_hard_start_xmit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:05 +00:00
Gabor Juhos 03f6e838c1 ramips: raeth: unmap rx DMA address in ramips_cleanup_dma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:04 +00:00
Gabor Juhos edf1212d0f ramips: raeth: add rx_dma array to store the DMA address of the rx packets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:02 +00:00
Gabor Juhos b527da9716 ramips: raeth: use dma_addr_t for the descriptors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:01 +00:00
Gabor Juhos 527df10ce9 ramips: raeth: unmap DMA memory when a packet is received
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:56 +00:00
Gabor Juhos 4ab419384e ramips: raeth: add a temporary pktlen variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:55 +00:00
Gabor Juhos 8ecf5cdf0f ramips: raeth: protect macro parameters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:50 +00:00
Gabor Juhos 9ab3461a35 ramips: raeth: indicate dropped packets in stats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:49 +00:00
Gabor Juhos 6653e13884 ramips: raeth: use the NUM_TX_DESC for the tx_skb array
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:47 +00:00
Gabor Juhos cba394b389 ramips: use uncached address in detect_mem_size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:45 +00:00
Gabor Juhos 7c64e707bb ramips: rt305x: remove CONFIG_MTD_PARTITION ifdefery from machine files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:43 +00:00
Gabor Juhos e26a25dade ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:41 +00:00
Gabor Juhos 0fd6e54e2e ramips: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:40 +00:00
Gabor Juhos f42d3fde3b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:36 +00:00
Gabor Juhos 9933f03b4a ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:34 +00:00
Gabor Juhos 393ae555fa ramips: rt305x: add profile for the Belkin f5d8235v2
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:32 +00:00
Hauke Mehrtens 8f2800e159 brcm47xx: print the chip id and rev found by ssb and bcma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 22:42:43 +00:00
Gabor Juhos 8686954917 ar71xx: zero partition parser data in m25p80
Ths fixes parsing of RedBoot partitions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 20:19:06 +00:00
Gabor Juhos 0822eb50cf ramips: fix compiler warning in prom.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 17:38:46 +00:00
Hauke Mehrtens 7750094846 brcm47xx: update bcm5354 support patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 17:22:26 +00:00
Gabor Juhos 874b5f7d49 ar71xx: fix platform description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 15:27:49 +00:00
Gabor Juhos d3e9d0be26 generic: fix yaffs2 build warnings on 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 15:21:43 +00:00