Commit Graph

5657 Commits

Author SHA1 Message Date
Gabor Juhos
0cc840f158 ip17xx: Update the copyright message
Update the copyright message to reflect my changes.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21725
2010-06-08 20:19:08 +00:00
Gabor Juhos
b650fecb7d ip17xx: Rename the driver to ip17xx.c
Following the big internal rename, this is the external rename.
Rename the source file to ip17xx.c and adjust Makefile and Kconfig.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21724
2010-06-08 20:19:05 +00:00
Gabor Juhos
0b84c5a1c1 ip17xx: The big rename
Recognize that the driver supports many more devices than the ip175c.

The driver itself is now called ip17xx, all generic functions have been
renamed to ip17xx_*. The model-dependent functions have prefixes ip175c_
and ip175d_.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21723
2010-06-08 20:18:58 +00:00
Gabor Juhos
2ccaef4f4a ip17xx: Keep all state locally
Instead of reading the hardware state every time we want to inspect it or
to modify it, maintain it in struct ip175c_state.

This simplifies the code significantly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21722
2010-06-08 20:18:55 +00:00
Gabor Juhos
4511da99b9 ip17xx: Add support for IP175D
Add support for the IP175D chip. Since the register set is vastly different
from the previous models, we cannot not use the register number tables in struct
register_mappings (except for VLAN_DEFAULT_TAG_REG), so we supply a different
set of low-level functions.

Unlike with the previous models, we keep the VLAN setup in our state structure
instead of querying the hardware (it would be much harder in case of IP175D,
because the mapping between hardware and software state is not 1:1). Therefore,
get_flags() and get_state() are no-ops.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21721
2010-06-08 20:18:51 +00:00
Gabor Juhos
d48ba78aa4 ip17xx: Avoid auto-negotiation
Let ip175c_config_init() initialize the link state of the PHY and set the
PHY state machine directly to the PHY_RUNNING state in order to skip the
auto-negotiation phase.

Previously, auto-negotiation on PHY 0 (switch port 0) influenced the ethernet
driver connected to the CPU port, causing all sorts of weird effects.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21720
2010-06-08 20:18:47 +00:00
Gabor Juhos
a7301c57a4 ip17xx: New chip detection
Clean up get_model() and make it recognize IP175D using yet another
chip ID register. Log the detected model.

Also fix a bug in the interface between the PHY layer and our probe function,
which caused IP175A devices to be ignored.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21719
2010-06-08 20:18:42 +00:00
Gabor Juhos
d577cfa397 ip17xx: Add VLAN tag field
Since IP175D uses tag-based VLANs, we need an ability to set VLAN tag
of every VLAN.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21718
2010-06-08 20:18:38 +00:00
Gabor Juhos
d08093b8b3 ip17xx: Maintain state->remove_tag incrementally
So far, state->remove_tag was sometimes updated incrementally, sometimes
left to correct_vlan_state() to recalculate. Since I want to avoid use of
correct_vlan_state() for IP175D, this patch fixes the only two remaining
places which leave state->remove_tag inconsistent with state->add_tag
and it drops the recalculation.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21717
2010-06-08 20:18:34 +00:00
Gabor Juhos
e04dd645f2 ip17xx: Initialize VLAN state upon reset
Let VLAN state variables be initialized not only when the enable VLAN bit
is toggled, but also upon reset.

At this point, this should be a no-op, since the driver reads the current
hardware state before doing any modifications anyway, but I plan to keep
some state locally in the subsequent patches.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21716
2010-06-08 20:18:30 +00:00
Gabor Juhos
3c213b14ed ip17xx: Introduce vlan array
Replace vlan_ports array in struct ip175c_state by an array of structures.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21715
2010-06-08 20:18:25 +00:00
Gabor Juhos
065bc60f37 ip17xx: Introduce indirection of low-level operations
This patch introduces seperation between low-level and high-level parts
of the driver. The low-level functions are now called via pointers stored
in struct ip175c_regs.

The only functional changes are:

  o  correct_vlan_state() is now called as a part of every update_state().

  o  The order of setting of MODE_REG and resetting switch ports
     has changed. (These are independent actions, so it should not matter.)

  o  ip175c_set_tagged() sets the tags via update_state() instead of writing
     directly to the registers.

  o  The same for ip175c_set_pvid().

