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
Gabor Juhos
36a1feebdd
add ids for Edimax BR-6104Wg boards
...
SVN-Revision: 9342
2007-10-18 07:40:01 +00:00
Gabor Juhos
5044a3267a
fix initcall level in i2c-gpio-custom driver if not built as a module
...
SVN-Revision: 9341
2007-10-17 17:26:54 +00:00
Gabor Juhos
49b631d730
switch driver cleanup, 4th phase
...
SVN-Revision: 9340
2007-10-17 08:10:47 +00:00
Gabor Juhos
c96dcab711
switch driver cleanup, 3rd phase
...
SVN-Revision: 9334
2007-10-16 13:12:51 +00:00
Gabor Juhos
63c27908bf
switch driver cleanup, 2nd phase
...
SVN-Revision: 9330
2007-10-16 08:15:18 +00:00
Gabor Juhos
9d685a8597
switch driver cleanup, 1st phase
...
SVN-Revision: 9324
2007-10-15 06:22:34 +00:00
Gabor Juhos
0fa0801a32
coding style fixes
...
SVN-Revision: 9263
2007-10-11 15:09:50 +00:00
Gabor Juhos
efae7cd5e8
fix LED driver, update kernel config
...
SVN-Revision: 9261
2007-10-11 10:59:58 +00:00
Gabor Juhos
a72e25de51
switch to 2.6.23
...
SVN-Revision: 9260
2007-10-11 09:11:56 +00:00
Gabor Juhos
2dd2d40b59
enhance the custom i2c-gpio driver (supports 4 buses from now on), update kernel configuration
...
SVN-Revision: 9244
2007-10-10 14:14:34 +00:00
Gabor Juhos
c0fb2f61f4
add custom GPIO-based I2C driver
...
SVN-Revision: 9218
2007-10-09 19:23:22 +00:00
Gabor Juhos
f1e27efedd
NAND driver cleanups, thanks to Alexandros C. Couloumbis for testing * use generic NAND driver from now * add experimental support for RouterBOARD 150 NAND device
...
SVN-Revision: 9118
2007-10-04 10:56:38 +00:00
Gabor Juhos
ffec4f2913
prepare trxsplit to support sysupgrade
...
SVN-Revision: 9085
2007-10-01 09:51:32 +00:00
Gabor Juhos
962738bdac
make morse LED trigger available for all platforms
...
SVN-Revision: 9055
2007-09-28 20:06:52 +00:00
Gabor Juhos
e56807cce4
morse LED trigger cleanups
...
SVN-Revision: 9054
2007-09-28 19:01:19 +00:00
Gabor Juhos
c0b6f79730
add morse LED trigger, will be used for diagnostic, update kernel config
...
SVN-Revision: 9053
2007-09-28 06:32:40 +00:00
Gabor Juhos
df39c50c9a
fix mach_type for the WP54G-WRT board
...
SVN-Revision: 9040
2007-09-26 17:58:44 +00:00
Gabor Juhos
1c492d9972
add missing PCI irq map for the RouterBOARD 133 ( closes #2431 )
...
SVN-Revision: 9039
2007-09-26 17:05:16 +00:00
Gabor Juhos
000b777b73
remove unused PCI externs
...
SVN-Revision: 9017
2007-09-25 13:45:57 +00:00
Gabor Juhos
728ec89e7d
fix initcall level of adm5120_board_setup()
...
SVN-Revision: 9016
2007-09-25 13:42:45 +00:00
Gabor Juhos
6e7fafe998
move pci_irq_map definitions into the board specific files
...
SVN-Revision: 9009
2007-09-24 16:59:23 +00:00
Gabor Juhos
aa372ac901
fix a copy-paste error
...
SVN-Revision: 8979
2007-09-23 14:04:46 +00:00
Gabor Juhos
66e3ba92bc
add preliminary support for the Mikrotik RouterBOARD 192
...
SVN-Revision: 8978
2007-09-23 13:11:35 +00:00
Gabor Juhos
ae0d98552d
fix ethernet vlan matrix of the NP28G board ( closes : #2387 )
...
SVN-Revision: 8977
2007-09-23 13:05:33 +00:00
Gabor Juhos
cc68bd353e
rename NAND driver
...
SVN-Revision: 8932
2007-09-21 19:00:45 +00:00
Gabor Juhos
a34a13c09c
checkin a new, experimental USB driver
...
SVN-Revision: 8905
2007-09-21 07:32:19 +00:00
Gabor Juhos
ac15780234
fix memory size detection ( #2244 )
...
SVN-Revision: 8728
2007-09-10 09:54:35 +00:00
Gabor Juhos
741c1f7997
use the global register access macros in the flash driver
...
SVN-Revision: 8707
2007-09-09 13:28:24 +00:00
Gabor Juhos
108723067b
remove volatile derefs
...
SVN-Revision: 8706
2007-09-09 12:54:11 +00:00
Gabor Juhos
187ef4c639
cleanup memory detection code, fix #2244
...
SVN-Revision: 8705
2007-09-09 12:50:32 +00:00
Gabor Juhos
6ea4ccc158
define more SWITCH/MPMC constants
...
SVN-Revision: 8704
2007-09-09 12:45:49 +00:00
Gabor Juhos
1937e8382a
remove redundant EXTRA_AFLAGS
...
SVN-Revision: 8703
2007-09-09 12:40:44 +00:00
Gabor Juhos
1665832e68
cleanup IRQ code
...
SVN-Revision: 8701
2007-09-09 07:33:33 +00:00
Gabor Juhos
73b2555da2
cleanup PCI code
...
SVN-Revision: 8700
2007-09-09 06:41:19 +00:00
Felix Fietkau
56231056ea
strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
...
SVN-Revision: 8653
2007-09-06 16:27:37 +00:00