Commit Graph

5465 Commits (3e5f4450b5c330297a2067fead5ff946f3905819)

Author SHA1 Message Date
Raphaël Huck 1a07f81239 extend bcm63xx_wdt driver for debugging purposes, thx Miguel
SVN-Revision: 21199
2010-04-27 15:45:03 +00:00
Alexandros C. Couloumbis b595adb8e8 x86: prepare for kernels 2.6.33 & 2.6.34
SVN-Revision: 21196
2010-04-27 14:43:41 +00:00
Alexandros C. Couloumbis fdac9ae836 sync to kernel 2.6.32.12
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Raphaël Huck 8df378a918 add neufbox 4 board support, thx Miguel & Florian
SVN-Revision: 21193
2010-04-27 13:49:31 +00:00
Raphaël Huck 266c0bf900 add NXP 74HC164 chip driver support, thx Miguel & Florian
SVN-Revision: 21192
2010-04-27 13:48:26 +00:00
Raphaël Huck cf1654354b add extended platform devices patch, thx Miguel & Florian
SVN-Revision: 21191
2010-04-27 13:46:22 +00:00
Alexandros C. Couloumbis 9fb0f9acd5 rb532: refresh config options
SVN-Revision: 21188
2010-04-27 13:08:15 +00:00
Alexandros C. Couloumbis 066358ab80 adm5120: add 2.6.33 & 2.6.34 kernel support
SVN-Revision: 21182
2010-04-27 08:46:13 +00:00
Alexandros C. Couloumbis cde7b6363c adm5120: use kernel 2.6.32.12
SVN-Revision: 21181
2010-04-27 08:40:58 +00:00
Gabor Juhos 497d2ec2d0 ar71xx: create separate 'factory' and 'sysupgrade' images for the Planex boards
SVN-Revision: 21175
2010-04-26 18:28:10 +00:00
Gabor Juhos fca9b7ebad ar71xx: remove config partition from the mtd map on the MZK-W300NH board
This space can be used to extend the rootfs_data partition.

SVN-Revision: 21173
2010-04-26 18:28:04 +00:00
Gabor Juhos 77b2354fcd ar71xx: fix firmware partition size on the MZK-W04NU board
SVN-Revision: 21172
2010-04-26 18:28:01 +00:00
Gabor Juhos c018bd8ec1 ar71xx: build different firmware images for the DIR-825-Bx boards
SVN-Revision: 21171
2010-04-26 18:27:58 +00:00
Gabor Juhos 12fab9cb9e ar71xx: create smaller sysupgrade images for the WRT400N board
SVN-Revision: 21170
2010-04-26 18:27:54 +00:00
Gabor Juhos 8470d973ee ar71xx: create firmware images for the TL-WR941ND v3 boards
SVN-Revision: 21169
2010-04-26 18:27:51 +00:00
Gabor Juhos 97b031b57f ar71xx: create separate 'factory' and 'sysupgrade' images for the WRT160NL
The 'factory' image requires the garbage at the end of the image.
Flashing from the original web interface does not work without that.

