summaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag/src/diag.c
Commit message (Collapse)AuthorAgeFilesLines
* broadcom-diag: add diag support for Linksys E1000 V1hauke2013-01-031-0/+27
| | | | | | | | | | | This adds diag leds/buttons support for Linksys E1000 V1. It worked on my router, however it may need some tweaking by people more familiar with openwrt and c to make it fit for commiting. Thank you hhm for this patch. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34996 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [targets] get rid of the IRQF_SAMPLE_RANDOM flagflorian2012-09-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use libgpio instaed of implementing the gpio interface ourself.hauke2012-08-041-34/+74
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] broadcom-diag: add missing brackets breakign the detection logic ↵jow2012-02-171-2/+4
| | | | | | (#10836) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-diag: fix WRT150N/WRT160N detection (patch from #10836)nbd2012-02-121-5/+54
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-diag: add support for some new deviceshauke2012-01-131-0/+73
| | | | | | | | | There is still no Ethernet driver for these devices in trunk. Thanks George Kashperko for the patch. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29735 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-diag: add support for bcmahauke2011-08-041-40/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27905 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update patcheshauke2011-08-041-1/+1
| | | | | | | | | | * this adds sflash support for ssb devices * the flash is now a platform device * minor updates git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27902 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add initial support for devices with bcma bus.hauke2011-06-281-33/+40
| | | | | | | Ethernet and wifi are not working and this is highly experimental. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27301 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add Netgear WNR834BV1hauke2011-04-081-5/+18
| | | | | | | | | Thank you realopty for the patch. This closes #7702 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Add edimax PS1208mfg supporthauke2010-12-021-1/+19
| | | | | | | Thank you clemvangelis for the patches. (closes #7672) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] broadcom-diag: SimpleShare: expose power button as reset to the ↵jow2010-09-131-2/+1
| | | | | | system, remove actual reset button - it's hardwired and will reset the SoC (#7928) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/broadcom-diag: use broadcast_ueventjuhosg2010-08-311-5/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22860 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix warning introduced in r22516.hauke2010-08-061-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22521 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2hauke2010-08-061-0/+18
| | | | | | | | | | Thank you realopty for the patch. tools/firmware-utils/src/mkchkimg.c is from http://www.myopenrouter.com/download/10611/mkchkimg/ This closes #7702. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-diag: detect more variants of SimpleTech SimpleSharenbd2010-07-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix GPIO pin for G3GV2-VFmarkus2010-07-011-1/+1
| | | | | | | | Signed-off-by: Niclas Koeser <nks@informatik.uni-kiel.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove linux 2.4 support from several packagesnbd2010-06-261-68/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/broadcom-diag: fix USB led polarity on Asus WL-HDD (closes: #7055)nico2010-04-151-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* added WRT54G3GV2-VF detection to broadcom-diagmarkus2010-04-071-0/+16
| | | | | | | | | | | + diag now recognizes the router + basic LEDs work - 3G LED for blink does not work as for the old version so I removed it. Maybe some GPIO probing might help. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20737 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [diag] add missing hunks to recognize the Microsoft MN-700 device (#6749)florian2010-02-281-2/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm-2.4] add support for OvisLink WL-1600GLjow2010-01-211-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] add western digital netcenter support to broadcom-diag (#6124)florian2010-01-021-0/+31
| | | | | | original patch from Christoph Muellner git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add Askey RT210W support (patch from #6380)nbd2009-12-241-0/+30
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add WRT300N v1.1 support (patch from #6379)nbd2009-12-241-0/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18921 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Added identification of WRT610N and its button/led definitions.nbd2009-08-281-0/+20
| | | | | | Signed-off-by: Tomas Kopal <Tomas.Kopal@altap.cz> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm-2.4] add support for the WRT160N, patch from Westley Paynterflorian2009-07-271-0/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* D-Link DIR-320 support (broadcom-diag)hauke2009-06-141-0/+19
| | | | | | | | | | | | This patch adds D-Link DIR-320 support to broadcom-diag. "reserved" button is the button on the right side of the router without any title. I'm not sure if I've selected right name. Signed-off-by: Leonid Evdokimov <leon@darkk.net.ru> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] recognize WAP54Gv2 and assigne LED and GPIOs (#5335)florian2009-06-131-0/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] fix detection of motorola wr850g, thanks to Vinicius Fonseca, (#4710)florian2009-06-071-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Asus WL-330gE Supportnbd2009-02-221-0/+12
| | | | | | | | | | | | | Here is support for the compact Asus WL-330gE. It uses that all-in-one 5354 Broadcom chip that's also in the WL-520gU, so I assume USB support can be soldered on. I've yet to open up the device, though. Initial flashing is done through the CFE failsafe mode like on other Asus devices, where you boot holding the reset button, the power LED flashes, and you tftp an image. Signed-off-by: David Cooper <dave@kupesoft.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix broadcom-diag on linux 2.6.28 (#4633)nbd2009-02-221-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add proper LED support to broadcom-diag for the Asus WL-320gE/gP routers (#4062)florian2008-10-041-0/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-diag: reset the interrupt mask of configured leds to avoid spurious ↵nbd2008-07-311-0/+1
| | | | | | interrupts git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12030 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm-2.4] fix Dell TrueMobile 2300 v1/v2 detection and network ↵juhosg2008-07-261-4/+20
| | | | | | configuration (closes #2788) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add support for WRT600N and WRT600N v1.1 (#3535)florian2008-07-071-0/+42
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* (1/6) bcm57xx: init from diagnbd2008-06-151-0/+3
| | | | | | | | | | | | | | | | | | | | | I've been working to finish up the bcm57xx module package nbd posted a few months ago. I am no expert, just had some spare time and some motivation. Here is the background: https://dev.openwrt.org/ticket/2744 This first patch disables the bcm57xx gpio setup in broadcom-diag. The switch needs to be initialized by the driver so the driver can then reset the switch ASAP. If the switch isn't reset quickly enough, it will forward packets between the WAN and LAN, which will cause problems with modems that only allow one mac to access the internet. Tested on wrt350n. Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11466 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add Siemens SE505v2 detection to diag (#3416)florian2008-05-311-2/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [bcm47xx] Stopgap compilation fixes for diag and switch under 2.6.25noz2008-05-201-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add support for Asus wl-520gcflorian2008-05-161-0/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix typo in broadcom-diag LED output enablenoz2008-05-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add support for the WL-500gP v2agb2008-03-311-0/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add support for the ASUS WL-520gUagb2008-03-311-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* broadcom-diag cleanupagb2008-03-311-30/+32
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add back Sitecom WL-105b supportflorian2008-01-081-0/+17
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add switch gpio init for bcm57xx (untested, see #2744)nbd2007-11-301-1/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add extra wrt350n leds (patch from #2745)nbd2007-11-301-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9641 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix adm switch misdetection, which led to bogus button events that caused ↵nbd2007-11-161-1/+1
| | | | | | the system to shut down git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add detection support for Buffalo WHR-G125 from #2611florian2007-11-131-0/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9548 3c298f89-4303-0410-b956-a3cf2f4a3e73