aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ixp4xx: fix usb on cambria boards by using the ehci-platform driverFelix Fietkau2013-11-111-3/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pppd: don't call modprobe at all from pppoatmJohn Crispin2013-11-111-0/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* revert 94e44643a8ce1d7991376b6ced586784b3f92500John Crispin2013-11-111-11/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38736 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use gpio-button-hotplug in favour of the input variantJohn Crispin2013-11-111-2/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38735 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make the rfkill switch work on fonera20nJohn Crispin2013-11-111-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38734 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: DGN3500 fixupsJohn Crispin2013-11-112-1/+3
| | | | | | | | Just fixing up a few things for the Netgear DGN3500. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix modprobe path for pppoatmJohn Crispin2013-11-111-0/+11
| | | | | | | | | | Without netifd generates an error: daemon.notice netifd: wan (1249): /bin/sh: /sbin/modprobe: not found Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38732 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: dont install deu test managerJohn Crispin2013-11-111-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38731 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: rename TDW8970 led adsl->dslJohn Crispin2013-11-111-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38730 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: update rfkill script to work with slider buttonsJohn Crispin2013-11-111-2/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38729 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: update TDW8970.dts to support buttons properlyJohn Crispin2013-11-111-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38728 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove old hotplug handlerJohn Crispin2013-11-111-53/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add a generic wps button handlerJohn Crispin2013-11-111-0/+6
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gpio-button-hotplug: add support for sliding switchesJohn Crispin2013-11-111-12/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttp: make the service auto respawn if it crashesJohn Crispin2013-11-111-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uhttp: make sure that the ubus module is loaded when when installedJohn Crispin2013-11-111-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [omap]: add missing option, enable hw rngImre Kaloz2013-11-111-0/+4
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [crypto-hw-omap]: depend on the correct targetImre Kaloz2013-11-111-1/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boardsGabor Juhos2013-11-111-1/+1
| | | | | | | Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add profile and build image for the TL-WA750RE TL-WA850RE range extenderGabor Juhos2013-11-112-0/+25
| | | | | | | | | Patch to add profile and build image for the tplink TL-WA750RE/WA850RE board Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user space support for the TL-WA750RE/WA850RE Range extenderGabor Juhos2013-11-115-0/+32
| | | | | | | | | Patch to add user space support for the TL-WA750RE/WA850RE range extender Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38718 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add kernel support for the TP-Link WA750RE / WA850RE range extenderGabor Juhos2013-11-113-0/+224
| | | | | | | | | | | Patch to add kernel support for the TP-LINK WA750RE and the WA850RE range extender Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> [juhosg: rename and refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38717 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix ag71xx_probe error pathGabor Juhos2013-11-111-1/+3
| | | | | | | Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38716 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: make bgmac workHauke Mehrtens2013-11-114-3/+42
| | | | | | | | | This makes bgmac work without sprom and refreshed the patches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bgmac: make it send and receive some packages on BCM4708Hauke Mehrtens2013-11-118-4/+520
| | | | | | | | | | | This adds some more code for bgmac core rev 4 and it now restarts all cores when initializing the first one on BCM4708. I am just able to send under 100 packages and then DMA TX does not work any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38714 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: bcma: detect pci ID 0x4313Hauke Mehrtens2013-11-112-1/+46
| | | | | | | | | | | | This pci ID is used by sprom less BCM4313 devices. This is a backport from the mainline kernel. This is part of #13551. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: b53: add initial support for switches in BCM5301XHauke Mehrtens2013-11-102-3/+87
| | | | | | | | | This is also known as BCM470{7,8,9}. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38712 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: reduce the number of unnecessary calls to /sbin/hotplug-call for tty ↵Felix Fietkau2013-11-101-2/+8
| | | | | | | | devices Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38705 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netifd: remove connect_time from /var/state, it is unusedFelix Fietkau2013-11-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: add uImage image buildImre Kaloz2013-11-101-26/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - add building of a standard uImage along with the combined kernel+rootfs - remove 'old' image build - that was for a very old and obsolete bootloader To update the bootloader for GW2387,GW2388,GW2391 (NOR Flash) from uboot: put latest NOR bootloader on tftp server: http://svn.gateworks.com/laguna/trunk/images/u-boot_nor.bin Laguna> setenv ipaddr <localip> Laguna> setenv ipaddr <serverip> Laguna> tftpboot 0x800000 laguna/u-boot-nor.bin Laguna> erase 0x10000000 +$(filesize) Laguna> cp.b 0x800000 0x10000000 $(filesize) Laguna> reset To update the bootloader for GW2380,GW2382,GW2383 (SPI Flash) from uboot: put latest SPI bootloader on tftp server: http://svn.gateworks.com/laguna/trunk/images/u-boot_spi.bin Laguna> setenv ipaddr <localip> Laguna> setenv ipaddr <serverip> Laguna> tftpboot 0x800000 laguna/u-boot-spi.bin Laguna> erase 0x60000000 +$(filesize) Laguna> cp.b 0x800000 0x60000000 $(filesize) Laguna> reset Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: add pushbutton GPIO for GW2380/82/83Imre Kaloz2013-11-101-0/+3
| | | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38702 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-diag: fix sys button on Asus rt-n16Hauke Mehrtens2013-11-091-1/+1
| | | | | | | | | This closes: #14427. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38701 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add detection for Linksys WRT54GS V1Hauke Mehrtens2013-11-092-1/+14
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38700 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: register ADM6996L switchHauke Mehrtens2013-11-093-3/+127
| | | | | | | | | | | | | This patch makes it possible to use adm6996.c on first generation BCM47XX devices with ADM switches. 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@38699 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: adm6996: add support for ADM6996L and GPIO interfaceHauke Mehrtens2013-11-093-127/+497
| | | | | | | | | | | | | | | | | | 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
* procd: update to latest git headJohn Crispin2013-11-081-2/+2
| | | | | | | | make sure that automatic respawning is turned off during upgrade Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [omap]: switch to 3.12, enable support for AM33xx/OMAP3Imre Kaloz2013-11-088-121/+82754
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [omap]: rename the omap4 target to omapImre Kaloz2013-11-088-12/+12
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: mtd_get_mac_ascii bugfixGabor Juhos2013-11-082-5/+4
| | | | | | | | | | | | | | | | The mtd_get_mac_ascii utility function was broken. This fixes it. - Remove the superfluous include of /lib/functions.sh. The function is already in that file so it is pointless, - only use a variable if the whole key word matches, - don't try to process the MAC address if it is empty, - use 'tr' to canonicalize the MAC address, Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> [juhosg: add more fixes, update commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ag71xx: fix a race involving netdev registrationGabor Juhos2013-11-082-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, phy_connect before register_netdev. This is because register_netdev runs the netdev notifiers, which can race with the rest of the initialization in ag71xx_probe. In my case this manifested in two ways: 1) If ag71xx is compiled as a module and inserted after netifd has started, netifd is notified by register_netdev before the call to ag71xx_phy_connect. netifd tries to bring the interface up, which calls ag71xx_open, which in turn enters ag71xx_phy_start. This keys off ag->phy_dev (which is still NULL) and thinks this is a fixed-link board, and enters ag71xx_link_adjust. This looks at ag->speed which is not yet initialized and hits the BUG() in the switch (ag->speed) in ag71xx_link_adjust. This is the wrong code path for ag71xx_phy_start - my board has PHYs that need to be brought up with phy_start. Doing ag71xx_phy_connect before register_netdev ensures that ag->phy_dev is non-NULL before ag71xx_phy_start is ever called. 2) When ag71xx is built into the kernel, and netconsole is enabled, there is a gap in the initial burst of replayed printks right after the netdev comes up. My assumption is that netconsole is also triggered by a netdev notifier, and part of this printk burst happens before the call into ag71xx_phy_connect, so part of the burst is lost while the PHY comes up. This patch fixes the gap - all the printks before eth0 comes up are bursted in full when netconsole initializes. ag71xx_phy_connect_xxx no longer runs with a registered netdev, so the logging has been adjusted accordingly to avoid "unregistered net_device" or "eth%d" messages in dmesg. Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: build image for the WD My Net Wi-Fi Range ExtenderGabor Juhos2013-11-072-1/+24
| | | | | | | | | | | Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> [juhosg: - remove the Image/Build/CyberTANLZMA/loader macro, it is not used - move the MYNETREXT SingleProfile definition to the correct place] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the WD My Net Wi-Fi Range ExtenderGabor Juhos2013-11-075-4/+23
| | | | | | | | Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38687 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the My Net Wi-Fi Range Extender deviceGabor Juhos2013-11-073-0/+215
| | | | | | | | | | | | | This patch adds a new device definition for a Western Digital device. The hardware seems to be based on Qualcomm Atheros DB120 design. Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> [juhosg: refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: adapt addpattern for WD's Range ExtenderGabor Juhos2013-11-071-7/+15
| | | | | | | | | | | | A few things had to be changed to add support for these devices: - support code patterns with 8 characters - new board definition for the range extender device Patchwork: http://patchwork.openwrt.org/patch/4280/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: mark rt2x00 library packages as hidden, there's no point in ↵Felix Fietkau2013-11-071-0/+5
| | | | | | | | allowing users to enable them without the packages that depend on them Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: image: add EOF marker to the WNDR4300 UBI imageGabor Juhos2013-11-071-9/+6
| | | | | | | | | | | | | | | Append EOF markers to the END of the UBI image file. This forces the kernel to erase all blocks after the marker even if those blocks are not empty. Additionally, the resulting image can be flashed from the original web UI now, so use '-factory' suffix for that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: add EOF marker support to libubigen/ubinizeGabor Juhos2013-11-072-0/+166
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.10: add EOF marker support to the UBI layerGabor Juhos2013-11-071-0/+51
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: fix extroot/extoverlay mounting by label and support mounting by ↵Jo-Philipp Wich2013-11-071-2/+2
| | | | | | device name git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ubox: update to latest git headJohn Crispin2013-11-071-2/+2
| | | | | | | | support for specifying swap priority from the command line Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38679 3c298f89-4303-0410-b956-a3cf2f4a3e73