summaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: backport switch user API changes after r36283florian2013-04-094-10/+28
| | | | | | | | | 3.3 and 3.6 kernels do not make use of the UAPI headers, still they need to provide an up-to-date switch.h copy for swconfig to build. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ramips] unbreak portmapping - typo fixblogic2013-04-091-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [swconfig] allow loading port maps from OFblogic2013-04-093-0/+89
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: implement pcibios_get_phb_of_node for MIPSjuhosg2013-04-062-0/+197
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36233 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: backport devm_ioremap_resource from 3.9juhosg2013-04-061-0/+251
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36232 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8367: add compatible string with vendor prefixjuhosg2013-04-061-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8367b: fix rtl8367b_extif_init_ofjuhosg2013-04-061-7/+18
| | | | | | | | | | | | * disable external interface if its property is not present * show an error message if the extif property is not valid * use proper error values intead of -1 * fix memory leak * wrap long lines Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: add more missing symbolsjuhosg2013-04-061-0/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: add missing symboljuhosg2013-04-061-0/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36226 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8367: allow to load extif config from OFjuhosg2013-04-061-6/+61
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36220 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8367: fix a typo in MODULE_DEVICE_TABLE macrojuhosg2013-04-061-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36219 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8367: add vendor prefix to the compatible stringjuhosg2013-04-061-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36218 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.6juhosg2013-04-069-20/+18
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* refresh kernel configs with kconfig.pljuhosg2013-04-061-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [kernel] Patch for invoking (pre)initblogic2013-04-032-20/+20
| | | | | | | | http://patchwork.openwrt.org/patch/3485/ Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic] add OF support to rtl8367b driverblogic2013-04-031-6/+50
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic] make firmware loading work on v3.9blogic2013-04-031-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic/3.9]: refresh patches against -rc4kaloz2013-03-2510-11/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [generic/3.9]: add missing symbolskaloz2013-03-251-0/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config options for au1000 targethauke2013-03-245-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.hauke2013-03-215-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selectedhauke2013-03-214-4/+8
| | | | | | | | | | This was turned from a silent confg option without a text to a normal config option which could be selected without any other option depending on this. This could cause the situation where REGMAP_SPI was selected without SPI_MASTER being selected. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some fixes for kernel 3.9hauke2013-03-201-0/+14
| | | | | | | This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some missing config options for kernel 3.9hauke2013-03-201-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193)florian2013-03-195-5/+40
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh 3.9 patchesflorian2013-03-179-77/+17
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36074 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: set regmap-core module licenseflorian2013-03-175-0/+80
| | | | | | | | | | | | | | | | | | | | Fixes the following issues: [ 7.660000] regmap_core: module license 'unspecified' taints kernel [ 7.690000] Disabling lock debugging due to kernel [ 7.700000] regmap_core: Unknown symbol lzo1x_decompress_safe (err 0 [ 7.710000] regmap_core: Unknown symbol lzo1x_1_compress (err 0 [ 7.720000] regmap_core: Unknown symbol devres_add (err 0 [ 7.730000] regmap_core: Unknown symbol debugfs_create_bool (err 0 [ 7.750000] regmap_core: Unknown symbol devres_alloc (err 0 [ 7.760000] regmap_core: Unknown symbol debugfs_remove_recursive (err 0 [ 7.770000] regmap_core: Unknown symbol debugfs_create_file (err 0 [ 7.780000] regmap_core: Unknown symbol devres_free (err 0 [ 7.800000] regmap_core: Unknown symbol devres_find (err 0 [ 7.810000] regmap_core: Unknown symbol debugfs_create_dir (err 0) Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: start AR8327 switch from the probe routinejuhosg2013-03-151-1/+19
| | | | | | | | | | | | The AR8327 switch gets its configuration from platform data or from the device-tree. This allows to start it from the probe routine. Doing so makes it usable with ethernet drivers which only connects to the PHY device when the ethernet interface is opened. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add ar8xxx_start helperjuhosg2013-03-151-11/+23
| | | | | | | | | Move switch starting code into a separate function. This makes it usable from other places. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add OF configuration support for AR8327juhosg2013-03-151-1/+52
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: separate platform_data based AR8327 codejuhosg2013-03-151-5/+16
| | | | | | | | | | Move platform_data specific configuration code into a separate routine. Do it in preparation for the upcoming OF support. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: don't use platform_data in ar8327_init_portjuhosg2013-03-151-5/+16
| | | | | | | | | Fetch the PORT_STATUS values in ar8327_hw_init and store those in a private data stucture for later use. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36045 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: move the ar8327_get_port_init_status functionjuhosg2013-03-151-28/+28
| | | | | | | | It will be used in ar8327_probe routine. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: simplify and rename ar8327_config_portjuhosg2013-03-151-15/+9
| | | | | | | | | | Return with the PORT_STATUS register value instead of writing that directly into the corresponding register. Also rename the function to ar8327_get_port_init_status. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: remove superfluous pdata checksjuhosg2013-03-151-2/+2
| | | | | | | | | | The presence of the platform data is already verified in ar8327_hw_init, and the driver does not start without that anyway. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36042 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.3juhosg2013-03-152-2/+2
| | | | | | | | Also refresh the related generic/platform patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add support for 3.9-rc2florian2013-03-14156-0/+30824
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [base-files/generic] update the /init file to start /sbin/initblogic2013-03-131-94/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36002 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some missing config options found by the buildbot.hauke2013-03-104-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: prevent -f*-sections from leaking into the boot zImage wrapper on armnbd2013-03-101-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: ensure that the arm exception handlers get preservednbd2013-03-101-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: use -ffunction-sections, -fdata-sections and --gc-sections on ARM to ↵nbd2013-03-102-2/+94
| | | | | | reduce kernel image size, disable those flags when tracing on MIPS to fix compile errors git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: add missing config symbolsjuhosg2013-03-101-0/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a missing config symbol for 3.8nbd2013-03-091-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix mpcore watchdog symbol exportnbd2013-03-091-2/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.1juhosg2013-03-032-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35862 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: add missing config symbolsjuhosg2013-03-031-0/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.10juhosg2013-03-031-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux/3.8: add missing config symbolsjuhosg2013-02-211-0/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: b53: clear SM_SW_FWD_MODE unconditionally when enabling VLANjogo2013-02-211-4/+2
| | | | | | | | | | Setting this bit stops BCM53125 (bgmac actually) from receiving any packets. This bit is cleared conditionally in b53_switch_reset and it seems the same is done in bcmrobo.c which never sets that bit again. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35723 3c298f89-4303-0410-b956-a3cf2f4a3e73