summaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/files/drivers
Commit message (Collapse)AuthorAgeFilesLines
* ar8216: fix the mtu register definitionnbd2010-03-091-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Several small fixes for ar8216 driver (patch by Jonas Gorski)nbd2010-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). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add driver for the RTL8366RB switchjuhosg2010-02-241-0/+1752
| | | | | | | Thanks to Andrew Tarabaras. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix typos in the AR8216 header filejuhosg2010-02-241-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8366_smi: sanitize gpio values to a 0/1 booleanjuhosg2010-01-301-5/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8366s: reset the chip early, this allows ethernet to work as soon as possiblejuhosg2010-01-271-20/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8366: make it available on all platformsjuhosg2010-01-253-0/+2048
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: change debounce logic in the gpio-buttons driverjuhosg2010-01-131-18/+24
| | | | | | | * thanks to Nuno Gonçalves git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* deduplicate kernel source files from 2.6.30-2.6.32 by moving them to generic ↵nbd2009-12-254-0/+1226
| | | | | | files/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8306: manage the wan port as a separate phy device with proper link ↵nbd2009-12-091-27/+89
| | | | | | status reading and autonegotiation - the genphy driver does not handle it properly git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the ↵nbd2009-12-081-0/+3
| | | | | | wrt160nl, fixes wan port detection (#6309) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18699 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix link status detection in various switch driversnbd2009-12-084-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move the updated version (for 2.6.30+) of ar8216/mvswitch to the generic ↵nbd2009-09-162-19/+27
| | | | | | files directory and remove patches for older kernel versions (no longer in use) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a driver for rtl8306 switchesnbd2009-08-141-0/+993
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: rename the vlan attribute to enable_vlan to keep it consistent with ↵nbd2009-07-111-1/+1
| | | | | | other drivers git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: fix transmission of large frames by setting the switch mtunbd2009-06-292-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: add delay for page switching to work around register setting ↵nbd2009-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) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16442 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix a crash in ip175c attribute enumerationnbd2009-04-301-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add a driver for Atheros AR8216 switchesnbd2009-04-292-0/+675
| | | | | | Thanks to Vertical Communications, Inc. for providing access to the documentation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15482 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: add a generic switch reset callnbd2009-04-282-10/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clean up the ip175c driver some more, add support for setting the pvid and ↵nbd2009-04-201-105/+91
| | | | | | fix querying the phy status git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: add a generic method for setting the port primary vlan id (used ↵nbd2009-04-201-7/+40
| | | | | | for transparently fixing up pvid for untagged port when setting vlan ports) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add IC+ IP175C driver (based on Patrick Horn's driver, see #4050)nbd2009-04-201-0/+1342
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: treat struct switch_attr as constantnbd2009-04-201-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15302 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: remove old debugging stuffnbd2009-04-201-2/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvswitch: re-enable header modenbd2009-04-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15186 3c298f89-4303-0410-b956-a3cf2f4a3e73
* atheros: in later kernels, vlan 0 no longer works as expected, switch to ↵nbd2009-03-221-3/+5
| | | | | | (1,2) instead of (0,1) for lan/wan git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvswitch,adm6996: use phy fixups instead of a nonstandard patch for hardware ↵nbd2009-03-222-52/+40
| | | | | | detection git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14977 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] generic-2.6: make MyLoader parser compatible with the old partition ↵juhosg2009-01-231-2/+2
| | | | | | tables git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14155 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [adm5120] move MyLoader partition parser into generic files, will be used on ↵juhosg2008-11-171-0/+178
| | | | | | ar71xx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* improve routing/nat performance for devices using the marvell 88e6060 switchnbd2008-10-281-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13060 3c298f89-4303-0410-b956-a3cf2f4a3e73
* change the way ./files* and the generic kernel files are applied. ./files ↵nbd2008-10-1821-6155/+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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] make gpio_dev compatible with GPIOLIB & GPIO_SYSFS (closes #4016)juhosg2008-10-051-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] modules/gpio_dev: move to drivers/char/ on older kernels as well, ↵juhosg2008-08-053-16/+0
| | | | | | and create a package for it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* makes ledtrignetdev work on .26 and fix whitespacesblogic2008-08-041-56/+70
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add missing defines for mvswitchnbd2008-07-211-1/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* some more mvswitch fixes:nbd2008-07-191-27/+54
| | | | | | | | - initialize the vlan destination map properly - workaround for moving node bug: clear the ATU database on every PHY poll git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add extra safety for the packet mangling in the mvswitch drivernbd2008-07-191-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11880 3c298f89-4303-0410-b956-a3cf2f4a3e73
* set marvell switch ATU ageing time to minimum instead of maximum - hopefully ↵nbd2008-06-092-1/+3
| | | | | | fixes some fonera 2.0 ethernet issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Remove bogus zero-length ohci-ssb.c in generic-2.6/filesnoz2008-05-181-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* enable a different pseudo-vlan mode in the marvell switch (uses a ↵nbd2008-04-292-23/+85
| | | | | | proprietary header instead of a proprietary trailer) - fixes some mtu issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* allow bigger packets in the marvell switch (does not fix the mtu problems yet)nbd2008-04-281-0/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix vlan mapping for cpu port on the marvell switchnbd2008-04-241-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* clear VLANTunnel bit on the marvell switch ports - should help with some ↵nbd2008-04-231-1/+0
| | | | | | bridging issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add support for the ultra-crappy Marvell 88E6060, which is used in Fonera+ ↵nbd2008-04-202-0/+509
| | | | | | and the upcoming Fonera 2.0 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add stub driver for ADM6996F switches (configured through MII)nbd2008-04-202-0/+275
| | | | | | | | The driver currently uses a hardcoded VLAN mapping and has no configuration yet Tested on Accton MR3202a git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] move spi_gpio driver into the kernel, clean-up SPI modulesjuhosg2008-04-151-0/+242
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10844 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] modules/gpio-buttons: fix build error on older kernelsjuhosg2008-04-081-13/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10771 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ssb-mips: Fix IRQ routing on the MIPS core.mb2008-04-081-6/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] add a polled GPIO buttons input driverjuhosg2008-04-071-0/+206
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10766 3c298f89-4303-0410-b956-a3cf2f4a3e73