summaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* ip17xx: Fix use of MODE_VALjuhosg2010-06-081-1/+1
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ip17xx: Fix indentation in get_state() and update_state()juhosg2010-06-081-76/+76
| | | | | | | | Signed-off-by: Martin Mares <mj@ucw.cz> Signed-off-by: Patrick Horn <patrick.horn@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21712 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ip17xx: Fixed error handling in ip175c_set_val()juhosg2010-06-081-1/+1
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ip17xx: Cosmetic cleanupsjuhosg2010-06-081-50/+35
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ip17xx: Consolidate operations with PHY registersjuhosg2010-06-081-47/+40
| | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: Fix a bug in use of SWITCH_PORT_FLAG_TAGGEDjuhosg2010-06-081-1/+1
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add kernel 2.6.35 preliminary supportacoul2010-06-0827-0/+2748
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic-2.6: fix mini_fo 2.6.35 kernel issueacoul2010-06-081-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a typo on commit r21704acoul2010-06-081-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic-2.6: generic: add missing config symbols for 2.6.35acoul2010-06-081-1/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: add kernel 2.6.35 preliminary supportacoul2010-06-0814-0/+6657
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add missing config symbol for 2.6.34juhosg2010-06-071-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21699 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix 2.6.34 build errorsjuhosg2010-06-073-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing 2.6.34 config symboljuhosg2010-06-071-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21697 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic-2.6: add kernel 2.6.35 preliminary support (patches)acoul2010-06-07104-0/+38334
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* refresh kernel patchesacoul2010-06-0621-69/+69
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar7] generate NA and non-NA images for Titan platformsflorian2010-06-061-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar7] add Titan MTD partitionning support (#6632)florian2010-06-062-0/+289
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar7] titan board also have CYWL as a product idflorian2010-06-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] do not override kmod-usb-storage-extras Kconfig symbols (#7285)florian2010-06-065-50/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build firmware images if Minimal profile is selectedjuhosg2010-06-061-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename Minimal profilejuhosg2010-06-061-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* orion: Update Orion in trunk to kernel 2.6.34.hauke2010-06-0610-3/+96
| | | | | | | | | | Was flashed on WRT350Nv2, booted and is running for several days. Closes #7405 Thank you maddes for your patch. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: update mips multimachine patchjuhosg2010-06-053-42/+51
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: convert to use the new mips multimachine stuffjuhosg2010-06-0528-747/+55
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: clarify the nand subtarget a bitnbd2010-06-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: merge mips multi machine update to generic patches for 2.6.34juhosg2010-06-045-337/+342
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: merge mips multi machine update to generic patches for 2.6.33juhosg2010-06-044-337/+332
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21674 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: merge mips multi machine update to generic patches for 2.6.32juhosg2010-06-045-470/+331
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: don't use linux/autoconf.hjuhosg2010-06-0412-1286/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: fix build error on 2.6.34juhosg2010-06-041-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [etrax] Force usb features, fix depends claudio2010-06-032-3/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* orion: fix lan and wan mac address for wrt530n v2 (patch by maddes from #7113)nbd2010-06-011-0/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix rootfs mount issue (closes #7319)acoul2010-06-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix ramips build when CONFIG_RALINK_DEV_GPIO_BUTTONS is not set.blogic2010-05-311-1/+1
| | | | | | | | Signed-off-by: Helmut Schaa git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm-2.4: preinit: Renamed failsafe echo scriplet to reflect that it is ↵cshore2010-05-301-0/+0
| | | | | | brcm-specific git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm-2.4: preinit: Removed duplicate failsafe switch config filecshore2010-05-301-10/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Added preinit scriptlet to set vars based on cpuinfo during ↵cshore2010-05-301-0/+7
| | | | | | preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ramips.sh was sourced git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Added preinit scriptlet to set vars based on cpuinfo during ↵cshore2010-05-301-0/+7
| | | | | | preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: Added preinit script to set vars based on cpuinfo during preinit ↵cshore2010-05-301-0/+7
| | | | | | 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: Fixed name of preinit_iface scriptletcshore2010-05-301-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Fixed 96348GW (Tecom Gx00) LED definitions to match reality (vs ↵cshore2010-05-308-125/+160
| | | | | | reference design) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Tecom GW6x00 profile: Added hotplug button events and gpio-leds kmodscshore2010-05-301-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Fixed vlan packet leakage in preinit for known devices with a ↵cshore2010-05-304-0/+97
| | | | | | switch on eth1 (currently only 96348GW - Tecom 6x00) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Added preinit reset button module loading for devices known to ↵cshore2010-05-301-0/+16
| | | | | | support it and for which /lib/brcm63xx.sh has the definitions (currently only 96348GW - Tecom 6x00) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)cshore2010-05-301-0/+67
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom ↵cshore2010-05-302-0/+35
| | | | | | 6x00) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbols.hauke2010-05-292-1/+16
| | | | | | | | | Thank you Maddes for your patch This closes #7375. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add lzma support for arm cpu.hauke2010-05-291-0/+57
| | | | | | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21622 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [xburst] udc: Fix recursive spinlockslars2010-05-291-14/+13
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21619 3c298f89-4303-0410-b956-a3cf2f4a3e73