Felix Fietkau
ddc2e2270b
ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes wan port detection ( #6309 )
...
SVN-Revision: 18699
2009-12-08 14:06:18 +00:00
Felix Fietkau
df35ee622f
fix link status detection in various switch drivers
...
SVN-Revision: 18698
2009-12-08 14:06:09 +00:00
Felix Fietkau
30e635c55b
move the updated version (for 2.6.30+) of ar8216/mvswitch to the generic files directory and remove patches for older kernel versions (no longer in use)
...
SVN-Revision: 17594
2009-09-16 12:24:46 +00:00
Felix Fietkau
6e28b28c5e
add a driver for rtl8306 switches
...
SVN-Revision: 17248
2009-08-14 00:52:17 +00:00
Felix Fietkau
3e7d58574f
ar8216: rename the vlan attribute to enable_vlan to keep it consistent with other drivers
...
SVN-Revision: 16770
2009-07-11 01:21:01 +00:00
Felix Fietkau
3455f00d7a
ar8216: fix transmission of large frames by setting the switch mtu
...
SVN-Revision: 16629
2009-06-29 21:54:16 +00:00
Felix Fietkau
c1918c778c
ar8216: add delay for page switching to work around register setting 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
2009-06-14 03:32:01 +00:00
Felix Fietkau
4e12c9d210
fix a crash in ip175c attribute enumeration
...
SVN-Revision: 15506
2009-04-30 13:57:22 +00:00
Felix Fietkau
a523450678
Add a driver for Atheros AR8216 switches Thanks to Vertical Communications, Inc. for providing access to the documentation
...
SVN-Revision: 15482
2009-04-29 13:02:41 +00:00
Felix Fietkau
8ec2ad91ad
swconfig: add a generic switch reset call
...
SVN-Revision: 15470
2009-04-28 19:16:17 +00:00
Felix Fietkau
3fce73ce46
clean up the ip175c driver some more, add support for setting the pvid and fix querying the phy status
...
SVN-Revision: 15308
2009-04-20 21:26:44 +00:00
Felix Fietkau
f6f55bae7d
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)
...
SVN-Revision: 15307
2009-04-20 21:26:39 +00:00
Felix Fietkau
4320a28228
add IC+ IP175C driver (based on Patrick Horn's driver, see #4050 )
...
SVN-Revision: 15305
2009-04-20 18:57:55 +00:00
Felix Fietkau
787e9fcf93
swconfig: treat struct switch_attr as constant
...
SVN-Revision: 15302
2009-04-20 18:57:36 +00:00
Felix Fietkau
cd80e16a80
swconfig: remove old debugging stuff
...
SVN-Revision: 15301
2009-04-20 18:57:30 +00:00
Felix Fietkau
1929c7511c
mvswitch: re-enable header mode
...
SVN-Revision: 15186
2009-04-10 11:33:49 +00:00
Felix Fietkau
bfa8064ccd
atheros: in later kernels, vlan 0 no longer works as expected, switch to (1,2) instead of (0,1) for lan/wan
...
SVN-Revision: 14981
2009-03-22 20:19:23 +00:00
Felix Fietkau
f972eb41b5
mvswitch,adm6996: use phy fixups instead of a nonstandard patch for hardware detection
...
SVN-Revision: 14977
2009-03-22 20:18:36 +00:00
Gabor Juhos
404fa66215
generic-2.6: make MyLoader parser compatible with the old partition tables
...
SVN-Revision: 14155
2009-01-23 11:54:44 +00:00
Gabor Juhos
442db57b96
move MyLoader partition parser into generic files, will be used on ar71xx
...
SVN-Revision: 13256
2008-11-17 10:14:58 +00:00
Felix Fietkau
d1b986bd54
improve routing/nat performance for devices using the marvell 88e6060 switch
...
SVN-Revision: 13060
2008-10-28 17:54:22 +00:00
Felix Fietkau
1e570a9288
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.
...
SVN-Revision: 13010
2008-10-18 21:43:30 +00:00
Gabor Juhos
5d46bb5efc
make gpio_dev compatible with GPIOLIB & GPIO_SYSFS ( closes #4016 )
...
SVN-Revision: 12864
2008-10-05 13:08:12 +00:00
Gabor Juhos
3527e7a649
modules/gpio_dev: move to drivers/char/ on older kernels as well, and create a package for it
...
SVN-Revision: 12133
2008-08-05 09:52:23 +00:00
John Crispin
a641792a78
makes ledtrignetdev work on .26 and fix whitespaces
...
SVN-Revision: 12090
2008-08-04 14:05:04 +00:00
Felix Fietkau
c7150f281c
add missing defines for mvswitch
...
SVN-Revision: 11895
2008-07-21 18:12:38 +00:00
Felix Fietkau
3ad51a1c33
some more mvswitch fixes: - initialize the vlan destination map properly - workaround for moving node bug: clear the ATU database on every PHY poll
...
SVN-Revision: 11881
2008-07-19 23:09:56 +00:00
Felix Fietkau
87e673487a
add extra safety for the packet mangling in the mvswitch driver
...
SVN-Revision: 11880
2008-07-19 23:09:43 +00:00
Felix Fietkau
b014357704
set marvell switch ATU ageing time to minimum instead of maximum - hopefully fixes some fonera 2.0 ethernet issues
...
SVN-Revision: 11410
2008-06-09 10:31:46 +00:00
Peter Denison
3b7d3cf074
Remove bogus zero-length ohci-ssb.c in generic-2.6/files
...
SVN-Revision: 11190
2008-05-18 20:55:06 +00:00
Felix Fietkau
9e0ee80132
enable a different pseudo-vlan mode in the marvell switch (uses a proprietary header instead of a proprietary trailer) - fixes some mtu issues
...
SVN-Revision: 10975
2008-04-29 12:55:44 +00:00
Felix Fietkau
c3fcb26d47
allow bigger packets in the marvell switch (does not fix the mtu problems yet)
...
SVN-Revision: 10970
2008-04-28 21:59:06 +00:00
Felix Fietkau
86bbc820d5
fix vlan mapping for cpu port on the marvell switch
...
SVN-Revision: 10934
2008-04-24 01:09:47 +00:00
Felix Fietkau
69999abeda
clear VLANTunnel bit on the marvell switch ports - should help with some bridging issues
...
SVN-Revision: 10931
2008-04-23 16:28:05 +00:00
Felix Fietkau
11d94ce083
Add support for the ultra-crappy Marvell 88E6060, which is used in Fonera+ and the upcoming Fonera 2.0
...
SVN-Revision: 10876
2008-04-20 08:29:01 +00:00
Felix Fietkau
a323a7bf2a
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
...
SVN-Revision: 10869
2008-04-20 02:53:04 +00:00
Gabor Juhos
67fd9d7fba
move spi_gpio driver into the kernel, clean-up SPI modules
...
SVN-Revision: 10844
2008-04-15 07:33:43 +00:00
Gabor Juhos
832ba73685
modules/gpio-buttons: fix build error on older kernels
...
SVN-Revision: 10771
2008-04-08 11:49:22 +00:00
Michael Büsch
2e8af76a60
ssb-mips: Fix IRQ routing on the MIPS core.
...
SVN-Revision: 10770
2008-04-08 09:15:53 +00:00
Gabor Juhos
5798590c7c
add a polled GPIO buttons input driver
...
SVN-Revision: 10766
2008-04-07 19:54:44 +00:00
Michael Büsch
68523387b3
GPIODEV: Fix open-count race condition.
...
SVN-Revision: 10625
2008-03-19 11:32:08 +00:00
John Crispin
9e6b3d16de
add new led trigger for network traffic, fixes #2776
...
SVN-Revision: 10566
2008-03-07 21:25:02 +00:00
Michael Büsch
c57ca284ce
ssb: Update to latest upstream version of ssb.
...
SVN-Revision: 10490
2008-02-19 01:24:18 +00:00
Michael Büsch
670b7ab883
b43: Make probing of NPHY devices possible.
...
SVN-Revision: 10487
2008-02-18 22:21:29 +00:00
Felix Fietkau
a2ba826425
"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>
SVN-Revision: 10348
2008-02-02 01:21:54 +00:00
John Crispin
8f39c35159
add userspace tool for gpio_dev
...
SVN-Revision: 10267
2008-01-26 04:24:05 +00:00
John Crispin
2a8b143cb3
remove binary file
...
SVN-Revision: 10262
2008-01-26 03:17:35 +00:00
John Crispin
0844d5fe49
add generic gpio char dev for CONFIG_GENERIC_GPIO archs
...
SVN-Revision: 10261
2008-01-26 03:16:11 +00:00
Felix Fietkau
985ee9fc8f
LED driver for PCEngines ALIX boards
...
This patch adds a driver for the three LEDs that exists on the
PCEngines ALIX 2 and 3 series boards.
The driver is also added to the Alix profile.
Signed-off-by: Petr Liebman <petrliebman@gmail.com>
--
SVN-Revision: 9748
2007-12-14 00:52:15 +00:00
Florian Fainelli
a86b7992f9
Forgot removing that file while applying patch from #2757
...
SVN-Revision: 9690
2007-12-09 17:52:27 +00:00