Commit Graph

73 Commits (484103fb708b5264292bf3ba59fd65e8ece67919)

Author SHA1 Message Date
Felix Fietkau fdcbeac21e fix a crash in ip175c attribute enumeration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-30 13:57:22 +00:00
Felix Fietkau 3400913521 Add a driver for Atheros AR8216 switches
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-29 13:02:41 +00:00
Felix Fietkau f8e84c4e39 swconfig: add a generic switch reset call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-28 19:16:17 +00:00
Felix Fietkau b5b7da862a clean up the ip175c driver some more, add support for setting the pvid and fix querying the phy status
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20 21:26:44 +00:00
Felix Fietkau 091c38c934 swconfig: add a generic method for setting the port primary vlan id (used 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-20 21:26:39 +00:00
Felix Fietkau 01c16ed09b add IC+ IP175C driver (based on Patrick Horn's driver, see #4050)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20 18:57:55 +00:00
Felix Fietkau 351fbfd0e2 swconfig: treat struct switch_attr as constant
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20 18:57:36 +00:00
Felix Fietkau 7b1ce92313 swconfig: remove old debugging stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-20 18:57:30 +00:00
Andy Boyett ba5b41f0dc [generic-2.6] files/fs/yaffs2: revert changes in r15242 that break patching on 2.6.28
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-18 06:29:23 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Felix Fietkau bbdb00cc4e mvswitch: re-enable header mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-10 11:33:49 +00:00
Felix Fietkau f08abee438 atheros: in later kernels, vlan 0 no longer works as expected, switch to (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-22 20:19:23 +00:00
Felix Fietkau 23eca1d576 mvswitch,adm6996: use phy fixups instead of a nonstandard patch for hardware detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-22 20:18:36 +00:00
Gabor Juhos 36adad2ac2 [kernel] generic-2.6: make MyLoader parser compatible with the old partition tables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-23 11:54:44 +00:00
Felix Fietkau 2e89b6fa76 move linux/switch.h to generic files/ instead of the kernel version specific directories
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-15 13:04:15 +00:00
Gabor Juhos c959129ee3 [kernel] add NP25G and WP543 board id
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-22 19:40:11 +00:00
Gabor Juhos b0f5f9729a [kernel] ocf: move all stuff into files, and fix build error on .25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-19 12:25:39 +00:00
Gabor Juhos 30b9e9a0c2 [adm5120] move MyLoader partition parser into generic files, will be used on ar71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 10:14:58 +00:00
Gabor Juhos c3e6c0c4bd [ar71xx] move MyLoader stuff into generic files, will be used on adm5120
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 09:19:27 +00:00
Felix Fietkau 7fc9c0b5e4 improve routing/nat performance for devices using the marvell 88e6060 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28 17:54:22 +00:00
Felix Fietkau 68c6bb15ba remove more redundant files and clone files-2.6.23 for 2.6.24 - fixes rdc build errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-22 06:51:06 +00:00
Felix Fietkau af835ce516 change the way ./files* and the generic kernel files are applied. ./files 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-18 21:43:30 +00:00
Gabor Juhos c4cda8c48a [kernel] make gpio_dev compatible with GPIOLIB & GPIO_SYSFS (closes #4016)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-05 13:08:12 +00:00
Gabor Juhos e930bd912d [kernel] modules/gpio_dev: move to drivers/char/ on older kernels as well, and create a package for it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 09:52:23 +00:00
John Crispin c85677ecc1 makes ledtrignetdev work on .26 and fix whitespaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 14:05:04 +00:00
Felix Fietkau 5325f94712 add missing defines for mvswitch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-21 18:12:38 +00:00
Felix Fietkau 85b0fa9262 some more mvswitch fixes:
- 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-19 23:09:56 +00:00
Felix Fietkau 947a74570d add extra safety for the packet mangling in the mvswitch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-19 23:09:43 +00:00
Gabor Juhos 5f27e3969e [kernel] generic-2.6: revert yaffs changes [11378], the new code is not working correctly on RouterBoards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-10 08:20:19 +00:00
Felix Fietkau a790561538 set marvell switch ATU ageing time to minimum instead of maximum - hopefully fixes some fonera 2.0 ethernet issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-09 10:31:46 +00:00
Gabor Juhos c259b35b50 [kernel] generic-2.6: sync yaffs code with the official CVS tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-06 12:52:39 +00:00
Gabor Juhos 7350e37678 [kernel] nuke trailing whitespaces in the yaffs code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-28 07:31:26 +00:00
Peter Denison ff4567f7fe Remove bogus zero-length ohci-ssb.c in generic-2.6/files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 20:55:06 +00:00
Felix Fietkau 653cf2c078 enable a different pseudo-vlan mode in the marvell switch (uses a 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
2008-04-29 12:55:44 +00:00
Felix Fietkau 4bfaf896cb allow bigger packets in the marvell switch (does not fix the mtu problems yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28 21:59:06 +00:00
Felix Fietkau cc8a466cb1 fix vlan mapping for cpu port on the marvell switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-24 01:09:47 +00:00
Felix Fietkau c29df87d31 clear VLANTunnel bit on the marvell switch ports - should help with some bridging issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-23 16:28:05 +00:00
Felix Fietkau e62fdae016 Add support for the ultra-crappy Marvell 88E6060, which is used in Fonera+ and the upcoming Fonera 2.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-20 08:29:01 +00:00
Felix Fietkau 3c2c1b1b69 Add stub driver for ADM6996F switches (configured through MII)
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
2008-04-20 02:53:04 +00:00
Gabor Juhos 04b8b09c2f [package] move spi_gpio driver into the kernel, clean-up SPI modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-15 07:33:43 +00:00
Gabor Juhos a257340a3e [kernel] modules/gpio-buttons: fix build error on older kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-08 11:49:22 +00:00
Michael Büsch 9ac8ae9d85 ssb-mips: Fix IRQ routing on the MIPS core.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-08 09:15:53 +00:00
Gabor Juhos 546725acb2 [kernel] add a polled GPIO buttons input driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 19:54:44 +00:00
Michael Büsch c7393b9e65 GPIODEV: Fix open-count race condition.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-19 11:32:08 +00:00
John Crispin f1e06a1597 add new led trigger for network traffic, fixes #2776
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-07 21:25:02 +00:00
Michael Büsch a5c9687c1f ssb: Update to latest upstream version of ssb.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-19 01:24:18 +00:00
Michael Büsch d3bbaf965b b43: Make probing of NPHY devices possible.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-18 22:21:29 +00:00
Felix Fietkau f165889337 "default-on" LED Trigger
The current LED subsystem always initialises LEDs in the OFF state. This is fine for most LEDs but some should be on right from boot (e.g. POWER LED). Following some discussion with the LED subsystem maintainers, a trigger was recommended as the best way to implement this functionality.

Here is a patch to add a new trigger "default-on" which will initialise an LED in the ON state. It is not compiled by default.

Particular thanks to Rod Whitby for all his help with this.

Signed-off-by: Nick Forbes <nick.forbes@incepta.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-02 01:21:54 +00:00
John Crispin b6ed86f4c2 add userspace tool for gpio_dev
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10267 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 04:24:05 +00:00
John Crispin 8fea793a81 add missing header file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-26 03:52:11 +00:00