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