summaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include
Commit message (Collapse)AuthorAgeFilesLines
* kernel: add missing bcma defines and header file for bcrmfmacjogo2013-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 OFblogic2013-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 driverjogo2013-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_datajuhosg2012-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 AR8327juhosg2012-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_datajuhosg2012-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.hjuhosg2012-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 APIjuhosg2012-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=20MHzjuhosg2012-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 datajuhosg2012-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} switchesjuhosg2012-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 RIPblogic2012-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.hjuhosg2012-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 filejuhosg2012-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_smijuhosg2012-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 datajuhosg2012-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 ↵nbd2012-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 optionalnbd2012-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 chipjuhosg2012-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 sleepnbd2012-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 implementationjuhosg2012-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_datajuhosg2012-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.hjuhosg2012-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 switchesjuhosg2012-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 triggerjuhosg2011-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} callbacksjuhosg2011-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 linesnbd2011-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 ↵nbd2011-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 identifiersjogo2011-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 ↵nbd2011-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 datanbd2011-07-242-28/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add rt2x00_platform.hjuhosg2011-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_datajuhosg2011-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 interfacenbd2010-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 filesjuhosg2010-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 genericnbd2010-06-269-0/+636
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73