The only gaps in this abstraction are operations on ports (get_port_speed
and friends), which access PHY registers directly.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21714
2010-06-08 20:18:20 +00:00
Gabor Juhos
09be47cf90 ip17xx: Fix use of MODE_VAL
The value written to MODE_REG in ip175c_reset() should be obviously MODE_VAL,
not RESET_VAL. Actually, this change is a NOP, because in the only case where
the MODE_REG is used, the two values are identical, but it makes the code
more readable.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21713
2010-06-08 20:18:15 +00:00
Gabor Juhos
f09e3fb65b ip17xx: Fix indentation in get_state() and update_state()
Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21712
2010-06-08 20:18:10 +00:00
Gabor Juhos
7b5a77fa39 ip17xx: Fixed error handling in ip175c_set_val()
Upon error, ip175c_set_val() returned 0 instead of -EINVAL.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21711
2010-06-08 20:18:05 +00:00
Gabor Juhos
b3073617a5 ip17xx: Cosmetic cleanups
Trying to unify capitalization and formatting of comments. Writing of periods
at the end of comments is however still inconsistent.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21710
2010-06-08 20:18:00 +00:00
Gabor Juhos
f96f1cd16f ip17xx: Consolidate operations with PHY registers
Call mdiobus_{read,write} instead of duplicating their code.

Introduce ip_phy_write_masked(), which changes a part of a register. Will
be used later in this patch series. Please note that it does not hold any
lock between reading and writing, so it is up to the caller to serialize.

Also add DUMP_MII_IO, which enables logging of all MII accesses.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21709
2010-06-08 20:17:55 +00:00
Gabor Juhos
c0c0a60718 swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGED
SWITCH_PORT_FLAG_TAGGED is a bit index, not a bit mask.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>

