aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include
Commit message (Collapse)AuthorAgeFilesLines
* mac80211: update to wireless-testing 2014-05-19Felix Fietkau2014-05-201-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add custom LED support for the AR8327 switchGabor Juhos2014-01-201-0/+40
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39338 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.hGabor Juhos2013-12-161-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: merge initval and tx gain table updates, calibration fixesFelix Fietkau2013-12-081-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39001 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: adm6996: add support for ADM6996L and GPIO interfaceHauke Mehrtens2013-11-091-0/+30
| | | | | | | | | | | | | | | | | | This patch makes it possible to use adm6996.c on first generation BCM47XX devices with ADM switches. The GPIO bit banging protocol implementation was copied from the old switch driver and adapted to this driver and changed to the mainline kernel GPIO interface. The ADM6996L is different from the ADM6996M which is supported, for both specs are available in the Internet. This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for the device. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38698 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop dead pwm codeLuka Perkov2013-08-181-165/+0
| | | | | | | | The files have last been used with 2.6.x kernel. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop dead glamo codeLuka Perkov2013-08-182-62/+0
| | | | | | | | The code is not used since the s3c24xx target was removed. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove gpio_buttonsJonas Gorski2013-07-191-33/+0
| | | | | | | | | | It hasn't been buildable for a long time, and there are no users of it anymore left as all of them have been switched to the upstream accepted version. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37436 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: allow to specify SGMII config via platform dataGabor Juhos2013-05-301-0/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36798 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add get_port_link callbackGabor Juhos2013-05-301-0/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36797 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing bcma defines and header file for bcrmfmacJonas Gorski2013-04-281-0/+124
| | | | | | | | Fixes build failure when having kmod-mmc and brcmfmac selected. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [swconfig] allow loading port maps from OFJohn Crispin2013-04-092-0/+16
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add b53 swconfig switch driverJonas Gorski2013-01-231-0/+36
| | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add sgmii_delay_en field to ar8327_platform_dataGabor Juhos2012-12-251-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8316: allow to configure port 6 via platform data on AR8327Gabor Juhos2012-12-221-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_dataGabor Juhos2012-12-221-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: disintegrate UAPI from include/linux/switch.hGabor Juhos2012-12-142-81/+98
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: ath9k: allow to load EEPROM data via firmware APIGabor Juhos2012-12-101-0/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211/rt2x00: add rf_vals for Rt3352 with Xtal=20MHzGabor Juhos2012-11-201-0/+1
| | | | | | | | | [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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34269 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: allow to disable [25]GHz support in ath9k via platform dataGabor Juhos2012-10-271-0/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add driver for the the RTL8367R{B,-VB} switchesGabor Juhos2012-10-181-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] gpiodev/gpioctl RIPJohn Crispin2012-10-111-42/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic add WLAN calibration data ID to routerboot.hGabor Juhos2012-09-091-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: move common routerboot definitions into a separate header fileGabor Juhos2012-09-091-0/+104
| | | | | | Those will be used on the ar71xx platform as well. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl836x: add hw_reset field to struct rtl8366_smiGabor Juhos2012-08-022-0/+3
| | | | | | | It will be used to start/stop the switch if that is supported by the given board. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: allow to configure AR8327 LEDs via platform dataGabor Juhos2012-06-191-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: allow platforms with rt2x00 to override the mac address without ↵Felix Fietkau2012-05-201-0/+1
| | | | | | overriding eeprom, fixes bogus wlan mac address on arv4520 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31835 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: make endian check optionalFelix Fietkau2012-03-271-0/+1
| | | | | | | Turns out it triggers on some AR71xx devices where no swapping should be done. Enable endian check for the lantiq target. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31084 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add support for the AR8327 chipGabor Juhos2012-03-181-0/+72
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: use a mutex instead of a spinlock, many swconfig calls sleepFelix Fietkau2012-03-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: swconfig: add a generic get_port_link implementationGabor Juhos2012-03-071-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30839 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add disable_[25]ghz to struct rt2x00_platform_dataGabor Juhos2012-02-181-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add WPE72 ID to myloader.hGabor Juhos2012-01-261-0/+1
| | | | | | Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add driver for the RTL8367R/M switchesGabor Juhos2012-01-071-0/+58
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: swconfig: introduce a generic switch LED triggerGabor Juhos2011-12-311-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: swconfig: add get_port_{link,stats} callbacksGabor Juhos2011-12-311-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: add support for registering extra leds connected to the wmac gpio linesFelix Fietkau2011-12-141-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move linux/ath9k_platform.h to generic files so that it can be ↵Felix Fietkau2011-12-131-0/+37
| | | | | | reused from other targets git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: Add generic switch identifiersJonas Gorski2011-07-271-4/+7
| | | | | | | | 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. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8366_smi: implement a function for detecting whether the attached switch ↵Felix Fietkau2011-07-241-0/+8
| | | | | | is RTL8366S or RTL8366RB git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8366: unify rtl8366s and rtl8366rb platform dataFelix Fietkau2011-07-242-28/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add rt2x00_platform.hGabor Juhos2011-07-031-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366s: allow initial register values to be passed via platform_dataGabor Juhos2011-01-261-0/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25120 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: cleanup of kernel drivers and interfaceFelix Fietkau2010-08-041-12/+41
| | | | | | | | - 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22476 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: move ath5k_platform.h from ar71xx to generic filesGabor Juhos2010-07-151-0/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rename target/linux/generic-2.6 to genericFelix Fietkau2010-06-269-0/+636
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73