summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files
Commit message (Collapse)AuthorAgeFilesLines
* gpio_buttons: include slab.hLars-Peter Clausen2010-05-121-0/+1
| | | | | | Fixes build with 2.6.34 SVN-Revision: 21436
* fix build error on hifnHIPP spotted by buildbotFlorian Fainelli2010-05-051-0/+1
| | | | SVN-Revision: 21373
* update OCF framework to version 20100325Jo-Philipp Wich2010-05-04164-3645/+65040
| | | | SVN-Revision: 21356
* kernel: fix build with kernel 2.6.34-rc4Hauke Mehrtens2010-04-181-0/+1
| | | | SVN-Revision: 20992
* swconfig: Add cpu port index to help output.Gabor Juhos2010-04-162-0/+2
| | | | | | | | | | | | | 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> SVN-Revision: 20939
* swconfig: Check vlan/port indexes for validity.Florian Fainelli2010-04-111-0/+4
| | | | | | | | | | | | 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> SVN-Revision: 20811
* Generic: Clean up output of AR8216 driver.Gabor Juhos2010-04-101-6/+8
| | | | | | | | | | | | | | | | 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 SVN-Revision: 20773
* generic: make chip detection more reliable in the AR8216 driverGabor Juhos2010-04-091-2/+22
| | | | | | | | Fixes broken ethernet on the Planex MZK-W04NU/W300NH boards. Cc: bacfire@openwrt.org SVN-Revision: 20753
* Add support for the ar8316 switch. This patch enhances the ar8216 driver ↵Jo-Philipp Wich2010-04-052-38/+215
| | | | | | | | | | 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. SVN-Revision: 20722
* enable IP175A support in the IP175C PHY driver (based on patch from jh in #6733)Felix Fietkau2010-03-281-20/+46
| | | | SVN-Revision: 20551
* ar8216: fix the mtu register definitionFelix Fietkau2010-03-091-1/+1
| | | | SVN-Revision: 20110
* Several small fixes for ar8216 driver (patch by Jonas Gorski)Felix Fietkau2010-03-092-12/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Create defines for some magic values/masks. * Change vlan_id to u16, to allow VIDs > 255. * Add a range check to set_pvid as it isn't a VID, but the index in the vlan table. * Set the max VID to 4094, since 4095 is a reserved value and should not be used. * In mangle_rx replace the provided VID with the VID of the table entry of the port, not the index of the table. * In hw_apply, remove a redundant emptyness check (was already checked several lines above). * In no vlan mode do not set the ingress mode to secure, as there are no vlan table entries, but to use the port's destination masks. Otherwise the switch won't forward anything. * In read_status tell that the phy is up (taken from the rtl8306 driver). SVN-Revision: 20083
* kernel: add driver for the RTL8366RB switchGabor Juhos2010-02-242-0/+1773
| | | | | | Thanks to Andrew Tarabaras. SVN-Revision: 19837
* kernel: fix typos in the AR8216 header fileGabor Juhos2010-02-241-7/+7
| | | | SVN-Revision: 19834
* rtl8366_smi: sanitize gpio values to a 0/1 booleanGabor Juhos2010-01-301-5/+2
| | | | SVN-Revision: 19402
* rtl8366s: reset the chip early, this allows ethernet to work as soon as possibleGabor Juhos2010-01-271-20/+34
| | | | SVN-Revision: 19355
* rtl8366: make it available on all platformsGabor Juhos2010-01-254-0/+2069
| | | | SVN-Revision: 19329
* kernel: change debounce logic in the gpio-buttons driverGabor Juhos2010-01-132-21/+25
| | | | | | * thanks to Nuno Gonçalves SVN-Revision: 19115
* deduplicate kernel source files from 2.6.30-2.6.32 by moving them to generic ↵Felix Fietkau2009-12-258-0/+1334
| | | | | | files/ SVN-Revision: 18927
* rtl8306: manage the wan port as a separate phy device with proper link ↵Felix Fietkau2009-12-091-27/+89
| | | | | | status reading and autonegotiation - the genphy driver does not handle it properly SVN-Revision: 18709
* ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the ↵Felix Fietkau2009-12-081-0/+3
| | | | | | wrt160nl, fixes wan port detection (#6309) SVN-Revision: 18699
* fix link status detection in various switch driversFelix Fietkau2009-12-084-4/+4
| | | | SVN-Revision: 18698
* move the updated version (for 2.6.30+) of ar8216/mvswitch to the generic ↵Felix Fietkau2009-09-162-19/+27
| | | | | | files directory and remove patches for older kernel versions (no longer in use) SVN-Revision: 17594
* add a driver for rtl8306 switchesFelix Fietkau2009-08-141-0/+993
| | | | SVN-Revision: 17248
* ar8216: rename the vlan attribute to enable_vlan to keep it consistent with ↵Felix Fietkau2009-07-111-1/+1
| | | | | | other drivers SVN-Revision: 16770
* ar8216: fix transmission of large frames by setting the switch mtuFelix Fietkau2009-06-292-0/+7
| | | | SVN-Revision: 16629
* ar8216: add delay for page switching to work around register setting ↵Felix Fietkau2009-06-142-5/+123
| | | | | | corruption. use packet mangling to fix up the vlan for incoming packets (workaround for hardware bug, which renders normal 802.1q support unusable) SVN-Revision: 16442
* fix a crash in ip175c attribute enumerationFelix Fietkau2009-04-301-1/+0
| | | | SVN-Revision: 15506
* Add a driver for Atheros AR8216 switches Thanks to Vertical Communications, ↵Felix Fietkau2009-04-292-0/+675
| | | | | | Inc. for providing access to the documentation SVN-Revision: 15482
* swconfig: add a generic switch reset callFelix Fietkau2009-04-283-10/+21
| | | | SVN-Revision: 15470
* clean up the ip175c driver some more, add support for setting the pvid and ↵Felix Fietkau2009-04-201-105/+91
| | | | | | fix querying the phy status SVN-Revision: 15308
* swconfig: add a generic method for setting the port primary vlan id (used ↵Felix Fietkau2009-04-202-7/+42
| | | | | | for transparently fixing up pvid for untagged port when setting vlan ports) SVN-Revision: 15307
* add IC+ IP175C driver (based on Patrick Horn's driver, see #4050)Felix Fietkau2009-04-201-0/+1342
| | | | SVN-Revision: 15305
* swconfig: treat struct switch_attr as constantFelix Fietkau2009-04-202-13/+13
| | | | SVN-Revision: 15302
* swconfig: remove old debugging stuffFelix Fietkau2009-04-201-2/+0
| | | | SVN-Revision: 15301
* files/fs/yaffs2: revert changes in r15242 that break patching on 2.6.28Andy Boyett2009-04-189-0/+9
| | | | SVN-Revision: 15248
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-179-9/+0
| | | | SVN-Revision: 15242
* mvswitch: re-enable header modeFelix Fietkau2009-04-101-1/+1
| | | | SVN-Revision: 15186
* atheros: in later kernels, vlan 0 no longer works as expected, switch to ↵Felix Fietkau2009-03-221-3/+5
| | | | | | (1,2) instead of (0,1) for lan/wan SVN-Revision: 14981
* mvswitch,adm6996: use phy fixups instead of a nonstandard patch for hardware ↵Felix Fietkau2009-03-222-52/+40
| | | | | | detection SVN-Revision: 14977
* generic-2.6: make MyLoader parser compatible with the old partition tablesGabor Juhos2009-01-231-2/+2
| | | | SVN-Revision: 14155
* move linux/switch.h to generic files/ instead of the kernel version specific ↵Felix Fietkau2008-12-151-0/+168
| | | | | | directories SVN-Revision: 13649
* add NP25G and WP543 board idGabor Juhos2008-11-221-0/+4
| | | | SVN-Revision: 13316
* ocf: move all stuff into files, and fix build error on .25Gabor Juhos2008-11-1948-0/+25229
| | | | SVN-Revision: 13288
* move MyLoader partition parser into generic files, will be used on ar71xxGabor Juhos2008-11-171-0/+178
| | | | SVN-Revision: 13256
* move MyLoader stuff into generic files, will be used on adm5120Gabor Juhos2008-11-173-0/+184
| | | | SVN-Revision: 13254
* improve routing/nat performance for devices using the marvell 88e6060 switchFelix Fietkau2008-10-281-0/+1
| | | | SVN-Revision: 13060
* remove more redundant files and clone files-2.6.23 for 2.6.24 - fixes rdc ↵Felix Fietkau2008-10-2233-0/+14892
| | | | | | build errors SVN-Revision: 13022
* change the way ./files* and the generic kernel files are applied. ./files ↵Felix Fietkau2008-10-1863-22659/+872
| | | | | | now applies to *ALL* kernel versions, and is copied along with ./files-* - this gets rid of quite a bit of redundancy in the extra kernel drivers. SVN-Revision: 13010
* make gpio_dev compatible with GPIOLIB & GPIO_SYSFS (closes #4016)Gabor Juhos2008-10-051-3/+3
| | | | SVN-Revision: 12864