summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/files
AgeCommit message (Collapse)Author
2010-04-10Generic: Clean up output of AR8216 driver.juhosg
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-09generic: make chip detection more reliable in the AR8216 driverjuhosg
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-05[PATCH 1/2] Add support for the ar8316 switch.jow
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-03-28enable IP175A support in the IP175C PHY driver (based on patch from jh in #6733)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09ar8216: fix the mtu register definitionnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09Several small fixes for ar8216 driver (patch by Jonas Gorski)nbd
* 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
2010-02-24kernel: add driver for the RTL8366RB switchjuhosg
Thanks to Andrew Tarabaras. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24kernel: fix typos in the AR8216 header filejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30rtl8366_smi: sanitize gpio values to a 0/1 booleanjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-27rtl8366s: reset the chip early, this allows ethernet to work as soon as possiblejuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-25rtl8366: make it available on all platformsjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13kernel: change debounce logic in the gpio-buttons driverjuhosg
* thanks to Nuno Gonçalves git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-25deduplicate kernel source files from 2.6.30-2.6.32 by moving them to generic ↵nbd
files/ git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09rtl8306: manage the wan port as a separate phy device with proper link ↵nbd
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
2009-12-08ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the ↵nbd
wrt160nl, fixes wan port detection (#6309) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08fix link status detection in various switch driversnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-16move the updated version (for 2.6.30+) of ar8216/mvswitch to the generic ↵nbd
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
2009-08-14add a driver for rtl8306 switchesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11ar8216: rename the vlan attribute to enable_vlan to keep it consistent with ↵nbd
other drivers git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-29ar8216: fix transmission of large frames by setting the switch mtunbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14ar8216: add delay for page switching to work around register setting ↵nbd
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
2009-04-30fix a crash in ip175c attribute enumerationnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-29Add a driver for Atheros AR8216 switchesnbd
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
2009-04-28swconfig: add a generic switch reset callnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20clean up the ip175c driver some more, add support for setting the pvid and ↵nbd
fix querying the phy status git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20swconfig: add a generic method for setting the port primary vlan id (used ↵nbd
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
2009-04-20add IC+ IP175C driver (based on Patrick Horn's driver, see #4050)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20swconfig: treat struct switch_attr as constantnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20swconfig: remove old debugging stuffnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-18[generic-2.6] files/fs/yaffs2: revert changes in r15242 that break patching ↵agb
on 2.6.28 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-10mvswitch: re-enable header modenbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-22atheros: in later kernels, vlan 0 no longer works as expected, switch to ↵nbd
(1,2) instead of (0,1) for lan/wan git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-22mvswitch,adm6996: use phy fixups instead of a nonstandard patch for hardware ↵nbd
detection git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-23[kernel] generic-2.6: make MyLoader parser compatible with the old partition ↵juhosg
tables git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15move linux/switch.h to generic files/ instead of the kernel version specific ↵nbd
directories git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-22[kernel] add NP25G and WP543 board idjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-19[kernel] ocf: move all stuff into files, and fix build error on .25juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17[adm5120] move MyLoader partition parser into generic files, will be used on ↵juhosg
ar71xx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17[ar71xx] move MyLoader stuff into generic files, will be used on adm5120juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28improve routing/nat performance for devices using the marvell 88e6060 switchnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-22remove more redundant files and clone files-2.6.23 for 2.6.24 - fixes rdc ↵nbd
build errors git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18change the way ./files* and the generic kernel files are applied. ./files ↵nbd
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
2008-10-05[kernel] make gpio_dev compatible with GPIOLIB & GPIO_SYSFS (closes #4016)juhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05[kernel] modules/gpio_dev: move to drivers/char/ on older kernels as well, ↵juhosg
and create a package for it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04makes ledtrignetdev work on .26 and fix whitespacesblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21add missing defines for mvswitchnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-19some more mvswitch fixes:nbd
- 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
2008-07-19add extra safety for the packet mangling in the mvswitch drivernbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-10[kernel] generic-2.6: revert yaffs changes [11378], the new code is not ↵juhosg
working correctly on RouterBoards git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11427 3c298f89-4303-0410-b956-a3cf2f4a3e73