SVN-Revision: 21168
2010-04-26 18:27:47 +00:00
Felix Fietkau 7966004d99 ag71xx: remove rx alignment code for small packets, it seems to break ipv6 for some reason (fixes #7236)
SVN-Revision: 21166
2010-04-26 16:39:13 +00:00
Florian Fainelli d15e136deb fix spi chip select configuration
SVN-Revision: 21164
2010-04-26 13:33:48 +00:00
Florian Fainelli 84dd37d930 fix bcm6358 spi base register address (#7234)
SVN-Revision: 21163
2010-04-26 09:22:27 +00:00
Florian Fainelli 52231f694d the SPI_CMD register is 16-bits wide
SVN-Revision: 21162
2010-04-26 09:22:23 +00:00
Ralph Hempel 1aea70229e refresh 2.6.33 patches, add more mach support, add crypto support, tbd. mach/board detection
SVN-Revision: 21159
2010-04-25 16:20:16 +00:00
Ralph Hempel 8e143d06bf refresh .32 platform patches
SVN-Revision: 21155
2010-04-25 09:50:33 +00:00
Ralph Hempel e0ad8eee8f add .32 patches
SVN-Revision: 21150
2010-04-24 21:35:49 +00:00
Alexandros C. Couloumbis b7e21c6517 brcm47xx: add missing bits & bytes on r21119
SVN-Revision: 21145
2010-04-24 19:23:54 +00:00
Felix Fietkau 9848d38aed ar71xx: fix a wifi card stability issue
when we receive a pci/ahb interrupt, we need to flush pending data for dma
from the device, otherwise the tx path may get stuck if the completion flag
of the dma descriptor is not updated at the time the tx interrupt arrives.

SVN-Revision: 21143
2010-04-24 17:24:11 +00:00
Nicolas Thill 37b02afe6a package/kernel: use common gpio- & wdt- prefixes for GPIO and watchdog module names
SVN-Revision: 21137
2010-04-24 14:08:49 +00:00
Nicolas Thill b1b2b04639 package/kernel: move PCMCIA modules to their own file & submenu
SVN-Revision: 21136
2010-04-24 13:53:31 +00:00
Nicolas Thill 484051d055 package/kernel: move target specific modules to their own target files
SVN-Revision: 21132
2010-04-24 13:34:51 +00:00
Nicolas Thill 9ae19dcf87 target: remove CONFIG_CRC16 override (closes: #7194)
SVN-Revision: 21130
2010-04-24 13:14:22 +00:00
Nicolas Thill 40b7387053 target/rdc: remove bad ide-core package override
SVN-Revision: 21129
2010-04-24 13:06:04 +00:00
Alexandros C. Couloumbis d0883b82a4 brcm47xx: add sysfs attributes to ssb devices & new defines for registers and device ids (credits: Bernhard Loos)
SVN-Revision: 21119
2010-04-24 06:54:17 +00:00
Alexandros C. Couloumbis 819114e3f2 brcm47xx: fix phy isolation bit on Toshiba WRC-1000, Siemens SE505 v1, Askey RT-210W, RT-220W and alike boards (closes #6789)
SVN-Revision: 21108
2010-04-23 11:49:27 +00:00
Florian Fainelli 2bab1a43be register spi controller, remove whitespaces
SVN-Revision: 21096
2010-04-22 16:35:49 +00:00
Florian Fainelli 6b423d5ecb resync 2.6.33 mtd patch with the one for 2.6.32
SVN-Revision: 21095
2010-04-22 16:35:44 +00:00
Florian Fainelli 41836b16bb fix wrong refresh on flashmap patch
SVN-Revision: 21094
2010-04-22 16:35:01 +00:00
Florian Fainelli ca3e07d639 re-instate SPI support
SVN-Revision: 21087
2010-04-22 15:27:51 +00:00
Florian Fainelli 0b47141194 refresh 2.6.32 patches
SVN-Revision: 21086
2010-04-22 15:27:46 +00:00
Florian Fainelli be2a5389e6 alwasy read imagetag with 64K erase block size
SVN-Revision: 21085
2010-04-22 15:27:42 +00:00
Florian Fainelli 43311d7182 remove simulator profile
SVN-Revision: 21084
2010-04-22 15:27:37 +00:00
Gabor Juhos 60cbdbb686 ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21083
2010-04-22 09:25:37 +00:00
Gabor Juhos 4be3c3e48c kernel: refresh patches for 2.6.34-rc5 and update md5sum
SVN-Revision: 21082
2010-04-22 07:13:21 +00:00
Gabor Juhos 81062a12ac kernel: refresh patches for 2.6.33.2, and drop md5sum for older 2.6.32 kernels
SVN-Revision: 21081
2010-04-22 07:12:09 +00:00
Gabor Juhos 10ed3b23a6 ar71xx: reduce button threshold value on the NBG460 board
SVN-Revision: 21076
2010-04-21 19:07:23 +00:00
Gabor Juhos 9933d34770 ar71xx: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
SVN-Revision: 21075
2010-04-21 19:07:19 +00:00
Gabor Juhos b303c5e2b9 kernel: add KEY_WPS_BUTTON definition
SVN-Revision: 21073
2010-04-21 19:07:11 +00:00
Felix Fietkau 116385c195 rb532: remove bogus 802.1q kernel config overide
SVN-Revision: 21060
2010-04-20 20:24:43 +00:00
Alexandros C. Couloumbis bf12a75a87 brcm47xx: fix r21042, nuke (boardnum == 42 section)
SVN-Revision: 21047
2010-04-20 16:23:47 +00:00
Alexandros C. Couloumbis bd97e88167 brcm47xx: fix ethernet link state (closes #7056)
SVN-Revision: 21042
2010-04-20 15:03:22 +00:00
Gabor Juhos 7e64396394 atheros: refresh 2.6.32 patches
SVN-Revision: 21039
2010-04-20 13:19:29 +00:00
Gabor Juhos f1eeb9b199 atheros: register wmac device only if it is enabled in the board config
SVN-Revision: 21038
2010-04-20 13:19:25 +00:00
Gabor Juhos d7919c8d0d ar71xx: fix mtd_layout for the DIR-615-C1 and similar devices
* Thanks to Yury Polyanskiy for the report

SVN-Revision: 21036
2010-04-20 08:07:25 +00:00
Gabor Juhos 26cd3eed25 ppc40x: sync kernel config
SVN-Revision: 21031
2010-04-19 12:33:09 +00:00
Nicolas Thill 3162bc1ecf target/ramips: fix another typo from [20834] (closes: #7182)
SVN-Revision: 21012
2010-04-19 01:14:29 +00:00
Jo-Philipp Wich 1b192e72c3 add missing kernel symbols (#7189)
SVN-Revision: 21010
2010-04-19 00:46:47 +00:00
Hauke Mehrtens fa432efa8e brcm47xx: allow isdn on brcm47xx
SVN-Revision: 21001
2010-04-18 19:32:18 +00:00
Hauke Mehrtens 78981f6f3c kernel: refresh patches with 2.6.34-rc4
SVN-Revision: 20999
2010-04-18 18:35:47 +00:00
Hauke Mehrtens 79075b8d13 brcm47xx: refresh patches
SVN-Revision: 20996
2010-04-18 18:22:50 +00:00
Hauke Mehrtens 3ed2f88bba kernel: add missing symbols
SVN-Revision: 20995
2010-04-18 18:03:49 +00:00
Hauke Mehrtens 03fd014069 brcm47xx: fix build of tg3 for kernel 2.6.34
SVN-Revision: 20994
2010-04-18 17:19:39 +00:00
Hauke Mehrtens c4079adad8 kernel: fix build with kernel 2.6.34-rc4
SVN-Revision: 20992
2010-04-18 17:14:49 +00:00
Hauke Mehrtens 0af96ede5f kernel: add missing symbols
SVN-Revision: 20991
2010-04-18 17:12:20 +00:00
Gabor Juhos 693ea524c1 ar71xx: adding support for zyxel nbg460n/550n/550nh boards
This patch adds support for the zyxel nbg460n/550n/550nh routers.
Currently this only works if a second stage bootloader is also flashed,
as the used switch needs extra initialization.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>

SVN-Revision: 20990
2010-04-18 16:24:12 +00:00
Gabor Juhos 8d86dbb454 ppc40x: build initramfs images for the OpenRB/Magicbox boards
SVN-Revision: 20980
2010-04-18 08:32:35 +00:00
Gabor Juhos 1e8f91502e kernel: refresh 2.6.32 patches
SVN-Revision: 20952
2010-04-17 09:29:29 +00:00
Gabor Juhos 2231b9d761 ppc40x: fix MagicBox partition table
SVN-Revision: 20951
2010-04-17 09:29:26 +00:00
Felix Fietkau 54e9e802c4 gemini: add support for wiligear wbd-222 (patch by Darius Augulis)
SVN-Revision: 20949
2010-04-16 21:03:36 +00:00
Felix Fietkau b0cf1f5baa gemini: either scatter/gather dma or hw checksum breaks ethernet, comment out the define that enables both
SVN-Revision: 20940
2010-04-16 20:23:35 +00:00
Gabor Juhos f7cc3d576c swconfig: Add cpu port index to help output.
Let swconfig provide the cpu port index in its help page. This is
needed as e.g. Atheros switches have their cpu port at port 0, not
port 5.

This could allow e.g. luci to get a rough overview of the layout of
the switch.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 20939
2010-04-16 19:32:40 +00:00
Gabor Juhos 7b127c754b atheros: nuke clocksoure init patch
SVN-Revision: 20937
2010-04-16 19:32:27 +00:00
Gabor Juhos d0646a08aa ppc40x: enable USB support
Cc: backfire@openwrt.org

SVN-Revision: 20933
2010-04-16 18:40:12 +00:00
Gabor Juhos 3669209288 ppc40x: add isp116x-hcd to the device tree for the OpenRB board
Cc: backfire@openwrt.org

SVN-Revision: 20932
2010-04-16 18:40:10 +00:00
Gabor Juhos b448703ea8 ppc40x: make isp116x-hcd driver usable on the OpenRB board
Cc: backfire@openwrt.org

SVN-Revision: 20931
2010-04-16 18:40:06 +00:00
Gabor Juhos e0ba83e32e ppc40x: add more EBC_BXCR defines
Cc: backfire@openwrt.org

SVN-Revision: 20930
2010-04-16 18:40:02 +00:00
Gabor Juhos 15d344df50 ppc40x: move perwe fixup into a separate function
Cc: backfire@openwrt.org

SVN-Revision: 20929
2010-04-16 18:39:52 +00:00
Alexandros C. Couloumbis e712ef386e brcm47xx: fix ide drive assignment (closes #7061)
SVN-Revision: 20924
2010-04-16 15:05:32 +00:00
Jo-Philipp Wich 7e29eac780 - enable PCI - add kmod-pcnet32 to default packages - make kmod-pcnet32 available for malta target
SVN-Revision: 20923
2010-04-16 11:34:21 +00:00
Felix Fietkau 1c0e751391 ar71xx: fix up alignment handling
- on ar724x, rx buffers can be aligned with an offset of 2, which keeps the ip header aligned
- alignment offset is only added if the ar8216 workaround is not active and the phy driver does not advertise its own packet alignment
- ar71xx and ar91xx can not handle rx alignment offsets, however taking a hit on unaligned exceptions seems to have less overhead than re-aligning the data for large packets
- use memmove to re-align small packets, if necessary

tested on ar9132, ar7240 and ar7242 based devices without ar8216 headers

SVN-Revision: 20892
2010-04-15 23:31:17 +00:00
Alexandros C. Couloumbis 598e0656c5 brcm47xx: add preliminary 2.6.34 support
SVN-Revision: 20888
2010-04-15 20:50:50 +00:00
Alexandros C. Couloumbis af45b63a85 2.6.34: fix kzalloc error
SVN-Revision: 20881
2010-04-15 16:46:24 +00:00
Nicolas Thill d3e5ab1f19 target/toolchain: match toolchain directory name changes in r19885 & r20215 (closes: #7148 & #7162)
SVN-Revision: 20865
2010-04-15 00:33:40 +00:00
Nicolas Thill 34474b8840 target/adm5120: fix image building after r20834
SVN-Revision: 20855
2010-04-14 21:13:59 +00:00
Nicolas Thill 841eff56d4 target/ixp4xx: fix image building after r20834 (closes: #7157)
SVN-Revision: 20854
2010-04-14 14:36:41 +00:00
Daniel Dickinson fe5d55977e tools/firmware-utils/imagetag: Fixed Pirelli Alice Gate CRC calculation in imagetag (was invalid strings in bcm_tag.h). Closes #7120
SVN-Revision: 20850
2010-04-14 00:45:48 +00:00
Jo-Philipp Wich 6fd5014c56 add Buffalo WHR-G125 specifc switch quirks to netconfig, shorten code by merging identical fixes
SVN-Revision: 20846
2010-04-13 22:34:13 +00:00
Alexandros C. Couloumbis b5cfd7bde5 add lzma/jffs2 patches for 2.6.34
SVN-Revision: 20845
2010-04-13 21:45:03 +00:00
Alexandros C. Couloumbis 668fd62080 don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
SVN-Revision: 20844
2010-04-13 21:36:58 +00:00
Lars-Peter Clausen e438c665db vp6500: Add backlight device
SVN-Revision: 20843
2010-04-13 20:52:41 +00:00
Felix Fietkau 231012cba0 ar71xx: fix image builds (broken by r20834)
SVN-Revision: 20840
2010-04-13 18:01:46 +00:00
Nicolas Thill e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Nicolas Thill 0946764732 remove 'svn:executable' property
SVN-Revision: 20831
2010-04-12 17:08:57 +00:00
Alexandros C. Couloumbis c2c88d315f add jffs2/lzma support (not activated by default yet)
SVN-Revision: 20828
2010-04-12 13:14:42 +00:00
Florian Fainelli 06cece53ef fix module loading due to CONFIG_LOCALVERSION being on (#7144)
SVN-Revision: 20822
2010-04-12 12:33:41 +00:00
Gabor Juhos 185965e128 ppc40x: add sysupgrade support
Cc: backfire@openwrt.org

SVN-Revision: 20821
2010-04-12 12:21:18 +00:00
Gabor Juhos bc4cd8c850 ppc40x: increase kernel partition size on OpenRB/Magicbox
Cc: backfire@openwrt.org

SVN-Revision: 20820
2010-04-12 12:21:15 +00:00
Gabor Juhos bd0c2617f1 ppc40x: sync kernel config
Cc: backfire@openwrt.org

SVN-Revision: 20819
2010-04-12 12:21:12 +00:00
Alexandros C. Couloumbis efaf0367f2 mpc83xx: add 2.6.33 support
SVN-Revision: 20818
2010-04-12 10:47:00 +00:00
Lars-Peter Clausen 985ce5e3fa vp6500: Add leds and keypad devices.
SVN-Revision: 20817
2010-04-12 00:11:18 +00:00
Lars-Peter Clausen d3f097bfde Add missing symbols to 2.6.34 config
SVN-Revision: 20816
2010-04-11 22:30:27 +00:00
Lars-Peter Clausen e95a1d7228 Use lzma kernel compression.
SVN-Revision: 20815
2010-04-11 22:12:10 +00:00
Florian Fainelli fba1a0a074 swconfig: Check vlan/port indexes for validity.
Swconfig needs to make sure that requested vlans/ports actually exist,
else it might read or modify memory not belonging to itself.

This patch adds a quick range check in swconfig's kernel part to
prevent accidential or intentional memory modification.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 20811
2010-04-11 20:51:37 +00:00
Florian Fainelli 2a018eb380 refresh 2.6.33 patches for 2.6.33.2
SVN-Revision: 20803
2010-04-11 18:15:15 +00:00
Gabor Juhos de18353622 ramips: nuke clocksource init patch
SVN-Revision: 20802
2010-04-11 17:47:30 +00:00
Gabor Juhos b4bb5ebfaa ramips: generate sysupgrade images for the rt305x devices
SVN-Revision: 20801
2010-04-11 17:47:28 +00:00
Gabor Juhos 7581054e93 ramips: add sysupgrade support
SVN-Revision: 20800
2010-04-11 17:47:25 +00:00
Gabor Juhos 09aec474af ramips: add diag support
SVN-Revision: 20799
2010-04-11 17:47:23 +00:00
Gabor Juhos 2872bade69 ramips: enable image commandline hack and cmdline partition parsing
SVN-Revision: 20798
2010-04-11 17:47:20 +00:00
Gabor Juhos af05b16c98 ramips: add default profiles
SVN-Revision: 20797
2010-04-11 17:47:17 +00:00
Lars-Peter Clausen d1031cd861 time.c: Timer enable registers are only 8bit width.
SVN-Revision: 20796
2010-04-11 16:24:06 +00:00
Florian Fainelli 15e8d2e0b7 add net5501 support
This patch brings up the net5501 platform.

Note that the x86/ target included support for all x86/ class
processors.  That's not technically correct.  This should be constrained
only to the "generic" subtarget.  Every x86-class target that isn't
generic should be able to select only the optimizations/capabilities
applicable to that architectural variant.

It's also assumed that all x86 processors have keyboard & mouse ports,
ISA, DMI, ACPI... the embedded ones typically don't.  Again, moving
that to the generic subtarget.

Fortunately, this was a fairly benign tweak.

The net5501 board includes the following logic:

Geode/LX processor
CS5535 super-I/O chip
PC87360 sensor chip
Via Rhine Ethernet controllers
Via Sata controllers
USB, LEDS, I2C

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

SVN-Revision: 20794
2010-04-11 12:36:55 +00:00
Alexandros C. Couloumbis 62b96185c3 ixp4xx: add Titan Wireless TW-266-2 support (thanks juhosg & florian)
SVN-Revision: 20793
2010-04-11 09:03:10 +00:00
Alexandros C. Couloumbis 3c48fb6ff9 ixp4xx: add 2.6.33 support
SVN-Revision: 20792
2010-04-11 09:01:36 +00:00
Florian Fainelli f4d71f5e81 create two endian-specific subtargets, as malta can run both
SVN-Revision: 20790
2010-04-10 21:02:51 +00:00
John Crispin b4d0b6cbb3 adss 2.6.33 kernel patches, not defult yet as linux-atm breaks on 2.6.33
SVN-Revision: 20789
2010-04-10 20:11:28 +00:00
Florian Fainelli 6d12bc20ce remove 2.6.32 files, out of sync and going to be replaced differently
SVN-Revision: 20787
2010-04-10 18:44:44 +00:00
Lars-Peter Clausen 1d8823ae61 Add mx2 target with very basic support for the vp6500 voip phone
SVN-Revision: 20786
2010-04-10 18:37:34 +00:00
Felix Fietkau 1633dd6b6c ar71xx: add a profile for PB92
SVN-Revision: 20778
2010-04-10 16:50:20 +00:00
Jo-Philipp Wich 8f25fb6086 add script to fixup the wireless mac (#7102)
SVN-Revision: 20775
2010-04-10 14:29:01 +00:00
Gabor Juhos 3491026cbb Generic: Clean up output of AR8216 driver.
This patch is rather a cosmetic patch. It fixes the following issues:

 * Demote the unknown device message to debug level to not spam
   the log.
 * Fix the version print of the unknown device message.
 * Output the 'attach' message only when attaching as switch driver,
   not when attaching as phy driver.
 * Correctly return NET_RX_DROP when dropping packets.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc: bacfire@openwrt.org

SVN-Revision: 20773
2010-04-10 11:34:11 +00:00
Florian Fainelli 222390bafc refresh patches
SVN-Revision: 20767
2010-04-09 19:26:57 +00:00
Florian Fainelli b87e590b24 do not overwrite ENET_CTL_REG, fixes ethernet on bcm6338
SVN-Revision: 20765
2010-04-09 18:43:36 +00:00
Gabor Juhos 6139571932 ar71xx: nuke clocksource init patches, it is not required since 2.6.27
SVN-Revision: 20764
2010-04-09 13:33:03 +00:00
Alexandros C. Couloumbis 33bcbab6a4 x86: generic: fix soekris support (closes #7081)
SVN-Revision: 20757
2010-04-09 11:31:19 +00:00
Gabor Juhos dd7304ec6d ar71xx: update phy masks for the Planex boards
This avoids probing of the AR8216 chip on the eth0 interface.

Cc: backfire@openwrt.org

SVN-Revision: 20754
2010-04-09 08:40:14 +00:00
Gabor Juhos 72d4353728 generic: make chip detection more reliable in the AR8216 driver
Fixes broken ethernet on the Planex MZK-W04NU/W300NH boards.

Cc: bacfire@openwrt.org

SVN-Revision: 20753
2010-04-09 08:40:12 +00:00
Gabor Juhos d6c0363884 ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
Cc: backfire@openwrt.org

SVN-Revision: 20752
2010-04-09 08:40:09 +00:00
Gabor Juhos 4c29a2c263 ar71xx: ag71xx: avoid unalinged accesses when using the phy specific receive functions
Cc: backfire@openwrt.org

SVN-Revision: 20751
2010-04-09 08:40:06 +00:00
Gabor Juhos 4a28844d80 ar71xx: ag71xx: call the phy driver's netif_receive_skb()
Ag71xx needs to call the phy's netif_receive_skb() to allow phy drivers
to mangle rx packets. This patch fixes it.

This fixes the header mangling of the AR8216 driver.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc:backfire@openwrt.org

SVN-Revision: 20750
2010-04-09 08:38:46 +00:00
Florian Fainelli 722e75f066 fix kexec for mips, patch from Adrian Byszuk (#7115)
SVN-Revision: 20745
2010-04-08 07:53:14 +00:00
Jo-Philipp Wich 44810702d2 fix failsafe ip deconfig on AR23xx devices without ADM or Marvell switch
SVN-Revision: 20733
2010-04-06 22:46:15 +00:00
Felix Fietkau df463abb18 ar71xx: fix ethernet on final pb92 board (previous value was based on a preliminary version)
SVN-Revision: 20725
2010-04-06 00:12:50 +00:00
Jo-Philipp Wich 23bebe33a7 Add support for the ar8316 switch. This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices.
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.

SVN-Revision: 20722
2010-04-05 23:03:16 +00:00
Jo-Philipp Wich 22e3bd0d8b add kernel support for iptables comment match
SVN-Revision: 20720
2010-04-05 22:38:40 +00:00
Nicolas Thill 83bf10cb3f target/rdc: revert [20653], the proper fix for #7005 is in [20712]
SVN-Revision: 20714
2010-04-05 02:38:59 +00:00
Felix Fietkau ddb677e13d ixp4xx: add back the patch for avoiding dma bounce buffers for network buffers, which was lost on the kernel upgrade to 2.6.32. fixes ath9k and improves other drivers' performance on boards with >64M ram
SVN-Revision: 20708
2010-04-04 17:43:13 +00:00
Nicolas Thill 1fc7da0306 sysupgrade: fix typo in platform_do_upgrade() on x86 (closes: #7068), thanks to acinonyx
SVN-Revision: 20703
2010-04-04 15:47:26 +00:00
Lars-Peter Clausen f8275576d9 jzcodec: Only support 16bit formats for now
SVN-Revision: 20701
2010-04-04 15:39:15 +00:00
Mirko Vogt e60b9b9b35 do not disable netfilter support for xburst target (some packages require netfilter support)
SVN-Revision: 20698
2010-04-04 13:01:50 +00:00
Gabor Juhos c874513cfa ar71xx: fix broken LAN ports on the boards with AR8216 switch (closes #7024)
* cc: backfire@openwrt.org

SVN-Revision: 20673
2010-04-03 13:59:08 +00:00
Florian Fainelli e3a9d80e8f do not set CONFIG_NET_DEV_OPS (#7005)
SVN-Revision: 20653
2010-04-02 10:34:40 +00:00
Florian Fainelli 2a4fb82289 flashmap and image generation: reduced union bcm_tag to a single struct combining the elements so that it is no longer necessary to create an openwrt-only tagid and tagcrc, and elimate the tagid detection and switch statements which made dealing with imagetags overly complicated, especially since the logic would need analogs in all code that touched the imagetag. Patch from cshore.
SVN-Revision: 20652
2010-04-01 21:20:43 +00:00
Hauke Mehrtens bbe4a57177 brcm-2.4: fix commit r18413 "128MB ram problem"
This was missing in commit r20072

SVN-Revision: 20651
2010-04-01 17:27:59 +00:00
Imre Kaloz d3b9b93dd3 add a subtarget and drivers for the Intel Tolapai SoC
SVN-Revision: 20648
2010-04-01 12:05:27 +00:00
John Crispin bfc37a1a19 improve extract code
SVN-Revision: 20641
2010-03-31 21:12:02 +00:00
Gabor Juhos 0abc7e6d53 ramips: add wpad-mini to the default packages
SVN-Revision: 20632
2010-03-31 09:58:33 +00:00
Gabor Juhos a423c3abee ramips: annotate device register function prototypes with __init
SVN-Revision: 20627
2010-03-31 08:40:28 +00:00
Gabor Juhos a9f313edea ramips: register wifi device for the RT2880 based boards
SVN-Revision: 20625
2010-03-31 08:40:23 +00:00
Gabor Juhos 9f3d673dbc ramips: add wifi device for the RT2880 as well
SVN-Revision: 20624
2010-03-31 08:40:20 +00:00
Gabor Juhos 1c25cfcde0 ramips: register wifi device on the rt305x based boards
SVN-Revision: 20616
2010-03-30 21:24:10 +00:00
Gabor Juhos ce2ac05602 ramips: sync kernel config
SVN-Revision: 20614
2010-03-30 21:24:05 +00:00
John Crispin 60ca90e08b prepare kernel for voip
SVN-Revision: 20613
2010-03-30 21:06:27 +00:00
John Crispin 6f4052abe0 The ralink rt305x board has a wireless card that can be used with the rt2800pci driver (it does not work yet but basically should). Hence, register the appropriate platform device to allow developing/testing the rt2800pci driver. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 20599
2010-03-30 12:04:05 +00:00
Nicolas Thill ceaff7a566 imagebuilder: don't disable on uml
SVN-Revision: 20598
2010-03-30 11:42:41 +00:00
Nicolas Thill 8c2b753329 imagebuilder: various fixes * only copy host tools from $(STAGING_DIR_HOST)/bin * remove more target patches, and also target files * combine the 3 find commands into a single one
SVN-Revision: 20597
2010-03-30 11:41:51 +00:00
John Crispin 3ad14f304e Fix the base address of the wireless card. Otherwise it is not possible to register a platform wireless device as it overlaps with something else. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 20596
2010-03-30 10:06:05 +00:00
Florian Fainelli dc4712f887 fix ndisc compilation failure (#6984)
SVN-Revision: 20591
2010-03-29 21:20:36 +00:00
Felix Fietkau 5f89a1f096 netfilter: fix ABI breakage caused by the netfilter match optimization (fixes #5628)
SVN-Revision: 20552
2010-03-28 19:05:59 +00:00
Felix Fietkau e4a6acf9b8 enable IP175A support in the IP175C PHY driver (based on patch from jh in #6733)
SVN-Revision: 20551
2010-03-28 18:57:42 +00:00
Florian Fainelli dad85cddac move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
SVN-Revision: 20548
2010-03-28 18:11:06 +00:00
Florian Fainelli e1a4f69cb5 sysupgrade: Get target device from kernel cmdline, patch from acinonyx
SVN-Revision: 20538
2010-03-28 11:55:07 +00:00
Nicolas Thill d14e0a0b93 ifxmips: remove old config files
SVN-Revision: 20534
2010-03-28 03:45:44 +00:00
Nicolas Thill 39ee357098 ps3: move ps3lan kmod under target/linux/ps3
SVN-Revision: 20533
2010-03-28 03:29:22 +00:00
Felix Fietkau 7983e442e1 ar71xx: fix pci on ar7241/ar7242
SVN-Revision: 20530
2010-03-28 00:36:37 +00:00
Felix Fietkau 9c0f21a5b9 ar71xx: fix the wan port on pb92
SVN-Revision: 20529
2010-03-28 00:36:04 +00:00
Felix Fietkau 2cc215f121 ar71xx: reset the mdio bus on ar7241/ar7242
SVN-Revision: 20528
2010-03-28 00:35:44 +00:00
Gabor Juhos 8701291f0f ar71xx: add uci defaults to fix trx header on the WRT160NL boards
* patch by Otto Solares

SVN-Revision: 20526
2010-03-27 17:38:40 +00:00
Gabor Juhos 905f2d62f9 ar71xx: update image generation and trx header parsing for the WRT160NL
* patch by Bernhard Loos
 * note: trailing whitespaces has been removed

SVN-Revision: 20525
2010-03-27 17:38:36 +00:00
Jo-Philipp Wich 0cdaaa90fe Add OLPC kernel config (patch by Acinonyx)
SVN-Revision: 20517
2010-03-27 15:31:19 +00:00
Jo-Philipp Wich b8df00afc6 Change default processor family to 486, refresh config (patch by Acinonyx)
SVN-Revision: 20516
2010-03-27 15:30:46 +00:00
Jo-Philipp Wich 80cc1b0d2e Remove support for older kernels (patch by Acinonyx)
SVN-Revision: 20515
2010-03-27 15:29:22 +00:00
Jo-Philipp Wich 817d27bcdc sysupgrade: Dump image to sda device instead of hda (patch by Acinonyx)
SVN-Revision: 20514
2010-03-27 15:28:17 +00:00
Gabor Juhos b7ca043240 ar71xx: ag71xx: copy received packet to avoid unaligned access in the IP stack
SVN-Revision: 20506
2010-03-27 13:05:27 +00:00
Gabor Juhos f9acf8ada1 ar71xx: ag71xx: introduce ag71xx_has_ar8216() helper
SVN-Revision: 20505
2010-03-27 13:05:24 +00:00
Gabor Juhos 200db5ebb5 ar71xx: ag71xx: reorganize ag71xx_rx_packet function
SVN-Revision: 20504
2010-03-27 13:05:20 +00:00
Gabor Juhos 245775a49f ar71xx: ag71xx: Add netpoll support
This patch adds support for polling interrupts, used by
netconsole and the likes.

Tested on d-link dir-615 C1 using netconsole.

Signed-off-by: Pat Erley <pat-lkml@erley.org>

SVN-Revision: 20503
2010-03-27 13:05:17 +00:00
Felix Fietkau 6ce1fd2301 ar71xx: add images for pb92 - no kernel size check yet, lzma images did not yet work in my tests
SVN-Revision: 20496
2010-03-26 22:36:02 +00:00
Felix Fietkau 0b6e32a7b0 ar71xx: add basic kernel support for pb92
SVN-Revision: 20495
2010-03-26 22:35:52 +00:00
Felix Fietkau aa3ff31b95 ar71xx: add support for ar7241 and ar7242
SVN-Revision: 20494
2010-03-26 22:35:41 +00:00
Felix Fietkau 4e10c56551 ar71xx: fix pci link detection for ar724x
SVN-Revision: 20493
2010-03-26 22:35:27 +00:00
Hauke Mehrtens 0490c57e31 brcm47xx: remove support for older for kernel
SVN-Revision: 20492
2010-03-26 19:53:30 +00:00
Andy Boyett 681054333e wrt400n: lan ports don't need the ar8216 workaround
SVN-Revision: 20491
2010-03-26 19:09:11 +00:00
Mirko Vogt 633933f8bf adjust module loading sequence to change 20345, as snd-soc-core needs to get loaded before
SVN-Revision: 20490
2010-03-26 18:10:09 +00:00
Florian Fainelli dfb4939f20 add missing linux/types.h header in netlink.h
SVN-Revision: 20488
2010-03-26 17:58:45 +00:00
Gabor Juhos df747ce8e1 pxcab: remove 2.6.31 config
SVN-Revision: 20485
2010-03-26 17:08:55 +00:00
Gabor Juhos 63974d86e1 atheros: remove 2.6.31 related stuff
SVN-Revision: 20484
2010-03-26 17:08:53 +00:00
Florian Fainelli 3398c092a8 more cleaning
SVN-Revision: 20482
2010-03-26 16:07:24 +00:00
Florian Fainelli c597c4d8bf remove empty subtargets directories
SVN-Revision: 20481
2010-03-26 15:42:48 +00:00
Florian Fainelli 8c377e7b78 remove now useless patches, thanks rtz
SVN-Revision: 20446
2010-03-26 12:59:56 +00:00
Gabor Juhos 2ef84970ea adm5120: nuke 2.6.30 stuff
SVN-Revision: 20445
2010-03-26 10:45:31 +00:00
Gabor Juhos e66a368bd1 kernel: update to 2.6.32.10
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Florian Fainelli 797967480c drop support for 2.6.30
SVN-Revision: 20442
2010-03-26 10:13:06 +00:00
Florian Fainelli 753c39cd5f drop support for 2.6.30
SVN-Revision: 20441
2010-03-26 10:13:03 +00:00
Florian Fainelli e7066336cb drop support for 2.6.30
SVN-Revision: 20440
2010-03-26 10:12:58 +00:00
Florian Fainelli 5cbc43005c drop support for 2.6.30
SVN-Revision: 20439
2010-03-26 10:12:54 +00:00
Florian Fainelli 10d4e5b4b0 drop support for 2.6.30 kernel
SVN-Revision: 20438
2010-03-26 10:12:48 +00:00
Markus Wigge d9a698e77c added support for wrt54g3gv2-vf and new trx header format
- hacked addpattern due to changes in header format
 - added "-5" to addpattern, some 0xFF are needed for trx2 header
   "-4" broke CRC checking in CFE
 - hacked trx.c due to new header format version
 - added target to create trx-V2 images

the flashmap driver possibly needs to be customized.

SVN-Revision: 20433
2010-03-25 19:34:49 +00:00
Florian Fainelli 61326faa60 fix the mac address setting on sitecom devices after r20294
SVN-Revision: 20427
2010-03-25 15:27:30 +00:00
Florian Fainelli 8805ead76c add missing CONFIG_CB1400_CORE symbol, spotted by buildbot
SVN-Revision: 20426
2010-03-25 15:27:08 +00:00
Florian Fainelli 928dfc550f add support for D4PW board, patch from mexit
SVN-Revision: 20420
2010-03-25 12:06:01 +00:00
John Crispin ba49170710 fix for previous commit
SVN-Revision: 20419
2010-03-25 11:51:17 +00:00
John Crispin 0f1522cf59 implement gpiolib drivers for core gpio and ebu attached latches
SVN-Revision: 20418
2010-03-25 11:50:46 +00:00
Florian Fainelli 821bd49569 use profiles again intead of subtargets.
We have now a single kernel which autodetects the type of device we are running
on, so we can switch back to having profiles. Patch by Bernhard Loos.

SVN-Revision: 20416
2010-03-25 10:13:00 +00:00
Gabor Juhos 35bb7be34d ar71xx: Add basic WLAN LED control to TL-WR1043ND
* thanks to KillaB
  * closes #6834

SVN-Revision: 20415
2010-03-25 07:31:17 +00:00
Gabor Juhos c72b656d8d ar71xx: create smaller initramfs images for the TP-Link boards
SVN-Revision: 20414
2010-03-25 07:31:13 +00:00
Florian Fainelli 9b86b9f0dd revert back to 2.6.32.9 for backfire
SVN-Revision: 20410
2010-03-24 23:33:54 +00:00
John Crispin 1f1ad83bc2 typo
SVN-Revision: 20403
2010-03-24 16:19:17 +00:00
John Crispin ee9ed69f0f adds support for airties wav-281/arcor a800/arcaydian arv452
SVN-Revision: 20402
2010-03-24 15:55:23 +00:00
John Crispin 1e1936323b meta partition should not span brn-boot sector
SVN-Revision: 20401
2010-03-24 15:53:48 +00:00
John Crispin a2155caf7b add phylib support to ethernet driver
SVN-Revision: 20400
2010-03-24 15:53:05 +00:00
Jo-Philipp Wich c63fd559fc base-files: remove redundant "Press " when writing enter failsafe message
SVN-Revision: 20393
2010-03-23 22:57:16 +00:00
Alexandros C. Couloumbis 129d8a88f4 generic-2.6: fix r20386 (thanks nico), update missing symbols on config-2.6.32 too
SVN-Revision: 20388
2010-03-23 15:02:29 +00:00
Alexandros C. Couloumbis c0ea2a6257 generic-2.6: config-2.6.33 add missing symbols, closes #6913 (thanks maddes)
SVN-Revision: 20386
2010-03-23 12:42:17 +00:00
Florian Fainelli d3b3c421d7 also generate images for AG1A, thanks obinou
SVN-Revision: 20385
2010-03-23 09:09:48 +00:00
Lars-Peter Clausen 0ddd7f1082 sound jz4740_pcm: Set dma channel to NULL after it has been freed, because hw_free can be called multiple times aswell.
SVN-Revision: 20373
2010-03-22 18:57:50 +00:00
Lars-Peter Clausen fd3344d488 sound jz4740_pcm: Don't request dma channel mor then once.
It is possible that the hw_params callback is called multiple times when using
the oss emulation layer. Thus we need to check whether the dma channel has
already been requested otherwise we'll end up with all dma channels being
requested by sound driver.

SVN-Revision: 20369
2010-03-22 15:22:26 +00:00
Alexandros C. Couloumbis 4acfc97d11 atheros: config-2.6.33, add missing option on commit r20332
SVN-Revision: 20360
2010-03-21 18:18:13 +00:00
Gabor Juhos 120b1d8699 ar71xx: use the RB411 setup for the RB411U
SVN-Revision: 20359
2010-03-21 18:16:24 +00:00
Gabor Juhos 9a1031ce6d ar71xx: change PHY select logic, and update phy_masks
SVN-Revision: 20358
2010-03-21 18:16:07 +00:00
Florian Fainelli aef7bbc78f fix ethernet driver remove function to use the correct annotation (#6311)
SVN-Revision: 20350
2010-03-21 16:05:27 +00:00
Lars-Peter Clausen 28e68dd8c7 jz_mmc: Fix timeout timer. Annotate timeout checks as unlikely()
SVN-Revision: 20349
2010-03-21 15:46:49 +00:00
Hauke Mehrtens dfff03754d x86: do no overwrite CONFIG_SCSI_LOWLEVEL
CONFIG_SCSI_LOWLEVEL is needed for some packages.
Backport commit r19759 into kernel 2.6.30

SVN-Revision: 20340
2010-03-21 14:02:30 +00:00
Hauke Mehrtens c1f9037135 kernel: Add some missing config symbols
This adds some missing config symbols and opens the menu
behind CONFIG_SND_PCI and CONFIG_ISDN.

SVN-Revision: 20339
2010-03-21 13:57:07 +00:00
John Crispin e9615a0d36 add register definitions for ebu
SVN-Revision: 20338
2010-03-21 13:35:33 +00:00
Alexandros C. Couloumbis bbc8db54e7 atheros: config-2.6.33, PCI: disable common quirks
SVN-Revision: 20337
2010-03-21 11:22:40 +00:00
Alexandros C. Couloumbis 5bd4a48d40 atheros: config-2.6.33, use UP-only small-memory-footprint RCU
(tested on production system, works solid for couple of weeks)

SVN-Revision: 20336
2010-03-21 11:19:23 +00:00
Alexandros C. Couloumbis 6b0a603420 atheros: config-2.6.33, optimize for size
SVN-Revision: 20335
2010-03-21 11:13:27 +00:00
Alexandros C. Couloumbis f392ae1fa6 atheros: config-2.6.33, turn off swap memory
SVN-Revision: 20334
2010-03-21 11:10:00 +00:00
Alexandros C. Couloumbis 25d3c27e1e atheros: config-2.6.33, turn off BSD Process Accounting
SVN-Revision: 20333
2010-03-21 11:07:35 +00:00
Alexandros C. Couloumbis 2122976cf6 atheros: config-2.6.33, fix CONFIG_CMDLINE
SVN-Revision: 20332
2010-03-21 11:03:57 +00:00
Alexandros C. Couloumbis 0fa2deaa28 generic-2.6: sync patches to 2.6.34-rc2
SVN-Revision: 20329
2010-03-21 06:53:08 +00:00
Florian Fainelli ea89aacf52 do not set panic_on_unrecovered_nmi in watchdog, already set in southbridge driver, thanks rtz
SVN-Revision: 20324
2010-03-20 17:45:41 +00:00
Florian Fainelli a1058204d0 rework board detection
Rework board detection, separate board specific code into its own file. As a
result we also change the way rdc images are generated.
Support for board which required binary tools, like AMIT are dropped. Patch by
Bernhard Loos.

SVN-Revision: 20294
2010-03-18 23:35:21 +00:00
Gabor Juhos 706b6b846f base-files: show boot state on intramfs images
SVN-Revision: 20289
2010-03-18 19:19:21 +00:00
Gabor Juhos 18aa68d368 ar71xx: check returned value of ioremap in ar71xx_pcibios_setup
SVN-Revision: 20288
2010-03-18 19:19:19 +00:00
Gabor Juhos 73f7a1c224 ar71xx: optimize register access in ar71xx_pci.c
SVN-Revision: 20287
2010-03-18 19:19:16 +00:00
Gabor Juhos 1dedaf30a6 ar71xx: optimize register access in irq.c
SVN-Revision: 20286
2010-03-18 19:19:13 +00:00
Gabor Juhos 2438a03ce4 ar71xx: optimize register access in ar724x_pci.c
SVN-Revision: 20285
2010-03-18 19:19:10 +00:00
Gabor Juhos d02975eb0d ar71xx: introduce global ar724x_pci_ctrl_base variable
SVN-Revision: 20284
2010-03-18 19:19:07 +00:00
Gabor Juhos b051a3b784 ar71xx: add error handling to ar724x_pcibios_init
SVN-Revision: 20283
2010-03-18 19:19:03 +00:00
Gabor Juhos 695e989c6f ar71xx: move ar724x_pci_* helpers to ar724x-pci.c
SVN-Revision: 20282
2010-03-18 19:18:58 +00:00
Gabor Juhos 5f109ef2f3 ar71xx: move PCI intterupt handling code to pci-ar7{1xx,24x}.c
SVN-Revision: 20281
2010-03-18 19:18:54 +00:00
Gabor Juhos 4d32460353 ar71xx: use set_irq_chained_handler for the PCI IRQs
SVN-Revision: 20280
2010-03-18 19:18:50 +00:00
Gabor Juhos 1b8137eefc ar71xx: merge AR71XX_IRQ_CPU_{PCI,WMAC} into AR71XX_IRQ_CPU_IP2
SVN-Revision: 20279
2010-03-18 19:18:46 +00:00
Gabor Juhos 58911deda5 ar71xx: remove unnecessary includes from setup.c
SVN-Revision: 20278
2010-03-18 19:18:41 +00:00
Gabor Juhos ca49e09c9a ar71xx: fix ar724x_pci_wr{,_nf} helpers
SVN-Revision: 20277
2010-03-18 19:18:36 +00:00
Mirko Vogt 4c0b32c02a do not use font <FONT_MINI_4x6> for target lb60 by default as it's unreadable
SVN-Revision: 20274
2010-03-18 14:32:48 +00:00
John Crispin aeadc74d0e Bugfix: do not call request_irq() with interrupts disabled, signed off by Ithamar R. Adema
SVN-Revision: 20273
2010-03-18 13:55:14 +00:00
John Crispin 950dc23320 make mtd handel 128k sectors properly, based on patch by Ithamar R. Adema
SVN-Revision: 20272
2010-03-18 13:54:22 +00:00
John Crispin 5abcf30366 fixes board detection, signed off by Ithamar R. Adema
SVN-Revision: 20271
2010-03-18 13:53:22 +00:00
Markus Wigge 47f29ede08 added feature "pcmcia"
SVN-Revision: 20268
2010-03-18 12:20:36 +00:00
John Crispin 2a89598ce5 Also build jffs2 images with 128k eraseblock size, signed off by Ithamar R. Adema
SVN-Revision: 20267
2010-03-18 11:20:35 +00:00