summaryrefslogtreecommitdiff
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update linux 3.8 to 3.8.3Gabor Juhos2013-03-152-2/+2
| | | | | | | | Also refresh the related generic/platform patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36039
* kernel: add support for 3.9-rc2Florian Fainelli2013-03-14156-0/+30824
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36008
* update the /init file to start /sbin/initJohn Crispin2013-03-131-94/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36002
* kernel: add some missing config options found by the buildbot.Hauke Mehrtens2013-03-104-0/+9
| | | | SVN-Revision: 35945
* kernel: prevent -f*-sections from leaking into the boot zImage wrapper on armFelix Fietkau2013-03-101-0/+10
| | | | SVN-Revision: 35938
* kernel: ensure that the arm exception handlers get preservedFelix Fietkau2013-03-101-0/+9
| | | | SVN-Revision: 35937
* kernel: use -ffunction-sections, -fdata-sections and --gc-sections on ARM to ↵Felix Fietkau2013-03-102-2/+94
| | | | | | reduce kernel image size, disable those flags when tracing on MIPS to fix compile errors SVN-Revision: 35936
* linux/3.8: add missing config symbolsGabor Juhos2013-03-101-0/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35931
* kernel: add a missing config symbol for 3.8Felix Fietkau2013-03-091-0/+1
| | | | SVN-Revision: 35910
* kernel: fix mpcore watchdog symbol exportFelix Fietkau2013-03-091-2/+10
| | | | SVN-Revision: 35907
* kernel: update linux 3.8 to 3.8.1Gabor Juhos2013-03-032-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35862
* linux/3.8: add missing config symbolsGabor Juhos2013-03-031-0/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35861
* kernel: update linux 3.7 to 3.7.10Gabor Juhos2013-03-031-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35860
* linux/3.8: add missing config symbolsGabor Juhos2013-02-211-0/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35726
* generic: b53: clear SM_SW_FWD_MODE unconditionally when enabling VLANJonas Gorski2013-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> SVN-Revision: 35723
* generic: b53: remove empty spacesJonas Gorski2013-02-211-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 35722
* linux/3.8: add missing Kconfig symbolsGabor Juhos2013-02-191-0/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35686
* kernel: update linux 3.8-rcX to 3.8Gabor Juhos2013-02-198-10/+11
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35672
* generic: ar8216: cleanup function/variable namesGabor Juhos2013-02-171-110/+110
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35642
* generic: ar8216: rename struct ar8216_priv to ar8xxx_privGabor Juhos2013-02-171-94/+94
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35641
* brcm47xx: add initial support for kernel 3.8Hauke Mehrtens2013-02-162-0/+1024
| | | | | | | | | | | | This contains the following new bigger changes: * new partition parser which still could lake some features or have bugs * new nand flash driver * using physmap-flash flash driver for parallel flash * some changes to the serial flash driver With these changes OpenWrt starts using more of the mainline flash drivers. SVN-Revision: 35632
* kernel: add missing config optionsJonas Gorski2013-02-164-0/+4
| | | | | | | | | r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to not build with PTP enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 35611
* kernel: update linux 3.7 to 3.7.8Gabor Juhos2013-02-153-6/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35604
* generic: ar8216: move PHY4 RGMII workaround code out of the loopGabor Juhos2013-02-141-11/+11
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35603
* generic: ar8216: register the switch from the probe routineGabor Juhos2013-02-141-17/+12
| | | | | | | | | | | | | | | | | Currently the switch gets registered when an ethernet driver connects to a PHY of the switch. This method does not work with the ethernet drivers which are connecting to the PHY from their ndo_open callback. With those ethernet drivers, the driver tries to register the switch each time when the etherned device is opened and this causes a deadlock. Move the switch registration into the probe routine to fix this problem. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35602
* kernel: update linux 3.7 to 3.7.7Gabor Juhos2013-02-122-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35571
* ar8216: remove superfluous code from ar8216_config_initGabor Juhos2013-02-111-12/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35562
* generic: ar8216: don't use ethernet device name in register_switchGabor Juhos2013-02-111-3/+4
| | | | | | | | | | The switches are accessed via an MDIO bus. Set the alias to the name of the MDIO bus, and show that in the message along with the name of the switch switch device. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35560
* generic: ar8216: reuse the private data from ar8216_probeGabor Juhos2013-02-111-33/+40
| | | | | | | | | | | The private data of the switch is already allocated in ar8216_priv, assign that to each PHY on the same MDIO bus. Also remove the redundant code from ar8216_config_init. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35559
* generic: ar8216: use phydev instead of pdev everywhereGabor Juhos2013-02-111-33/+33
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35555
* generic: ar8216: use pr_* macros for kernel messagesGabor Juhos2013-02-111-8/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35554
* generic: ar8216: fix PHY features setupGabor Juhos2013-02-111-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | Sujith says: This commit breaks the WAN port on my AP96 - DHCP fails. Reverting it fixes the issue. commit b67cc3a0cdd02973610d4d5a63226d1c44841e94 Author: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Fri Feb 8 09:13:18 2013 +0000 generic: ar8216: simplify phy features setup Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@355183c298f89-4303-0410-b956-a3cf2f4a3e73 This change restores the previous behaviour and moves the code into the ar8216_probe function. Reported-by: Sujith Manoharan <sujith@msujith.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Tested-by: Sujith Manoharan <sujith@msujith.org> SVN-Revision: 35549
* generic: ar8216: add ar8xxx_probe_switch helperGabor Juhos2013-02-101-31/+42
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35547
* generic: ar8216: rename ar8xxx_mib_cleanup to ar8xxx_mib_stopGabor Juhos2013-02-101-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35546
* generic: ar8216: free mib counters from ar8xxx_freeGabor Juhos2013-02-101-4/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35545
* generic: ar8216: add ar8xxx_free helperGabor Juhos2013-02-101-6/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35544
* generic: ar8216: add ar8xxx_create{,mii} helpersGabor Juhos2013-02-101-14/+33
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35543
* generic: ar8216: remove redundant phy address checkGabor Juhos2013-02-101-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35542
* generic: ar8216: only set phy_ptr if packet mangling is usedGabor Juhos2013-02-101-2/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35541
* generic: ar8216: add defines for the AR8316 POSTRIP registerGabor Juhos2013-02-102-2/+32
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35539
* generic: ar8216: don't probe the chip multiple timesGabor Juhos2013-02-101-8/+8
| | | | | | | | It is only needed when the private data is allocated. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35538
* generic: ar8216: add sanity check to ar8216_probeGabor Juhos2013-02-101-0/+41
| | | | | | | | | Verify that the mdio bus has PHY devices with a supported PHY ID at address 0-4. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35537
* generic: ar8216: skip probe on unused PHY addressesGabor Juhos2013-02-101-0/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35536
* generic: b53: fix reverted error check in probeJonas Gorski2013-02-101-1/+1
| | | | | | | | | | | | b53_switch_detect returns value returned by b53_read8, which is 0 for success. So fail (and return error) only if b53_switch_detect returned something else than 0. This fixes supported and advertising being zeros for MDIO access. Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 35534
* generic: ar8216: move sleep out of the loopGabor Juhos2013-02-091-1/+2
| | | | | | | | | | It is enough to sleep once after ANEG is enabled on all PHYs. This reduces boot time on boards with AR8316 switch. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35532
* generic: ar8216: simplify phy features setupGabor Juhos2013-02-081-11/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35518
* generic: ar8216: don't use mdio bus specific functions in ar8216_id_chipGabor Juhos2013-02-081-8/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35517
* generic: ar8216: use inline function to convert swdev to ar8216Gabor Juhos2013-02-071-15/+19
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35514
* generic: ar8216: add mii_bus field to struct ar8216_privGabor Juhos2013-02-071-11/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35513
* generic: mvswitch: add detach callbackGabor Juhos2013-02-071-1/+12
| | | | | | | | | | | Use the detach callback to disable packet mangling to avoid possible NULL pointer dereference. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35512