Gabor Juhos
c170d3c3e4
generic: ar8216: add get_port_link callback
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36797
2013-05-30 17:38:22 +00:00
Jonas Gorski
a33dd13c98
kernel: add missing bcma defines and header file for bcrmfmac
...
Fixes build failure when having kmod-mmc and brcmfmac selected.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36468
2013-04-28 11:10:42 +00:00
John Crispin
fff58a5801
allow loading port maps from OF
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36283
2013-04-09 14:19:09 +00:00
Jonas Gorski
bb0118c66f
generic: add b53 swconfig switch driver
...
Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports
switches connected through MDIO, SPI or memory mapped registers, and
supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch
chips.
Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35305
2013-01-23 10:12:33 +00:00
Gabor Juhos
d4b4c7d102
generic: ar8216: add sgmii_delay_en field to ar8327_platform_data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34881
2012-12-25 18:45:31 +00:00
Gabor Juhos
3931c9524c
generic: ar8316: allow to configure port 6 via platform data on AR8327
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34847
2012-12-22 12:12:37 +00:00
Gabor Juhos
a0b31f97bb
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34846
2012-12-22 12:12:35 +00:00
Gabor Juhos
a860153cce
generic: disintegrate UAPI from include/linux/switch.h
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34677
2012-12-14 12:11:41 +00:00
Gabor Juhos
dfd718d13d
mac80211: ath9k: allow to load EEPROM data via firmware API
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34606
2012-12-10 15:46:15 +00:00
Gabor Juhos
6c1fbb2d5c
mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHz
...
[juhosg: move ramips specific stuff into a followup patch]
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34269
2012-11-20 07:19:09 +00:00
Gabor Juhos
e8fc46b7c5
generic: allow to disable [25]GHz support in ath9k via platform data
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33954
2012-10-27 08:55:36 +00:00
Gabor Juhos
0045449b1b
generic: add driver for the the RTL8367R{B,-VB} switches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 33839
2012-10-18 07:22:56 +00:00
John Crispin
ba6751058b
gpiodev/gpioctl RIP
...
SVN-Revision: 33725
2012-10-11 11:58:09 +00:00
Gabor Juhos
2323120d5e
generic add WLAN calibration data ID to routerboot.h
...
SVN-Revision: 33346
2012-09-09 14:05:26 +00:00
Gabor Juhos
f3ecbea052
adm5120: move common routerboot definitions into a separate header file
...
Those will be used on the ar71xx platform as well.
SVN-Revision: 33341
2012-09-09 11:55:42 +00:00
Gabor Juhos
e2782eae8e
generic: rtl836x: add hw_reset field to struct rtl8366_smi
...
It will be used to start/stop the switch if that is
supported by the given board.
SVN-Revision: 32943
2012-08-02 09:54:21 +00:00
Gabor Juhos
b934fa2f16
generic: ar8216: allow to configure AR8327 LEDs via platform data
...
SVN-Revision: 32456
2012-06-19 10:44:16 +00:00
Felix Fietkau
9037c2ccc6
lantiq: allow platforms with rt2x00 to override the mac address without overriding eeprom, fixes bogus wlan mac address on arv4520
...
SVN-Revision: 31835
2012-05-20 21:58:03 +00:00
Felix Fietkau
5f799a0e97
ath9k: make endian check optional
...
Turns out it triggers on some AR71xx devices where no swapping should be done.
Enable endian check for the lantiq target.
SVN-Revision: 31084
2012-03-27 13:21:53 +00:00
Gabor Juhos
faf82f3e10
generic: ar8216: add support for the AR8327 chip
...
SVN-Revision: 31011
2012-03-18 22:06:55 +00:00
Felix Fietkau
b957208807
swconfig: use a mutex instead of a spinlock, many swconfig calls sleep
...
SVN-Revision: 30952
2012-03-15 19:32:31 +00:00
Gabor Juhos
759c341e68
generic: swconfig: add a generic get_port_link implementation
...
SVN-Revision: 30839
2012-03-07 16:32:33 +00:00
Gabor Juhos
799e9cbec8
generic: add disable_[25]ghz to struct rt2x00_platform_data
...
SVN-Revision: 30630
2012-02-18 17:36:13 +00:00
Gabor Juhos
1c4f6b4308
generic: add WPE72 ID to myloader.h
...
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
SVN-Revision: 29911
2012-01-26 17:01:38 +00:00
Gabor Juhos
8b567fb508
generic: add driver for the RTL8367R/M switches
...
SVN-Revision: 29678
2012-01-07 19:36:31 +00:00
Gabor Juhos
5fa65cba6e
kernel: swconfig: introduce a generic switch LED trigger
...
SVN-Revision: 29627
2011-12-31 15:02:30 +00:00
Gabor Juhos
975355a2b1
kernel: swconfig: add get_port_{link,stats} callbacks
...
SVN-Revision: 29625
2011-12-31 15:02:24 +00:00
Felix Fietkau
e3017bc05e
ath9k: add support for registering extra leds connected to the wmac gpio lines
...
SVN-Revision: 29530
2011-12-14 20:21:36 +00:00
Felix Fietkau
4a441570ca
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
...
SVN-Revision: 29516
2011-12-13 15:14:59 +00:00
Jonas Gorski
eaa935658b
swconfig: Add generic switch identifiers
...
Also make switches available under a generic name "switch<num>" for device
name agnostic access. The old device name is used as an alias for backward
compatibility.
SVN-Revision: 27800
2011-07-27 18:00:18 +00:00
Felix Fietkau
5b32d62fcf
rtl8366_smi: implement a function for detecting whether the attached switch is RTL8366S or RTL8366RB
...
SVN-Revision: 27755
2011-07-24 14:40:31 +00:00
Felix Fietkau
1afe8a0726
rtl8366: unify rtl8366s and rtl8366rb platform data
...
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Gabor Juhos
129217e127
generic: add rt2x00_platform.h
...
SVN-Revision: 27390
2011-07-03 15:01:57 +00:00
Gabor Juhos
4f1f672d9e
generic: rtl8366s: allow initial register values to be passed via platform_data
...
SVN-Revision: 25120
2011-01-26 20:35:46 +00:00
Felix Fietkau
bd6324190f
swconfig: cleanup of kernel drivers and interface - add some comments to a few data structures - add a switch_dev_ops data structure for attributes and callback to replace the stupid template memcpy - get rid of the switch_dev.priv pointer - using container_of() is better
...
SVN-Revision: 22476
2010-08-04 00:43:40 +00:00
Gabor Juhos
4bb11f9a39
generic: move ath5k_platform.h from ar71xx to generic files
...
SVN-Revision: 22189
2010-07-15 07:36:58 +00:00
Felix Fietkau
da1bb88a2b
rename target/linux/generic-2.6 to generic
...
SVN-Revision: 21952
2010-06-26 20:42:58 +00:00