summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [package] base-files: enable IPv6 forwarding by default since the default ↵jow2010-06-122-2/+2
| | | | | | firewall supports ip6tables now git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21766 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add default network config for the RB433UAH boardjuhosg2010-06-121-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21765 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: nuke AR71XX_MACH_UBNT_AR71XX machtypejuhosg2010-06-122-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] uhttpd:jow2010-06-123-3/+14
| | | | | | | | - fix incorrect parsing of multiple listen options (#7458) - support PEM certificates for SSL git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: fix missing parenthesis on r21758acoul2010-06-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21759 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/kernel: fix dependency modulesacoul2010-06-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21758 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic-2.6/patches-2.6.35: fix ocf missing partsacoul2010-06-111-0/+88
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to 2010-06-10, add pending work with stability and ↵nbd2010-06-1027-10686/+1940
| | | | | | throughput fixes for ath9k git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21756 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rb532: fix a module dependency issueacoul2010-06-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rb532: add kernel 2.6.35 preliminary supportacoul2010-06-103-0/+268
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: update to iptables-1.4.8acoul2010-06-101-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: add kernel 2.6.35 preliminary supportacoul2010-06-1020-0/+1481
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: move more common options to generic configurationjuhosg2010-06-1014-85/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * CONFIG_ABX500_CORE * CONFIG_ATOMIC64_SELFTEST * CONFIG_BRIDGE_IGMP_SNOOPING * CONFIG_CAIF * CONFIG_CEPH_FS * CONFIG_CRYSTALHD * CONFIG_DEFAULT_SECURITY_SELINUX * CONFIG_DEFAULT_SECURITY_SMACK * CONFIG_DEFAULT_SECURITY_TOMOYO * CONFIG_DT3155 * CONFIG_IP_MROUTE_MULTIPLE_TABLES * CONFIG_L2TP * CONFIG_LOGFS * CONFIG_LPC_SCH * CONFIG_MFD_JANZ_CMODIO * CONFIG_MFD_RDC321X * CONFIG_N_GSM * CONFIG_RAMOOPS * CONFIG_SERIAL_ALTERA_JTAGUART * CONFIG_SERIAL_ALTERA_UART * CONFIG_SERIAL_TIMBERDALE * CONFIG_SM_FTL * CONFIG_SQUASHFS_XATTRS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21750 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: don't override CONFIG_DEBUG_FSjuhosg2010-06-1015-21/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: move some common symbols to generic configurationjuhosg2010-06-1016-17/+3
| | | | | | | | | * CONFIG_MUTEX_SPIN_ON_OWNER * CONFIG_DEFAULT_HYDLA * CONFIG_DEFAULT_VENO git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: remove trailing whitespaces from kernel configsjuhosg2010-06-103-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: standardize CONFIG_INLINE_* symbols usagejuhosg2010-06-1016-332/+40
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21746 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: sync kernel configsjuhosg2010-06-103-100/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove more config overridesjuhosg2010-06-102-14/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21744 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix phy_mask for the RB450juhosg2010-06-091-5/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21743 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't override CONFIG_BRIDGE_* optionsjuhosg2010-06-092-4/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21742 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: update xt_layer7 module fix for 2.6.35juhosg2010-06-091-4/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21741 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic-2.6: layer7: convert xt_match_param to xt_action_paramacoul2010-06-091-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: more missing symbols for 2.6.35juhosg2010-06-091-0/+23
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21739 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add missing layer7 patches for 2.6.35juhosg2010-06-092-0/+2240
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix nand_scan_ident parameters in the rb{4xx,750}_nand drivers for ↵juhosg2010-06-091-0/+22
| | | | | | 2.6.35 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix build error in the rb{4xx,750}_nand drivers on 2.6.34/35juhosg2010-06-092-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21736 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic-2.6: update patches-2.6.35/080-mtd_plat_nand_chip_fixup.patchacoul2010-06-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21735 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel 2.6.35 preliminary support acoul2010-06-0932-0/+1274
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21734 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic-2.6: add (some) missing config symbols for kernel 2.6.35acoul2010-06-091-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rename ip175c driver to ip17xx on 2.6.35 as welljuhosg2010-06-091-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add default network configuration file for the RB450/RB433 boardsjuhosg2010-06-082-0/+52
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21730 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable the IP17xx driver for the nand subtargetjuhosg2010-06-084-4/+1
| | | | | | | Also disable the old ICPlus driver. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21729 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix phy_mask on the RB433 for the IP17xx driverjuhosg2010-06-081-4/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21728 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ip17xx: fix autonegotioation issuesjuhosg2010-06-081-10/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add aneg_done and update_link functions for the phy_devicejuhosg2010-06-086-0/+270
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ip17xx: Update the copyright messagejuhosg2010-06-081-1/+2
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ip17xx: Rename the driver to ip17xx.cjuhosg2010-06-0816-25/+25
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ip17xx: The big renamejuhosg2010-06-081-174/+174
| | | | | | | | | | | | | | 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
* ip17xx: Keep all state locallyjuhosg2010-06-081-209/+3
| | | | | | | | | | | | | 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
* ip17xx: Add support for IP175Djuhosg2010-06-081-1/+169
| | | | | | | | | | | | | | | | | | 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
* ip17xx: Avoid auto-negotiationjuhosg2010-06-081-3/+5
| | | | | | | | | | | | | | | 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
* ip17xx: New chip detectionjuhosg2010-06-081-28/+30
| | | | | | | | | | | | | | 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
* ip17xx: Add VLAN tag fieldjuhosg2010-06-081-1/+44
| | | | | | | | | | | 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
* ip17xx: Maintain state->remove_tag incrementallyjuhosg2010-06-081-3/+4
| | | | | | | | | | | | | | 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
* ip17xx: Initialize VLAN state upon resetjuhosg2010-06-081-5/+15
| | | | | | | | | | | | | | | 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
* ip17xx: Introduce vlan arrayjuhosg2010-06-081-12/+14
| | | | | | | | | | 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
* ip17xx: Introduce indirection of low-level operationsjuhosg2010-06-081-49/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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