1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-02 16:22:49 +02:00
Commit Graph

1138 Commits

Author SHA1 Message Date
juhosg
3360def59f 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:58 +00:00
juhosg
08171f79fc 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:55 +00:00
juhosg
b105730015 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:51 +00:00
juhosg
714e378fed 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:47 +00:00
juhosg
b2b1cad62e 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:42 +00:00
juhosg
27c4924de8 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:38 +00:00
juhosg
d46e7c8da5 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:34 +00:00
juhosg
29b4b3c009 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:30 +00:00
juhosg
f59df48228 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:25 +00:00
juhosg
398de7c230 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:20 +00:00
juhosg
0b041db319 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:15 +00:00
juhosg
148966bc19 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:10 +00:00
juhosg
9e494614a1 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:05 +00:00
juhosg
6c0e4e5864 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:18:00 +00:00
juhosg
2624270e11 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:17:55 +00:00
juhosg
2edc592f33 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 20:17:03 +00:00
acoul
244f3497a8 generic-2.6: fix mini_fo 2.6.35 kernel issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:44:42 +00:00
acoul
0805dd9268 fix a typo on commit r21704
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:19:34 +00:00
acoul
cac0371c96 generic-2.6: generic: add missing config symbols for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-08 16:13:37 +00:00
juhosg
2bc4946ac7 generic: add missing config symbol for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 09:18:18 +00:00
acoul
072012a0cb generic-2.6: add kernel 2.6.35 preliminary support (patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-07 05:56:49 +00:00
acoul
5a755c376b refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 21:16:31 +00:00
florian
5de20bc7df [kernel] do not override kmod-usb-storage-extras Kconfig symbols (#7285)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:02:30 +00:00
juhosg
6d3056927c generic: update mips multimachine patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 18:26:45 +00:00
juhosg
0119024a6b generic: merge mips multi machine update to generic patches for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:52 +00:00
juhosg
dd08767acf generic: merge mips multi machine update to generic patches for 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:49 +00:00
juhosg
22b785a14d generic: merge mips multi machine update to generic patches for 2.6.32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:46 +00:00
hauke
e11bf3d9ab kernel: add missing config symbols.
Thank you Maddes for your patch

This closes #7375.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 14:32:58 +00:00
hauke
f032f3d022 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-29 14:31:56 +00:00
nico
a56cab61d1 target/linux: refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 20:35:46 +00:00
hauke
b2f27cf294 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 17:44:32 +00:00
hauke
f7999a72e6 generic-2.6: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-23 13:17:32 +00:00
nico
7c18581ea6 target/generic-2.6: add missing bits for 2.6.30 ssb update
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-19 17:07:40 +00:00
lars
8db5903195 [kernel] Add checksum for 2.6.34, refresh 2.6.34 patches and update targets from 2.6.34-rcX to 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 22:05:07 +00:00
florian
47f865222f [kernel] add missing ifxmips crypto config symbols, spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 09:28:44 +00:00
florian
26053e6b6f [kernel] do not export find_task_by_vpid twice on 2.6.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 19:14:50 +00:00
hauke
c1a68ed433 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-15 11:04:53 +00:00
lars
8f059e046a [kernel] Move CONFIG_LZMA_{DE,}COMPRESS to generic config
It is selected by CONFIG_JFFS2_LZMA which is set in the generic config.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 23:04:18 +00:00
lars
d42e98eb85 [kernel] gpio_buttons: include slab.h
Fixes build with 2.6.34



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 22:50:26 +00:00
hauke
1c1b0687a0 kernel: add missing symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 20:15:51 +00:00
lars
f70d78735a [kernel] Add missing symbols to generic 2.6.34 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 19:39:04 +00:00
florian
4f0fa75e8a [kernel] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-09 18:13:49 +00:00
florian
4c9a6cc19c [kernel] make etrax samsung flash patch generic (#6552)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-09 09:25:41 +00:00
florian
fbbc3f53f4 [kernel] fix build error on hifnHIPP spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21373 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 09:03:59 +00:00
jow
40b344028b [generic-2.6] update OCF framework to version 20100325
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-04 20:59:19 +00:00
jow
d5b4cc1b5c [generic-2.6] remove a bogus byteswap in the hifn_795x driver, should fix support for the VPN1411 crypto accelerator
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 20:24:49 +00:00
florian
865fd07795 [kernel] use AMD standard command-set with winbond flash chips (#6966), patch from obinou
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 09:03:14 +00:00
nbd
40ccc298ba kernel: bring ssb in sync with upstream (as of current wireless-testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-30 15:53:08 +00:00
florian
0dc7fb2669 [kernel] refresh 2.6.31 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 19:59:28 +00:00
florian
505801ef44 [kernel] refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 13:55:15 +00:00
acoul
ef1937b12e [generic-2.6] refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 09:26:19 +00:00
juhosg
892d978a39 kernel: refresh patches for 2.6.34-rc5 and update md5sum
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 07:13:21 +00:00
juhosg
6983aacd37 kernel: refresh patches for 2.6.33.2, and drop md5sum for older 2.6.32 kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-22 07:12:09 +00:00
juhosg
cccec9f4b4 kernel: add KEY_WPS_BUTTON definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 19:07:11 +00:00
hauke
af3243b5d5 kernel: refresh patches with 2.6.34-rc4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-18 18:35:47 +00:00
hauke
cb5f2669a1 kernel: add missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-18 18:03:49 +00:00
hauke
974ebff4db kernel: fix build with kernel 2.6.34-rc4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-18 17:14:49 +00:00
hauke
555e36b8bc kernel: add missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-18 17:12:20 +00:00
juhosg
fa8d98132f kernel: refresh 2.6.32 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-17 09:29:29 +00:00
juhosg
56f15bb5f9 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 19:32:40 +00:00
acoul
6097fc85f4 2.6.34: fix kzalloc error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-15 16:46:24 +00:00
acoul
fa4b0fde69 add lzma/jffs2 patches for 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 21:45:03 +00:00
acoul
6376010841 don't use lzma/jffs2 on <2.6.33, set lzma/jffs2 as default for >=2.6.33. switch verbose mode on compresor statistics.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-13 21:36:58 +00:00
nico
bca3f225e9 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 23:15:56 +00:00
acoul
7a35563612 add jffs2/lzma support (not activated by default yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 13:14:42 +00:00
lars
08c30bcfff [kernel] Add missing symbols to 2.6.34 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 22:30:27 +00:00
florian
b02fa11a17 [kernel] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 20:51:37 +00:00
florian
6740bf6a0f [kernel] refresh 2.6.33 patches for 2.6.33.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-11 18:15:15 +00:00
blogic
656f01b9c9 [ifxmips] adss 2.6.33 kernel patches, not defult yet as linux-atm breaks on 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 20:11:28 +00:00
juhosg
3c6e0e0859 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 11:34:11 +00:00
florian
37ed3994c5 [kernel] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 19:26:57 +00:00
juhosg
9823d2fc7e generic: make chip detection more reliable in the AR8216 driver
Fixes broken ethernet on the Planex MZK-W04NU/W300NH boards.

Cc: bacfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-09 08:40:12 +00:00
florian
5ba5604222 [kernel] fix kexec for mips, patch from Adrian Byszuk (#7115)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-08 07:53:14 +00:00
jow
58618dfb3d [PATCH 1/2] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-05 23:03:16 +00:00
kaloz
23f27ea50b [x86]: add a subtarget and drivers for the Intel Tolapai SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 12:05:27 +00:00
nbd
244c45bd27 netfilter: fix ABI breakage caused by the netfilter match optimization (fixes #5628)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 19:05:59 +00:00
nbd
bc3d4f5dfd enable IP175A support in the IP175C PHY driver (based on patch from jh in #6733)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 18:57:42 +00:00
juhosg
b4fcbf1114 kernel: update to 2.6.32.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:45:25 +00:00
florian
b759850150 [kernel] add missing CONFIG_CB1400_CORE symbol, spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 15:27:08 +00:00
acoul
bc06f31e4a generic-2.6: fix r20386 (thanks nico), update missing symbols on config-2.6.32 too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 15:02:29 +00:00
acoul
86e3738d75 generic-2.6: config-2.6.33 add missing symbols, closes #6913 (thanks maddes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-23 12:42:17 +00:00
hauke
c863d2afc3 kernel: Add some missing config symbols
This adds some missing config symbols and opens the menu
behind CONFIG_SND_PCI and CONFIG_ISDN.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 13:57:07 +00:00
acoul
a1ce9f6f9b generic-2.6: sync patches to 2.6.34-rc2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-21 06:53:08 +00:00
juhosg
56f1be7e5c base-files: show boot state on intramfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 19:19:21 +00:00
florian
d8be9cda89 [kernel] add missing configuration symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-17 20:21:49 +00:00
acoul
27b61d4598 generic-2.6: sync patches to 2.6.33.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-16 08:15:47 +00:00
florian
e8f6f13bcf [kernel] also fix invalid hunks in 2.6.33 patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 17:21:47 +00:00
florian
30932c53d3 [uml] add 2.6.34 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 17:20:45 +00:00
florian
6b4ad6d718 [kernel] fix invalid hunks in 060-block2mtd_init.patch file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 17:20:40 +00:00
florian
cbc1514dc5 [kernel] export rescan_partitions to prevent linking failures in block2mtd (#6741)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 16:21:33 +00:00
juhosg
55e65f5a88 kernel: refresh lzo patch for 2.6.33
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 13:22:46 +00:00
florian
cc7e88fe96 [kernel] fix the building of the lzo decompressor on some architectures
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 14:24:12 +00:00
nico
edf26e5c98 remove CONFIG_PCI=y missed from [20136] in generic 2.6.30 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 11:50:45 +00:00
nbd
69bd889a9c mips: allow the compiler to optimize memset, memcmp, memcpy for better performance and (in some instances) smaller code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:49:01 +00:00
nbd
6a4d281583 ar71xx: fix oprofile support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:57 +00:00
nbd
2c8b7a1910 the mips -ffreestanding patch has been unnecessary for a long time now, remove it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 18:48:50 +00:00
acoul
90a9fdc494 generic-2.6: add 2.6.34 preliminary support (patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 12:24:17 +00:00
acoul
87bae8124d generic-2.6: add 2.6.34 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 11:55:34 +00:00
nico
8fe94a14fe do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-11 09:50:11 +00:00
nbd
02c404ea21 ar8216: fix the mtu register definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 21:43:16 +00:00