Commit graph

85 commits

Author SHA1 Message Date
Gabor Juhos
3cc28b20ab fix a bug in the switch driver, thanks to Thomas Langer for reporting
SVN-Revision: 10075
2008-01-01 12:51:09 +00:00
Gabor Juhos
f6f43b9d40 disable queue of all interfaces when tx ring is full
SVN-Revision: 10073
2008-01-01 11:11:50 +00:00
Gabor Juhos
d322722f26 use reset function on the NP28G boards
SVN-Revision: 9963
2007-12-27 15:10:56 +00:00
Gabor Juhos
c128344870 change switch register access macros
SVN-Revision: 9962
2007-12-27 14:58:48 +00:00
Gabor Juhos
cfcbc078dc 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>

SVN-Revision: 9961
2007-12-27 14:40:03 +00:00
Gabor Juhos
ab473bd48f fix compiler warning
SVN-Revision: 9933
2007-12-26 20:55:18 +00:00
Florian Fainelli
4da7f2dbed No need to keep the old driver now
SVN-Revision: 9824
2007-12-22 11:11:01 +00:00
Florian Fainelli
0ac7bc1cfb Compact flash driver is now working
SVN-Revision: 9823
2007-12-22 11:08:26 +00:00
Florian Fainelli
620d050dfa We need to set the gpio line number
SVN-Revision: 9819
2007-12-21 15:26:09 +00:00
Gabor Juhos
c11c4de50b revert [9788], the ADM5120 datasheet v1.16 contains bad values
SVN-Revision: 9790
2007-12-17 16:39:53 +00:00
Gabor Juhos
418b0361ea remove invalid GPIO definitions for the RB153
SVN-Revision: 9789
2007-12-17 16:01:51 +00:00
Gabor Juhos
12295e7c0d fix level setup code for GPIO IRQs
SVN-Revision: 9788
2007-12-17 15:45:16 +00:00
Gabor Juhos
af21faeeb8 minor fixes in the RB153 CF driver
SVN-Revision: 9782
2007-12-16 20:25:38 +00:00
Gabor Juhos
3befb653fa add support for LEDs on the NP28G board, thanks to kenny (closes: #2825)
SVN-Revision: 9781
2007-12-16 19:03:40 +00:00
Gabor Juhos
fa10728685 use a shadow value for the write-only GPIO_CONF2 register
SVN-Revision: 9715
2007-12-12 12:42:40 +00:00
Gabor Juhos
ed7a8ab036 use the right irq_handler in the CF driver
SVN-Revision: 9714
2007-12-12 10:53:49 +00:00
Gabor Juhos
a6a8cb6a55 fix mac address setup on RouterBOARDs
SVN-Revision: 9713
2007-12-12 08:43:41 +00:00
Gabor Juhos
224aaf34ac enable wait state pin for the CF slot on the RB153 board
SVN-Revision: 9709
2007-12-11 17:59:42 +00:00
Gabor Juhos
7afab49bc7 RB153 CF driver fixes
SVN-Revision: 9708
2007-12-11 16:46:55 +00:00
Gabor Juhos
bb6c1aa770 new experimental driver for the CF slot on the RouterBOARD 153
SVN-Revision: 9707
2007-12-11 09:00:06 +00:00
Gabor Juhos
9b9b83976c add support for GPIO IRQs
SVN-Revision: 9700
2007-12-10 14:05:01 +00:00
Florian Fainelli
ab883d42a1 Fix missing return
SVN-Revision: 9683
2007-12-09 15:15:32 +00:00
Florian Fainelli
d37e090fe9 Setup MAC addresses for routerboards
SVN-Revision: 9682
2007-12-09 14:43:42 +00:00
Gabor Juhos
5a9fed951a add copyright header to the USB driver's files
SVN-Revision: 9657
2007-12-05 09:32:04 +00:00
Gabor Juhos
3faf84682b add Edimax BR-61x4WG board support to the LED driver, thanks to scream_ (closes: #2756)
SVN-Revision: 9600
2007-11-26 19:02:12 +00:00
Gabor Juhos
717ff24d47 more USB driver fixes, now it passes usbtests 1-14
SVN-Revision: 9599
2007-11-26 08:49:58 +00:00
Gabor Juhos
4263fdd731 fix USB driver to compile with ADMH_VERBOSE_DEBUG defined
SVN-Revision: 9593
2007-11-23 18:11:49 +00:00
Gabor Juhos
5a1a5dcf58 USB driver updates, the driver passes usbtests 1-10 now
SVN-Revision: 9592
2007-11-23 15:53:35 +00:00
Gabor Juhos
ba82fbff75 more USB driver changes
SVN-Revision: 9550
2007-11-15 09:16:47 +00:00
Gabor Juhos
c80fbd4dc9 USB driver cleanups, no it is still not finished
SVN-Revision: 9543
2007-11-12 13:55:06 +00:00
Gabor Juhos
2e0b2d53d7 fix an unbalanced spinlock issue
SVN-Revision: 9540
2007-11-11 17:56:32 +00:00
Gabor Juhos
98f43a2494 more USB driver fixes [http://openwrt.pastebin.ca/768610 bootlog :)]
SVN-Revision: 9530
2007-11-10 19:20:47 +00:00
Gabor Juhos
cda3dc3ae1 USB driver fixes
SVN-Revision: 9513
2007-11-08 12:28:27 +00:00
Gabor Juhos
3c3dcddb08 disable unsupported boards in the LED driver by default
SVN-Revision: 9500
2007-11-04 17:57:09 +00:00
Gabor Juhos
61f3913d85 only use trxsplit on NOR flash devices
SVN-Revision: 9497
2007-11-04 14:32:28 +00:00
Gabor Juhos
05efcf6975 fix flash driver fixes, call request_mem_region/ioremap_nocache with the correct arguments
SVN-Revision: 9496
2007-11-04 12:58:52 +00:00
Gabor Juhos
7c70e465c7 RB153 must use the generic RB1xx's setup code
SVN-Revision: 9491
2007-11-03 15:35:25 +00:00
Gabor Juhos
bf78b6357d fix USB driver to compile even if USB_DEBUG is disabled
SVN-Revision: 9483
2007-11-02 08:59:37 +00:00
Florian Fainelli
38db1b4adc Fix typo
SVN-Revision: 9482
2007-11-02 07:09:39 +00:00
Gabor Juhos
c88cda562a cleanup USB driver, it's still experimental
SVN-Revision: 9480
2007-11-01 19:25:05 +00:00
Florian Fainelli
647541a1a0 CF driver cleanup
SVN-Revision: 9473
2007-11-01 17:11:16 +00:00
Gabor Juhos
d29af25874 reduce wasted flash space by ~56K on Edimax devices, thanks to Bernhard Held (closes: #2549)
SVN-Revision: 9450
2007-10-26 07:51:49 +00:00
Florian Fainelli
3260efaa90 Fix another wrong shitfing
SVN-Revision: 9447
2007-10-25 16:31:23 +00:00
Florian Fainelli
fae75b2f4d Wrong bit shifting for the cfrdy function, will always return cf-mips busy
SVN-Revision: 9446
2007-10-25 16:22:27 +00:00
Gabor Juhos
5f122462c0 minor cleanups
SVN-Revision: 9423
2007-10-24 08:19:16 +00:00
Gabor Juhos
71f9b205e4 fix flash driver, it should work on RB150 as well
SVN-Revision: 9418
2007-10-23 12:31:13 +00:00
Florian Fainelli
2514d7f799 The RB513 CF driver is now a module, enable it by default for the RB1xx profile. Fix the membase of the CF driver.
SVN-Revision: 9416
2007-10-23 10:46:19 +00:00
Florian Fainelli
2a0ca50ce2 Add preliminary support for the Routerboard 153 CF slot (#2550)
SVN-Revision: 9403
2007-10-22 20:56:34 +00:00
Gabor Juhos
d2cfb2934f add LEDs trigger for switch port states, thanks to Bernhard Held (closes: #2153)
SVN-Revision: 9362
2007-10-20 07:45:08 +00:00
Gabor Juhos
4c093ed622 fix typos in the switch driver, thanks to Bernhard Held (closes: #2573)
SVN-Revision: 9361
2007-10-20 05:51:10 +00:00