SVN-Revision: 21708
2010-06-08 20:17:03 +00:00
Alexandros C. Couloumbis
cfa9a1f6d6 brcm47xx: add kernel 2.6.35 preliminary support
SVN-Revision: 21707
2010-06-08 16:58:06 +00:00
Alexandros C. Couloumbis
ce6b70119c generic-2.6: fix mini_fo 2.6.35 kernel issue
SVN-Revision: 21706
2010-06-08 16:44:42 +00:00
Alexandros C. Couloumbis
7414d7d943 fix a typo on commit r21704
SVN-Revision: 21705
2010-06-08 16:19:34 +00:00
Alexandros C. Couloumbis
7e2b5d177b generic-2.6: generic: add missing config symbols for 2.6.35
SVN-Revision: 21704
2010-06-08 16:13:37 +00:00
Alexandros C. Couloumbis
d7dc747324 atheros: add kernel 2.6.35 preliminary support
SVN-Revision: 21703
2010-06-08 15:01:35 +00:00
Gabor Juhos
9f196d5223 generic: add missing config symbol for 2.6.34
SVN-Revision: 21699
2010-06-07 09:18:18 +00:00
Gabor Juhos
90e2b1ad6b ar71xx: fix 2.6.34 build errors
SVN-Revision: 21698
2010-06-07 09:18:13 +00:00
Gabor Juhos
84f6a9c5a1 ar71xx: add missing 2.6.34 config symbol
SVN-Revision: 21697
2010-06-07 09:17:34 +00:00
Alexandros C. Couloumbis
4503e77b0d generic-2.6: add kernel 2.6.35 preliminary support (patches)
SVN-Revision: 21696
2010-06-07 05:56:49 +00:00
Alexandros C. Couloumbis
1428b8f9bc refresh kernel patches
SVN-Revision: 21694
2010-06-06 21:16:31 +00:00
Florian Fainelli
0499ba96eb generate NA and non-NA images for Titan platforms
SVN-Revision: 21692
2010-06-06 19:17:01 +00:00
Florian Fainelli
2210c5274a add Titan MTD partitionning support (#6632)
SVN-Revision: 21691
2010-06-06 19:16:55 +00:00
Florian Fainelli
a289ee48ca titan board also have CYWL as a product id
SVN-Revision: 21690
2010-06-06 19:16:49 +00:00
Florian Fainelli
ac23dcfe11 do not override kmod-usb-storage-extras Kconfig symbols (#7285)
SVN-Revision: 21688
2010-06-06 19:02:30 +00:00
Gabor Juhos
e897618fe1 ar71xx: build firmware images if Minimal profile is selected
SVN-Revision: 21684
2010-06-06 17:41:39 +00:00
Gabor Juhos
f0ec6c9529 ar71xx: rename Minimal profile
SVN-Revision: 21683
2010-06-06 17:41:34 +00:00
Hauke Mehrtens
35031a5daf orion: Update Orion in trunk to kernel 2.6.34.
Was flashed on WRT350Nv2, booted and is running for several days.
Closes #7405

Thank you maddes for your patch.

SVN-Revision: 21682
2010-06-06 10:51:52 +00:00
Gabor Juhos
b730849966 generic: update mips multimachine patch
SVN-Revision: 21681
2010-06-05 18:26:45 +00:00
Gabor Juhos
ac8b72c8c9 adm5120: convert to use the new mips multimachine stuff
SVN-Revision: 21680
2010-06-05 18:26:40 +00:00
Felix Fietkau
b61dce0a9b ar71xx: clarify the nand subtarget a bit
SVN-Revision: 21679
2010-06-05 11:55:49 +00:00
Gabor Juhos
2dfcdb9465 generic: merge mips multi machine update to generic patches for 2.6.34
SVN-Revision: 21675
2010-06-04 19:09:52 +00:00
Gabor Juhos
35765bfcf8 generic: merge mips multi machine update to generic patches for 2.6.33
SVN-Revision: 21674
2010-06-04 19:09:49 +00:00
Gabor Juhos
383bd396fa generic: merge mips multi machine update to generic patches for 2.6.32
SVN-Revision: 21673
2010-06-04 19:09:46 +00:00
Gabor Juhos
5cca5172bc adm5120: don't use linux/autoconf.h
SVN-Revision: 21672
2010-06-04 19:09:43 +00:00
Gabor Juhos
f77ca8db76 adm5120: fix build error on 2.6.34
SVN-Revision: 21671
2010-06-04 19:09:39 +00:00
Claudio Mignanti
2f4339f7ea Force usb features, fix depends
SVN-Revision: 21664
2010-06-03 09:52:34 +00:00
Felix Fietkau
4586129989 orion: fix lan and wan mac address for wrt530n v2 (patch by maddes from #7113)
SVN-Revision: 21647
2010-06-01 14:41:37 +00:00
Alexandros C. Couloumbis
2b743a266f ar71xx: fix rootfs mount issue (closes #7319)
SVN-Revision: 21645
2010-06-01 08:49:57 +00:00
John Crispin
971b7ff50e Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.
Signed-off-by: Helmut Schaa

SVN-Revision: 21643
2010-05-31 11:57:32 +00:00
Daniel Dickinson
44062d09b4 brcm-2.4: preinit: Renamed failsafe echo scriplet to reflect that it is brcm-specific
SVN-Revision: 21637
2010-05-30 03:21:22 +00:00
Daniel Dickinson
49ead8b0ad brcm-2.4: preinit: Removed duplicate failsafe switch config file
SVN-Revision: 21636
2010-05-30 03:21:11 +00:00
Daniel Dickinson
ba2b75f710 ramips: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ramips.sh was sourced
SVN-Revision: 21635
2010-05-30 03:21:00 +00:00
Daniel Dickinson
6bccc41f6c ar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced
SVN-Revision: 21634
2010-05-30 03:20:49 +00:00
Daniel Dickinson
abb91e135f adm5120: Added preinit script to set vars based on cpuinfo during preinit main; This fixes a bug in which the per-board vars were not set due to cpuinfo not being mounted when the adm5120.sh was run
SVN-Revision: 21633
2010-05-30 03:20:38 +00:00
Daniel Dickinson
50a5ef1200 adm5120: Fixed name of preinit_iface scriptlet
SVN-Revision: 21632
2010-05-30 03:20:27 +00:00
Daniel Dickinson
f296eeab53 brcm63xx: Fixed 96348GW (Tecom Gx00) LED definitions to match reality (vs reference design)
SVN-Revision: 21631
2010-05-30 02:04:56 +00:00
Daniel Dickinson
6a267cfa76 brcm63xx: Tecom GW6x00 profile: Added hotplug button events and gpio-leds kmods
SVN-Revision: 21630
2010-05-30 01:44:37 +00:00
Daniel Dickinson
40c53c6556 brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21629
2010-05-30 01:33:20 +00:00
Daniel Dickinson
82edb6eafa brcm63xx: Added preinit reset button module loading for devices known to support it and for which /lib/brcm63xx.sh has the definitions (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21628
2010-05-30 01:33:09 +00:00
Daniel Dickinson
cc8fba8441 brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)
SVN-Revision: 21627
2010-05-30 01:32:58 +00:00
Daniel Dickinson
bd8cfa63f4 brcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21626
2010-05-30 01:32:47 +00:00
Hauke Mehrtens
6ef6b4e8b3 kernel: add missing config symbols.
Thank you Maddes for your patch

This closes #7375.

SVN-Revision: 21623
2010-05-29 14:32:58 +00:00
Hauke Mehrtens
d9461d438a kernel: add lzma support for arm cpu.
This patch appears to be lost beetween 2.6.32 and 2.6.33.

Thank you Maddes for the patch.

This helps making orion work with kernel 2.6.34.
closes  #7377.

SVN-Revision: 21622
2010-05-29 14:31:56 +00:00
Lars-Peter Clausen
c88f0ac390 udc: Fix recursive spinlocks
Driver had recursive spinlock locking: 1. jz4740_queue() acquires lock 2. done()
is called in chain:
jz4740_queue()->jz4740_ep0_kick()->jz4740_ep0_in()->write_fifo_ep0()->done() and
it tries to acquire same lock. 3. Deadlock.

Signed-off-by:
Yauhen Kharuzhy <jekhor@gmail.com>

SVN-Revision: 21619
2010-05-29 00:12:09 +00:00
Lars-Peter Clausen
e66107e12b ASoC: Fix and cleaup dma config
SVN-Revision: 21618
2010-05-29 00:09:51 +00:00
Lars-Peter Clausen
dd93818f19 core fixes * Mask timer irq on startup * Fix dma width constants * Do not try to ack intc irqs
SVN-Revision: 21617
2010-05-29 00:09:11 +00:00
Jo-Philipp Wich
70952dc944 Rename .trx2 image to openwrt-wrt54g3gv2-vf-squashfs-sysupgrade.bin and openwrt-wrt54g3gv2-vf-squashfs.bin to openwrt-wrt54g3gv2-vf-squashfs-factory.bin
SVN-Revision: 21616
2010-05-29 00:08:07 +00:00
Lars-Peter Clausen
ada563beac jzcodec: Enable support for S8 format
SVN-Revision: 21615
2010-05-29 00:06:59 +00:00
Lars-Peter Clausen
fecadfa91c fb: Fix pseudo palette for non 32bit color depth.
SVN-Revision: 21614
2010-05-29 00:06:19 +00:00
Lars-Peter Clausen
3107304b89 rtc: Put rtc Kconfig entry into the correct section
SVN-Revision: 21613
2010-05-29 00:05:13 +00:00
Felix Fietkau
816a9b30f6 x86: build fully functional images on Mac OS X, now that grub is fixed
SVN-Revision: 21609
2010-05-28 19:48:21 +00:00
Gabor Juhos
c24397b385 ramips: merge slab patch
SVN-Revision: 21607
2010-05-28 19:45:28 +00:00
Gabor Juhos
7ac21ada55 ramips: use COMMAND_LINE_SIZE directly
SVN-Revision: 21606
2010-05-28 19:45:24 +00:00
Gabor Juhos
178e4e9927 ramips: add missing 2.6.34 config files
SVN-Revision: 21605
2010-05-28 19:45:21 +00:00
Gabor Juhos
b86455a7ec ramips: refresh 2.6.34 patches
SVN-Revision: 21604
2010-05-28 19:45:16 +00:00
Gabor Juhos
fdf1561386 ramips: sync 2.6.32 config
SVN-Revision: 21603
2010-05-28 19:45:10 +00:00
Nicolas Thill
e74e289fa8 update linux kernel to 2.6.32.14
SVN-Revision: 21583
2010-05-27 18:09:09 +00:00
John Crispin
0ab7d18462 update to 2.6.34, signed of by russiane39, thx
SVN-Revision: 21573
2010-05-26 15:53:05 +00:00
Nicolas Thill
46e2eea1ef target/linux: refresh 2.6.32 patches
SVN-Revision: 21566
2010-05-24 20:35:46 +00:00
Hauke Mehrtens
4f1a51b7d9 kernel: add lzma support for arm cpu.
This patch appears to be lost beetween 2.6.32 and 2.6.33.

Thank you Maddes for the patch.

This helps making orion work with kernel 2.6.33.

SVN-Revision: 21552
2010-05-23 17:44:32 +00:00
Hauke Mehrtens
08821d137a orion: fix build
This patch does not apply any more because of changes in target/linux/generic-2.6/patches-2.6.32/089-mtd-samsung-flash.patch
TODO: find out if this patch is still needed.

Fixes build problem decsripted in #7348.

SVN-Revision: 21551
2010-05-23 17:02:43 +00:00
Hauke Mehrtens
7800ac4e58 brcm47xx: refresh patches
SVN-Revision: 21543
2010-05-23 13:17:56 +00:00
Hauke Mehrtens
3e4f6af8a5 generic-2.6: refresh patches
SVN-Revision: 21542
2010-05-23 13:17:32 +00:00
Hauke Mehrtens
b18a1d217b kernel: update kernel to version 2.6.32.13 and 2.6.33.4
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Florian Fainelli
f3bce8f0db include swconfig in ar525w profile
SVN-Revision: 21532
2010-05-21 21:25:51 +00:00
Florian Fainelli
b899e0a6c0 load all r6040 modules dependencies in preinit hook
SVN-Revision: 21531
2010-05-21 21:25:45 +00:00
Florian Fainelli
58405b0509 add r6040 phylib support which allows to use the ip175c switch driver on ar525w
SVN-Revision: 21521
2010-05-21 09:53:59 +00:00
Nicolas Thill
359f611957 target/generic-2.6: add missing bits for 2.6.30 ssb update
SVN-Revision: 21507
2010-05-19 17:07:40 +00:00
John Crispin
6b3bfbf943 adds proper kconfig to select the new mach types
SVN-Revision: 21500
2010-05-18 10:21:05 +00:00
John Crispin
91853a0721 oops, missing fix from [21485]
SVN-Revision: 21499
2010-05-18 09:14:01 +00:00
Lars-Peter Clausen
ba30e23bbc Add checksum for 2.6.34, refresh 2.6.34 patches and update targets from 2.6.34-rcX to 2.6.34
SVN-Revision: 21498
2010-05-17 22:05:07 +00:00
John Crispin
c8f606c760 * adds support for speedport w502V
* bump kernel to 2.6.33.4
 * make ethernet be configurable as MII/RMII
 * on xway we now assign a static amount of cp1 ram (still need to find a
sane value)
 * remove bogus board.c
 * jiffies were running with a (1 << 2) multiplier

SVN-Revision: 21485
2010-05-17 10:06:46 +00:00
Florian Fainelli
bef594108f add missing ifxmips crypto config symbols, spotted by buildbot
SVN-Revision: 21483
2010-05-17 09:28:44 +00:00
Florian Fainelli
4506985415 set vendor to RDC even if CPU id is not known
SVN-Revision: 21475
2010-05-16 13:40:26 +00:00
Florian Fainelli
e6fcc255a3 squash platform_support.patch into rdc_boards.patch
SVN-Revision: 21474
2010-05-16 13:40:20 +00:00
Florian Fainelli
d0ba4453a3 fix link checking with switches, only port1 of switches would report link up
SVN-Revision: 21471
2010-05-16 12:36:26 +00:00
Florian Fainelli
127f454ba0 switch to 2.6.32.12
SVN-Revision: 21467
2010-05-16 11:00:51 +00:00
Jo-Philipp Wich
f155da0922 fix a kernel bug where IPv6 packets are received on IPv4 sockets, this fixes dual stack software like OLSRd when running on Kernel 2.4 Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>
SVN-Revision: 21461
2010-05-15 22:36:56 +00:00
Florian Fainelli
52f1e9e50f fix wrong hunk introduced by r21309, thanks rtz2
SVN-Revision: 21460
2010-05-15 21:27:02 +00:00
Florian Fainelli
928da83f5b fix panic on boot due to invalid IORESOURCE for MFD cells, fix gpio value setting
SVN-Revision: 21459
2010-05-15 21:26:56 +00:00
Florian Fainelli
fa8c4aa164 fix 2.6.30 lzma tuning patch to output file size at end of kernel, otherwise decompressor remains stuck
SVN-Revision: 21458
2010-05-15 19:15:10 +00:00
Florian Fainelli
bdf2a03107 use correct port type, which sets the correct receive fifo trigger options (#7095)
SVN-Revision: 21457
2010-05-15 19:15:03 +00:00
Florian Fainelli
72e6e69855 do not export find_task_by_vpid twice on 2.6.30
SVN-Revision: 21456
2010-05-15 19:14:50 +00:00
Hauke Mehrtens
cfec944f42 ssb: activate CONFIG_SSB_BLOCKIO in the kernel and not in compat-wireless.
Before this patch CONFIG_SSB_BLOCKIO was set to y in compat-wireless
but the in kernel ssb system had it set to n, this causes an invalid pointer.
b43 now needs CONFIG_SSB_BLOCKIO=y

SVN-Revision: 21449
2010-05-15 11:04:53 +00:00
Gabor Juhos
65dba323f7 ar71xx: Make wget2nand fail if copying the kernel fails and use the correct file extension for the rootfs image
wget2nand didnt check the exit status after copying the kernel, if the
copying failed for some reason ( for example not enougs space on the
kernel partition) it simply continued extracting the rootfs.
I also changed the filename, which wget2nand trys to download (
.tar.gz instead of .tgz ).

Signed-off-by: Marko Foerster <mrkfoerster@googlemail.com>

SVN-Revision: 21444
2010-05-14 08:38:39 +00:00
Gabor Juhos
115f845e53 ar71xx: fix nbg460n mtd partitions
This fixes the NBG460N/550N/550NH mtd partitions.

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

SVN-Revision: 21443
2010-05-14 08:37:58 +00:00
Lars-Peter Clausen
946c8fa59a Add 2.6.34 patches
SVN-Revision: 21438
2010-05-12 23:12:41 +00:00
Lars-Peter Clausen
37a8f3522f Move CONFIG_LZMA_{DE,}COMPRESS to generic config
It is selected by CONFIG_JFFS2_LZMA which is set in the generic config.

SVN-Revision: 21437
2010-05-12 23:04:18 +00:00
Lars-Peter Clausen
48ec7efd65 gpio_buttons: include slab.h
Fixes build with 2.6.34

SVN-Revision: 21436
2010-05-12 22:50:26 +00:00
Nicolas Thill
8d0aa4e176 target/uml: add missing CONFIG_MATOM config symbol
SVN-Revision: 21434
2010-05-12 21:34:48 +00:00
Hauke Mehrtens
c96049615c brcm47xx: use tab instead of space
SVN-Revision: 21430
2010-05-12 20:28:39 +00:00
Hauke Mehrtens
51f6c2ccf4 kernel: add missing symbol
SVN-Revision: 21429
2010-05-12 20:15:51 +00:00
Lars-Peter Clausen
35a7db1e92 Add missing symbols to generic 2.6.34 config
SVN-Revision: 21428
2010-05-12 19:39:04 +00:00
Hauke Mehrtens
bb8d84ce4e brcm47xx: ehci-ssb: some updates: * update pointers in struct hc_driver * make ssb_ehci_detach more look like the pci version * remove resume and suspend as they are never activated and not compiling * replace ssb_ehci_start with ehci_run as it only calls this method
SVN-Revision: 21427
2010-05-12 18:28:41 +00:00
Daniel Dickinson
3b7e21a679 brcm-2.4: Fixed preinit and failsafe switch configuration
SVN-Revision: 21417
2010-05-10 17:10:47 +00:00
Mirko Vogt
0910a01ef6 sound-soc-qi_lb60: rename package as underscores are not allowed by opkg
SVN-Revision: 21412
2010-05-09 22:24:13 +00:00
Florian Fainelli
4eecca22d4 refresh 2.6.32 patches
SVN-Revision: 21411
2010-05-09 18:13:49 +00:00
Florian Fainelli
d3486f7942 refresh kernel patches
SVN-Revision: 21410
2010-05-09 18:13:43 +00:00
Florian Fainelli
655b43acc4 rework 130-clocks_devices_init.patch to make it more robust
SVN-Revision: 21409
2010-05-09 18:13:37 +00:00
Florian Fainelli
d3092630a8 make etrax samsung flash patch generic (#6552)
SVN-Revision: 21408
2010-05-09 09:25:41 +00:00
Felix Fietkau
3aa09d05fd ar71xx: remove madwifi from the default profile
SVN-Revision: 21406
2010-05-08 20:06:50 +00:00
Felix Fietkau
f4c9a4e042 ar71xx: use the lzma kernel and a proper size limit for pb92
SVN-Revision: 21405
2010-05-08 20:06:44 +00:00
Florian Fainelli
61c07602d5 prevent race between clocks and devices registration (#6532)
SVN-Revision: 21404
2010-05-08 16:58:08 +00:00
Nicolas Thill
2c82cf966c image/x86: fix typo when building on Mac OS X (closes: #7303)
SVN-Revision: 21401
2010-05-08 12:46:25 +00:00
Alexandros C. Couloumbis
f829632acc adm5120: include r21398 actual changes
SVN-Revision: 21399
2010-05-08 08:19:56 +00:00
Alexandros C. Couloumbis
093fd3da26 adm5120: update files-2.6.33 and files-2.6.34
SVN-Revision: 21398
2010-05-08 08:15:40 +00:00
Felix Fietkau
51f7953734 ar71xx: remove some bogus kernel config overrides
SVN-Revision: 21397
2010-05-07 16:20:37 +00:00
Felix Fietkau
2598c32f06 ar71xx: add a new subtarget for nand based devices - saves around 44k on the lzma compressed generic kernel image
SVN-Revision: 21396
2010-05-07 16:20:32 +00:00
Felix Fietkau
0f7864456a brcm47xx: adjust the brcm4710 cache workaround code so that it does not break bcm4716 (patch by Bernhard Loos)
SVN-Revision: 21395
2010-05-07 11:48:15 +00:00
Florian Fainelli
0b84caa60a backport r21373 to 2.4 kernel
SVN-Revision: 21374
2010-05-05 09:08:02 +00:00
Florian Fainelli
4510d8838b fix build error on hifnHIPP spotted by buildbot
SVN-Revision: 21373
2010-05-05 09:03:59 +00:00
Florian Fainelli
a2d45593b7 fix bad lzma tuning options bad hunks
SVN-Revision: 21372
2010-05-05 09:03:55 +00:00
Nicolas Thill
d0773b2356 target/x86: cleanup image config options
SVN-Revision: 21365
2010-05-05 02:11:15 +00:00
Nicolas Thill
482ee200cb target/x86: use common config items for options shared between generic and olpc targets
SVN-Revision: 21364
2010-05-05 02:07:38 +00:00
Nicolas Thill
898a6bc93d target/rb532: use -combined suffix for kernel+rootfs images
SVN-Revision: 21363
2010-05-05 01:59:43 +00:00
Nicolas Thill
5403c59f57 images: rename CONFIG_TARGET_ROOTFS_FSPART to CONFIG_TARGET_ROOTFS_PARTSIZE
SVN-Revision: 21362
2010-05-05 01:52:54 +00:00
Jo-Philipp Wich
0ff83e90ba add OCF 20100325 support to brcm-2.4
SVN-Revision: 21357
2010-05-04 21:00:14 +00:00
Jo-Philipp Wich
32e7340bf2 update OCF framework to version 20100325
SVN-Revision: 21356
2010-05-04 20:59:19 +00:00
Florian Fainelli
f89ff525ee revert r21085, fixes #7282
SVN-Revision: 21352
2010-05-04 08:07:39 +00:00
Florian Fainelli
724e84146d let 802.1q support be built-in (#7280)
SVN-Revision: 21349
2010-05-04 07:39:00 +00:00
Jo-Philipp Wich
d7048c2300 remove a bogus byteswap in the hifn_795x driver, should fix support for the VPN1411 crypto accelerator
SVN-Revision: 21344
2010-05-03 20:24:49 +00:00
Florian Fainelli
31548bfe2b use AMD standard command-set with winbond flash chips (#6966), patch from obinou
SVN-Revision: 21333
2010-05-03 09:03:14 +00:00
Nicolas Thill
6d277230cf target/uml: fix host processor type selection on x86_64 (proper fix for [13166])
SVN-Revision: 21318
2010-05-02 21:03:16 +00:00
Florian Fainelli
262640cb9e add lzma tuning options, patch from Bernhard Loos
SVN-Revision: 21311
2010-05-02 19:31:05 +00:00
Florian Fainelli
5dc1ce4ccb fix upgrade detection logic, patch from Bernhard Loos
SVN-Revision: 21310
2010-05-02 19:30:59 +00:00
Florian Fainelli
5423050c98 fix sitecom firmware partition size, patch from Bernhard Loos
SVN-Revision: 21309
2010-05-02 19:30:52 +00:00
Florian Fainelli
6e30a4b087 include second ethernet interface in bridge after r20022
SVN-Revision: 21307
2010-05-02 19:30:36 +00:00
Florian Fainelli
1017215649 do not write to per-port over-current register, which is bogus (#6898)
SVN-Revision: 21306
2010-05-02 19:14:10 +00:00
Nicolas Thill
3bca4b2094 package/grub: build a host grub and a target grub (#7269) - use the host grub binary for grub install, but with target stage files - disable SSP (-fno-stack-protector) & Compile Time Buffer Checks (-U_FORTIFY_SOURCE) if appropriate - create a target grub package
SVN-Revision: 21305
2010-05-02 17:32:25 +00:00
Nicolas Thill
a09235eca6 target/uml: bump to 2.6.32.12
SVN-Revision: 21301
2010-05-02 16:33:34 +00:00
Nicolas Thill
a1ae374e1d target/uml: fix memcpy export on x86_64 with gcc < 4.3 (closes: #6918)
SVN-Revision: 21293
2010-05-02 04:20:03 +00:00
Nicolas Thill
489c2adad3 target/uml: rename patch 003 to match what we have in 2.6.30
SVN-Revision: 21292
2010-05-02 04:14:57 +00:00
Nicolas Thill
2e66d9c013 target/uml: refresh 2.6.30 patches
SVN-Revision: 21291
2010-05-02 02:40:21 +00:00
Nicolas Thill
734e6e5fd3 target/uml: add patches for 2.6.32
SVN-Revision: 21290
2010-05-02 00:59:04 +00:00
Nicolas Thill
a64f53f482 target/x86: add to changes missed from [21246] preventing .vdi & .vmdk image generation
SVN-Revision: 21277
2010-04-30 18:43:39 +00:00
Felix Fietkau
3ea657a3e9 kernel: bring ssb in sync with upstream (as of current wireless-testing)
SVN-Revision: 21269
2010-04-30 15:53:08 +00:00
Florian Fainelli
845f57debb add upstream patch to fix linking failures on '__rela_iplt_end'
SVN-Revision: 21267
2010-04-30 12:20:24 +00:00
Alexandros C. Couloumbis
09a1db3eea brcm47xx: update config-2.6.33 options
SVN-Revision: 21266
2010-04-30 11:10:04 +00:00
Alexandros C. Couloumbis
6a40947c31 brcm47xx: refresh 2.6.33 kernel patches
SVN-Revision: 21265
2010-04-30 11:05:40 +00:00
Nicolas Thill
f8d36d96b8 target/brcm-2.4: add missing CONFIG_INPUT_* symbols
SVN-Revision: 21261
2010-04-29 16:01:28 +00:00
Mirko Vogt
9da99a7111 enable inotify support target xburst
SVN-Revision: 21260
2010-04-29 15:56:58 +00:00
Alexandros C. Couloumbis
03e1d68104 mpc83xx: sync image/Makefile to r20834
SVN-Revision: 21259
2010-04-29 13:48:47 +00:00
Alexandros C. Couloumbis
122208dcc3 mpc83xx: add some missing options on config-2.6.33
SVN-Revision: 21258
2010-04-29 13:40:24 +00:00
Alexandros C. Couloumbis
c7605d6305 mpc83xx: trim down unnecessary config-2.6.33 options
SVN-Revision: 21257
2010-04-29 13:25:13 +00:00
Alexandros C. Couloumbis
cb643920ac mpc83xx: upgrade to kernel 2.6.33.3, enable rb333 support, sync config options, refresh kernel patches
SVN-Revision: 21256
2010-04-29 13:12:44 +00:00
Raphaël Huck
f87eac79bb rename reset_buttons to buttons
SVN-Revision: 21255
2010-04-29 12:54:24 +00:00
Raphaël Huck
ccfe1f7886 add WPS button support for nb4 boards
SVN-Revision: 21254
2010-04-29 12:51:41 +00:00
Raphaël Huck
b29ef93886 fix gpio button key code, match button-hotplug code
SVN-Revision: 21253
2010-04-29 12:51:02 +00:00
Raphaël Huck
5af6e7724b fix gpio_button device register
SVN-Revision: 21252
2010-04-29 12:50:09 +00:00
Nicolas Thill
b233ad6626 move kmod-lp package defition specific to brcm-2.4 to package/kernel
SVN-Revision: 21247
2010-04-29 03:57:55 +00:00
Nicolas Thill
99d4eee466 target/x86: various image changes * add a -combined suffix for grub+kernel+rootfs images and -rootfs for root filesystem only images * change ext from .image to .img * fix perms on VirtualBox .vdi image * gzip ext2 rootfs image as well
SVN-Revision: 21246
2010-04-29 03:03:47 +00:00
Nicolas Thill
bd1fc43e6d target/x86: rearrange image Makefile, indent, reorder, simplify, change some ifeq/ifneq tests
SVN-Revision: 21245
2010-04-29 00:47:05 +00:00
Nicolas Thill
b6734d9753 target/x86: remove temporary files in image generation scripts
SVN-Revision: 21243
2010-04-29 00:41:22 +00:00
Nicolas Thill
224db523da replace old quote stripping with calls to qstrip macro
SVN-Revision: 21242
2010-04-29 00:32:44 +00:00
Florian Fainelli
24726a0cdc refresh 2.6.31 patches
SVN-Revision: 21240
2010-04-28 19:59:28 +00:00
Nicolas Thill
b3b591c000 buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
SVN-Revision: 21238
2010-04-28 14:47:43 +00:00
Alexandros C. Couloumbis
2765e3b7ff use kernel 2.6.32.12
SVN-Revision: 21236
2010-04-28 14:11:48 +00:00
Alexandros C. Couloumbis
a7ec79d712 add kernel 2.6.34 support, refresh patches
SVN-Revision: 21235
2010-04-28 14:09:43 +00:00
Florian Fainelli
d1ed288d6c refresh 2.6.32 patches
SVN-Revision: 21233
2010-04-28 13:55:15 +00:00
Florian Fainelli
14fd2f20f8 panic on unrecovered NMI, thanks rtz2
SVN-Revision: 21232
2010-04-28 13:55:11 +00:00
Raphaël Huck
73e450f44a fix the setup of MII clock in the case enet1 is linked to external switch for 6358 boards, thx Miguel
SVN-Revision: 21231
2010-04-28 12:30:32 +00:00
Florian Fainelli
08deea97dd include the watchdog driver by default
SVN-Revision: 21222
2010-04-28 09:57:20 +00:00
Florian Fainelli
449cd7872c resync 2.6.32 support with changes in 2.6.30
SVN-Revision: 21220
2010-04-28 09:54:20 +00:00
Florian Fainelli
3345a7c301 use upstream MFD, GPIO patch, put everything in patches.
SVN-Revision: 21219
2010-04-28 09:54:16 +00:00
Alexandros C. Couloumbis
4c78fa0492 refresh kernel patches
SVN-Revision: 21218
2010-04-28 09:28:13 +00:00
Alexandros C. Couloumbis
ee7569f3e5 refresh kernel patches
SVN-Revision: 21217
2010-04-28 09:26:19 +00:00
Felix Fietkau
f9f11f950d ar71xx: add a new default profile containing all drivers for all boards
SVN-Revision: 21209
2010-04-27 20:16:27 +00:00
Ralph Hempel
cba58c9d04 update Makefile
SVN-Revision: 21204
2010-04-27 15:53:04 +00:00
Ralph Hempel
3f559310bf update danube target
SVN-Revision: 21203
2010-04-27 15:48:49 +00:00
Ralph Hempel
3f0ee2f1ce fix atm compilation
SVN-Revision: 21202
2010-04-27 15:47:50 +00:00
Ralph Hempel
72ae285297 add external irq
SVN-Revision: 21201
2010-04-27 15:46:45 +00:00
Ralph Hempel
7287be04b0 add ar9 target
SVN-Revision: 21200
2010-04-27 15:45:43 +00:00
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
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
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