juhosg
23d61f22e9
[adm5120] change switch register access macros
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 14:58:48 +00:00
juhosg
4bb1a03501
[adm5120] add watchdog driver
...
Here is the driver for the hardware watchdog timer
in ADM5120 SoC. Patch is against current svn Kamikaze.
Here is only kernel driver. To activate watchdog you have
to use some userspace software writing to watchdog
device. I think there is one in busybox.
Signed-off-by: Ondrej Zajicek <santiago@crfreenet.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 14:40:03 +00:00
juhosg
2792651565
[adm5120] fix compiler warning
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-26 20:55:18 +00:00
florian
831f332570
No need to keep the old driver now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-22 11:11:01 +00:00
florian
2da5dcf199
Compact flash driver is now working
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-22 11:08:26 +00:00
florian
05ecf0e675
We need to set the gpio line number
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-21 15:26:09 +00:00
juhosg
ab35af6017
[adm5120] revert [9788], the ADM5120 datasheet v1.16 contains bad values
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-17 16:39:53 +00:00
juhosg
140ea29a53
[adm5120] remove invalid GPIO definitions for the RB153
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-17 16:01:51 +00:00
juhosg
477b3dc642
[adm5120] fix level setup code for GPIO IRQs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-17 15:45:16 +00:00
juhosg
8518140f4e
[adm5120] minor fixes in the RB153 CF driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-16 20:25:38 +00:00
juhosg
07bf189795
[adm5120] add support for LEDs on the NP28G board, thanks to kenny ( closes : #2825 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-16 19:03:40 +00:00
juhosg
f2a4b6b5a6
[adm5120] use a shadow value for the write-only GPIO_CONF2 register
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-12 12:42:40 +00:00
juhosg
444d504487
[adm5120] use the right irq_handler in the CF driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-12 10:53:49 +00:00
juhosg
0bebc59f0a
[adm5120] fix mac address setup on RouterBOARDs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-12 08:43:41 +00:00
juhosg
d62dc9dbcf
[adm5120] enable wait state pin for the CF slot on the RB153 board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-11 17:59:42 +00:00
juhosg
c55e60e2ba
[adm5120] RB153 CF driver fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-11 16:46:55 +00:00
juhosg
a7f49cd3e8
[adm5120] new experimental driver for the CF slot on the RouterBOARD 153
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-11 09:00:06 +00:00
juhosg
75866965cd
[adm5120] add support for GPIO IRQs
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-10 14:05:01 +00:00
florian
26e5350908
Fix missing return
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-09 15:15:32 +00:00
florian
c006847c0b
Setup MAC addresses for routerboards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-09 14:43:42 +00:00
juhosg
b4f5ad4506
[adm5120] add copyright header to the USB driver's files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-05 09:32:04 +00:00
juhosg
082dc936c4
[adm5120] add Edimax BR-61x4WG board support to the LED driver, thanks to scream_ ( closes : #2756 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-26 19:02:12 +00:00
juhosg
caf5ee317c
[adm5120] more USB driver fixes, now it passes usbtests 1-14
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-26 08:49:58 +00:00
juhosg
1f01b9bc98
[adm5120] fix USB driver to compile with ADMH_VERBOSE_DEBUG defined
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-23 18:11:49 +00:00
juhosg
6c9a138d3c
[adm5120] USB driver updates, the driver passes usbtests 1-10 now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-23 15:53:35 +00:00
juhosg
7fcae4c7e6
[adm5120] more USB driver changes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-15 09:16:47 +00:00
juhosg
f02f581137
[adm5120] USB driver cleanups, no it is still not finished
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-12 13:55:06 +00:00
juhosg
5251857754
[adm5120] fix an unbalanced spinlock issue
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-11 17:56:32 +00:00
juhosg
00549f6de0
[adm5120] more USB driver fixes [ http://openwrt.pastebin.ca/768610 bootlog :)]
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 19:20:47 +00:00
juhosg
2fd852f1f1
[adm5120] USB driver fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-08 12:28:27 +00:00
juhosg
95dac0f449
[adm5120] disable unsupported boards in the LED driver by default
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-04 17:57:09 +00:00
juhosg
ccc71d745c
[adm5120] only use trxsplit on NOR flash devices
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-04 14:32:28 +00:00
juhosg
f54e89aeed
[adm5120] fix flash driver fixes, call request_mem_region/ioremap_nocache with the correct arguments
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-04 12:58:52 +00:00
juhosg
def6198007
[adm5120] RB153 must use the generic RB1xx's setup code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-03 15:35:25 +00:00
juhosg
4c5a099db2
[adm5120] fix USB driver to compile even if USB_DEBUG is disabled
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-02 08:59:37 +00:00
florian
4aff5f50a3
Fix typo
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-02 07:09:39 +00:00
juhosg
9f72687ef4
[adm5120] cleanup USB driver, it's still experimental
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-01 19:25:05 +00:00
florian
a3f3528dd9
CF driver cleanup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-01 17:11:16 +00:00
juhosg
943472dc74
[adm5120] reduce wasted flash space by ~56K on Edimax devices, thanks to Bernhard Held ( closes : #2549 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-26 07:51:49 +00:00
florian
fbdb30b9c6
Fix another wrong shitfing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-25 16:31:23 +00:00
florian
56daf77aa7
Wrong bit shifting for the cfrdy function, will always return cf-mips busy
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-25 16:22:27 +00:00
juhosg
ccd282813d
[adm5120] minor cleanups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 08:19:16 +00:00
juhosg
f9d0822cd1
[adm5120] fix flash driver, it should work on RB150 as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 12:31:13 +00:00
florian
3fb6c53e6d
The RB513 CF driver is now a module, enable it by default for the RB1xx profile.
...
Fix the membase of the CF driver.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-23 10:46:19 +00:00
florian
663af573eb
Add preliminary support for the Routerboard 153 CF slot ( #2550 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-22 20:56:34 +00:00
juhosg
07c2f61f37
[adm5120] add LEDs trigger for switch port states, thanks to Bernhard Held ( closes : #2153 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-20 07:45:08 +00:00
juhosg
062edcd887
[adm5120] fix typos in the switch driver, thanks to Bernhard Held ( closes : #2573 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-20 05:51:10 +00:00
juhosg
cacf9b5733
[adm5120] add ids for Edimax BR-6104Wg boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 07:40:01 +00:00
juhosg
a85c9cccb5
[adm5120] fix initcall level in i2c-gpio-custom driver if not built as a module
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-17 17:26:54 +00:00
juhosg
06b8f37644
[adm5120] switch driver cleanup, 4th phase
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-17 08:10:47 +00:00