summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6
Commit message (Collapse)AuthorAgeFilesLines
* generic: rtl8366: add common vlan_mc structurejuhosg2010-06-263-24/+62
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: rename vlanmc and vlan4k related structures an functionsjuhosg2010-06-262-83/+80
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: use struct rtl8366_smi for phy_reg_{read,write} callsjuhosg2010-06-262-18/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: move mii bus handling to the rtl8366_smi codejuhosg2010-06-264-108/+75
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: introduce rtl8366_smi_opsjuhosg2010-06-264-22/+63
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: change format string for debugfs error messagesjuhosg2010-06-262-12/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21909 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: don't show link parameters if the link is downjuhosg2010-06-262-24/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: fix register offset and size of MIB countersjuhosg2010-06-262-26/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366: prevent modifications of VLAN 0juhosg2010-06-262-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] add missing CONFIG_PCMCIA_XIRCOM spotted by buildbotflorian2010-06-246-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21889 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [netfilter] package TPROXY target and module infrastructurejow2010-06-227-0/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] another #ifdef around pci_set_mwi callclaudio2010-06-201-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21854 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] pci_set_mwi depends upon CONFIG_HAVE_PCI_SET_MWIclaudio2010-06-201-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21849 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] reinstate netdev LED trigger dependency against CONFIG_NETflorian2010-06-144-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21804 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] Add the generic PWM api from Bill Gatliff (experimental). Ignore ↵claudio2010-06-149-0/+2042
| | | | | | the leds trigger part at the moment git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* backport the ssb dma device change to 2.6.30 as wellnbd2010-06-141-0/+29
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21798 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic-2.6] add b43 dma_dev fix to 2.6.32 and 2.6.33jow2010-06-132-0/+104
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21789 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] Extend the gpio device driver (#5671)claudio2010-06-132-52/+61
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21787 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] refresh 2.6.33 patchesflorian2010-06-1316-53/+53
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21784 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] refresh 2.6.32 patchesflorian2010-06-1320-70/+70
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: fix lock imbalance in unregister_switch()juhosg2010-06-131-0/+1
| | | | | | | Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: release switch in error path of swconfig_get_attrjuhosg2010-06-131-3/+2
| | | | | | | Signed-off-by: Karl Beldan <karl.beldan@sagemcom.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] rename 014-samsung_flash -> 014-samsung_flash.patchflorian2010-06-134-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] fix samsung flash patch after r21408, thanks to Matthias Buecher ↵florian2010-06-138-137/+297
| | | | | | (#7348) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21775 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add missing dma_dev member to struct ssb_device to make ↵florian2010-06-121-0/+59
| | | | | | b43/b43legacy compile with current mac80211 version git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] refresh 2.6.34 patchesflorian2010-06-1211-21/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21768 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
* generic: move more common options to generic configurationjuhosg2010-06-101-0/+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: move some common symbols to generic configurationjuhosg2010-06-102-0/+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-102-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21747 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: standardize CONFIG_INLINE_* symbols usagejuhosg2010-06-103-12/+40
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21746 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
* 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
* 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
* 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-0812-21/+21
| | | | | | | | | | | 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