Commit Graph

162 Commits

Author SHA1 Message Date
Gabor Juhos
3cc6f9bd75 use __raw_{readl,writel} routines in the GPIO code
SVN-Revision: 11560
2008-06-22 19:08:19 +00:00
Gabor Juhos
cb076ccb14 IRQ code cleanup
SVN-Revision: 11528
2008-06-17 17:46:52 +00:00
Gabor Juhos
13bb189a15 switch to 2.6.25.7
SVN-Revision: 11526
2008-06-17 14:30:18 +00:00
Gabor Juhos
3415b8c044 fix compiler warning
SVN-Revision: 11521
2008-06-17 10:50:06 +00:00
Gabor Juhos
11b8dfe86c add button devices to several boards
SVN-Revision: 11402
2008-06-08 06:37:31 +00:00
Gabor Juhos
9720836ec6 make use the chip_fixup function of the plat_nand driver
SVN-Revision: 11376
2008-06-06 09:03:35 +00:00
Gabor Juhos
df8f1aa9c3 Add leds support for the RB-150, thanks to Evangelos Arkalis
SVN-Revision: 11057
2008-05-07 07:04:27 +00:00
Gabor Juhos
bd507b0146 improve support of the Infineon EASY 5120-RT Reference Board
SVN-Revision: 10996
2008-05-01 18:34:44 +00:00
Gabor Juhos
363c6e196a remove the i2c-gpio-custom driver from adm5120, and make it available on all platforms
SVN-Revision: 10979
2008-04-29 17:18:21 +00:00
Gabor Juhos
bb5cd9c240 fix a bug in the GPIO code
SVN-Revision: 10759
2008-04-07 14:10:37 +00:00
Florian Fainelli
6ca0ebe57c Add leds support for the CAS-771/771w
SVN-Revision: 10739
2008-04-06 10:29:44 +00:00
Gabor Juhos
68658843ab fix RB153 CompactFlash driver for .24
SVN-Revision: 10428
2008-02-09 13:23:48 +00:00
Gabor Juhos
d187aba072 switch to 2.6.24
SVN-Revision: 10427
2008-02-09 10:29:28 +00:00
Gabor Juhos
7b3d603037 fix a switch driver bug
SVN-Revision: 10336
2008-01-31 09:33:19 +00:00
Gabor Juhos
128bb0967a add preliminary support for 2.6.24
SVN-Revision: 10329
2008-01-30 15:25:48 +00:00
Gabor Juhos
9bfca5ce18 don't use mips_machgroup
SVN-Revision: 10328
2008-01-30 14:06:59 +00:00
Gabor Juhos
c7e43709f4 more license cleanups
SVN-Revision: 10327
2008-01-30 13:15:51 +00:00
Gabor Juhos
9c1dfdc702 more license cleanups
SVN-Revision: 10313
2008-01-29 19:56:39 +00:00
Gabor Juhos
6b545cff1d remove some unused files
SVN-Revision: 10308
2008-01-29 08:40:19 +00:00
Gabor Juhos
43a86a8863 add experimental support for the Cellvision NFS-101U device
SVN-Revision: 10307
2008-01-29 08:37:40 +00:00
Gabor Juhos
7d92be2f94 license cleanup
SVN-Revision: 10305
2008-01-29 08:23:40 +00:00
Gabor Juhos
9826bd89d8 remove 'svn:executable' property from adm5120_uart.h (closes #3086)
SVN-Revision: 10275
2008-01-26 15:59:00 +00:00
Gabor Juhos
a3d82d79bf convert Cellvision board structures
SVN-Revision: 10242
2008-01-25 08:16:40 +00:00
Gabor Juhos
6700252dd1 USB driver: fix a bug in isochronous transfers
SVN-Revision: 10219
2008-01-17 20:35:38 +00:00
Gabor Juhos
40ad352b37 fix led driver (closes: #2972)
SVN-Revision: 10115
2008-01-04 14:29:28 +00:00
Florian Fainelli
788647c7f8 Leds have been tested on rb111/112 and rb153
SVN-Revision: 10112
2008-01-04 06:34:36 +00:00
Gabor Juhos
92be73b5cd usb-driver: add preliminary support of ISOCHRONOUS transfer
SVN-Revision: 10077
2008-01-01 14:37:50 +00:00
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
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