aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag/src/diag.c
Commit message (Collapse)AuthorAgeFilesLines
* packages: clean up the package folderJohn Crispin2013-06-211-1807/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37007
* broadcom-diag: support for the WNDR3700v3Hauke Mehrtens2013-04-281-18/+102
| | | | | | | | | | | | | | I recently picked up a WNDR3700 to put OpenWRT on, and only after tearing into the box did I find it was one of the v3 boards, with poor OpenWRT support. This patch should add the board detection and LED/button control to the broadcom-diag module, and should generate a netgear .chk image that the bootloader and stock firmware will accept. The changes to the broadcom-diag module are more than a few lines because the WNDR3700v3 is driving its LEDs through an HC164 8-bit shift register. Signed-off-by: Owen Kirby <osk@exegin.com> SVN-Revision: 36482
* broadcom-diag: add support for e3200 v1Hauke Mehrtens2013-02-241-0/+15
| | | | | | | | | | | Hex values in nvram seem to be uppercase on my e3200 device. Define one power led and two buttons (reset/wps). Signed-off-by: Tijs Van Buggenhout <tvb@able.be> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 35766
* broadcom-diag: Detection of WNDR3400v1Hauke Mehrtens2013-02-241-0/+19
| | | | | | | | | | | | | | nvram variable "boardtype" is unique for now. -button gpio were taken from nvram. -led information was taken from dd-wrt ( http://svn.dd-wrt.com/browser/src/router/libutils/utils.c ) I hope that I changed the values correctly. Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 35765
* broadcom-diag: use new in kernel board detection codeHauke Mehrtens2013-02-241-117/+93
| | | | SVN-Revision: 35764
* broadcom-diag: add diag support for Linksys E1000 V1Hauke Mehrtens2013-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. SVN-Revision: 34996
* get rid of the IRQF_SAMPLE_RANDOM flagFlorian Fainelli2012-09-261-1/+1
| | | | SVN-Revision: 33558
* brcm47xx: use libgpio instaed of implementing the gpio interface ourself.Hauke Mehrtens2012-08-041-34/+74
| | | | SVN-Revision: 32992
* broadcom-diag: add missing brackets breakign the detection logic (#10836)Jo-Philipp Wich2012-02-171-2/+4
| | | | SVN-Revision: 30610
* broadcom-diag: fix WRT150N/WRT160N detection (patch from #10836)Felix Fietkau2012-02-121-5/+54
| | | | SVN-Revision: 30477
* broadcom-diag: add support for some new devicesHauke Mehrtens2012-01-131-0/+73
| | | | | | | | There is still no Ethernet driver for these devices in trunk. Thanks George Kashperko for the patch. SVN-Revision: 29735
* broadcom-diag: add support for bcmaHauke Mehrtens2011-08-041-40/+33
| | | | SVN-Revision: 27905
* brcm47xx: update patchesHauke Mehrtens2011-08-041-1/+1
| | | | | | | | * this adds sflash support for ssb devices * the flash is now a platform device * minor updates SVN-Revision: 27902
* brcm47xx: add initial support for devices with bcma bus.Hauke Mehrtens2011-06-281-33/+40
| | | | | | Ethernet and wifi are not working and this is highly experimental. SVN-Revision: 27301
* brcm47xx: add Netgear WNR834BV1Hauke Mehrtens2011-04-081-5/+18
| | | | | | | | Thank you realopty for the patch. This closes #7702 SVN-Revision: 26537
* brcm47xx: Add edimax PS1208mfg supportHauke Mehrtens2010-12-021-1/+19
| | | | | | Thank you clemvangelis for the patches. (closes #7672) SVN-Revision: 24217
* broadcom-diag: SimpleShare: expose power button as reset to the system, ↵Jo-Philipp Wich2010-09-131-2/+1
| | | | | | remove actual reset button - it's hardwired and will reset the SoC (#7928) SVN-Revision: 23043
* package/broadcom-diag: use broadcast_ueventGabor Juhos2010-08-311-5/+2
| | | | SVN-Revision: 22860
* brcm47xx: fix warning introduced in r22516.Hauke Mehrtens2010-08-061-1/+1
| | | | SVN-Revision: 22521
* brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2Hauke Mehrtens2010-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. SVN-Revision: 22516
* broadcom-diag: detect more variants of SimpleTech SimpleShareFelix Fietkau2010-07-101-1/+1
| | | | SVN-Revision: 22112
* fix GPIO pin for G3GV2-VFMarkus Wigge2010-07-011-1/+1
| | | | | | Signed-off-by: Niclas Koeser <nks@informatik.uni-kiel.de> SVN-Revision: 22018
* remove linux 2.4 support from several packagesFelix Fietkau2010-06-261-68/+0
| | | | SVN-Revision: 21954
* package/broadcom-diag: fix USB led polarity on Asus WL-HDD (closes: #7055)Nicolas Thill2010-04-151-1/+1
| | | | SVN-Revision: 20869
* added WRT54G3GV2-VF detection to broadcom-diagMarkus Wigge2010-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. SVN-Revision: 20737
* add missing hunks to recognize the Microsoft MN-700 device (#6749)Florian Fainelli2010-02-281-2/+20
| | | | SVN-Revision: 19896
* add support for OvisLink WL-1600GLJo-Philipp Wich2010-01-211-0/+20
| | | | SVN-Revision: 19262
* add western digital netcenter support to broadcom-diag (#6124) original ↵Florian Fainelli2010-01-021-0/+31
| | | | | | patch from Christoph Muellner SVN-Revision: 19008
* add Askey RT210W support (patch from #6380)Felix Fietkau2009-12-241-0/+30
| | | | SVN-Revision: 18922
* add WRT300N v1.1 support (patch from #6379)Felix Fietkau2009-12-241-0/+17
| | | | SVN-Revision: 18921
* Added identification of WRT610N and its button/led definitions.Felix Fietkau2009-08-281-0/+20
| | | | | | Signed-off-by: Tomas Kopal <Tomas.Kopal@altap.cz> SVN-Revision: 17434
* add support for the WRT160N, patch from Westley PaynterFlorian Fainelli2009-07-271-0/+16
| | | | SVN-Revision: 17031
* D-Link DIR-320 support (broadcom-diag)Hauke Mehrtens2009-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> SVN-Revision: 16443
* recognize WAP54Gv2 and assigne LED and GPIOs (#5335)Florian Fainelli2009-06-131-0/+13
| | | | SVN-Revision: 16434
* fix detection of motorola wr850g, thanks to Vinicius Fonseca, (#4710)Florian Fainelli2009-06-071-0/+2
| | | | SVN-Revision: 16367
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | SVN-Revision: 15242
* Asus WL-330gE SupportFelix Fietkau2009-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> SVN-Revision: 14624
* fix broadcom-diag on linux 2.6.28 (#4633)Felix Fietkau2009-02-221-3/+3
| | | | SVN-Revision: 14618
* Add proper LED support to broadcom-diag for the Asus WL-320gE/gP routers (#4062)Florian Fainelli2008-10-041-0/+14
| | | | SVN-Revision: 12855
* broadcom-diag: reset the interrupt mask of configured leds to avoid spurious ↵Felix Fietkau2008-07-311-0/+1
| | | | | | interrupts SVN-Revision: 12030
* fix Dell TrueMobile 2300 v1/v2 detection and network configuration (closes ↵Gabor Juhos2008-07-261-4/+20
| | | | | | #2788) SVN-Revision: 11935
* Add support for WRT600N and WRT600N v1.1 (#3535)Florian Fainelli2008-07-071-0/+42
| | | | SVN-Revision: 11740
* (1/6) bcm57xx: init from diagFelix Fietkau2008-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> SVN-Revision: 11466
* Add Siemens SE505v2 detection to diag (#3416)Florian Fainelli2008-05-311-2/+6
| | | | SVN-Revision: 11308
* Stopgap compilation fixes for diag and switch under 2.6.25Peter Denison2008-05-201-4/+4
| | | | SVN-Revision: 11231
* Add support for Asus wl-520gcFlorian Fainelli2008-05-161-0/+14
| | | | SVN-Revision: 11145
* Fix typo in broadcom-diag LED output enablePeter Denison2008-05-121-1/+1
| | | | SVN-Revision: 11125
* Add support for the WL-500gP v2Andy Boyett2008-03-311-0/+13
| | | | SVN-Revision: 10693
* Add support for the ASUS WL-520gUAndy Boyett2008-03-311-0/+19
| | | | SVN-Revision: 10692
* broadcom-diag cleanupAndy Boyett2008-03-311-30/+32
| | | | SVN-Revision: 10691