1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-25 07:18:06 +02:00
Commit Graph

136 Commits

Author SHA1 Message Date
juhosg
9fe061d4a7 [adm5120] usb-driver: add preliminary support of ISOCHRONOUS transfer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-01 14:37:50 +00:00
juhosg
7efcb9dea3 [adm5120] fix a bug in the switch driver, thanks to Thomas Langer for reporting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-01 12:51:09 +00:00
juhosg
b1ff7c57dd [adm5120] disable queue of all interfaces when tx ring is full
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-01 11:11:50 +00:00
juhosg
53b8af463e [adm5120] use reset function on the NP28G boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 15:10:56 +00:00
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
juhosg
bf123d56d4 [adm5120] switch driver cleanup, 3rd phase
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-16 13:12:51 +00:00
juhosg
ca2070ed58 [adm5120] switch driver cleanup, 2nd phase
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-16 08:15:18 +00:00
juhosg
6638b8471f [adm5120] switch driver cleanup, 1st phase
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-15 06:22:34 +00:00
juhosg
ec6d32f924 [adm5120] coding style fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 15:09:50 +00:00
juhosg
2b2bc6c3cc [adm5120] fix LED driver, update kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 10:59:58 +00:00
juhosg
572b00c7f4 [adm5120] switch to 2.6.23
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-11 09:11:56 +00:00
juhosg
76d4ca5d50 [adm5120] enhance the custom i2c-gpio driver (supports 4 buses from now on), update kernel configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-10 14:14:34 +00:00
juhosg
459f908815 [adm5120] add custom GPIO-based I2C driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-09 19:23:22 +00:00
juhosg
b3c83b3b21 [adm5120] NAND driver cleanups, thanks to Alexandros C. Couloumbis for testing
* use generic NAND driver from now
* add experimental support for RouterBOARD 150 NAND device


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-04 10:56:38 +00:00
juhosg
f6225af7d0 [adm5120] prepare trxsplit to support sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-01 09:51:32 +00:00
juhosg
838cafeae2 make morse LED trigger available for all platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28 20:06:52 +00:00
juhosg
aeb4ac4013 [adm5120] morse LED trigger cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28 19:01:19 +00:00
juhosg
269c5ad7a1 [adm5120] add morse LED trigger, will be used for diagnostic, update kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28 06:32:40 +00:00
juhosg
be34bd16b4 [adm5120] fix mach_type for the WP54G-WRT board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-26 17:58:44 +00:00
juhosg
69a5f0766e [adm5120] add missing PCI irq map for the RouterBOARD 133 (closes #2431)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-26 17:05:16 +00:00
juhosg
58e6e8c434 [adm5120] remove unused PCI externs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-25 13:45:57 +00:00
juhosg
d70f76b1dd [adm5120] fix initcall level of adm5120_board_setup()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-25 13:42:45 +00:00
juhosg
6cfe1b25df [adm5120] move pci_irq_map definitions into the board specific files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-24 16:59:23 +00:00
juhosg
d283300b35 [adm5120] fix a copy-paste error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 14:04:46 +00:00
juhosg
327d37a974 [adm5120] add preliminary support for the Mikrotik RouterBOARD 192
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 13:11:35 +00:00
juhosg
1ab846c8f0 [adm5120] fix ethernet vlan matrix of the NP28G board (closes: #2387)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-23 13:05:33 +00:00
juhosg
202118260a [adm5120] rename NAND driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 19:00:45 +00:00
juhosg
1533187684 [adm5120] checkin a new, experimental USB driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-21 07:32:19 +00:00
juhosg
cc966472c3 [adm5120] fix memory size detection (#2244)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 09:54:35 +00:00
juhosg
6c0eb0af8c [adm5120] use the global register access macros in the flash driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 13:28:24 +00:00
juhosg
9b5bc78c64 [adm5120] remove volatile derefs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 12:54:11 +00:00
juhosg
aa10218a50 [adm5120] cleanup memory detection code, fix #2244
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 12:50:32 +00:00
juhosg
f9d0242a80 [adm5120] define more SWITCH/MPMC constants
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 12:45:49 +00:00
juhosg
5798228110 [adm5120] remove redundant EXTRA_AFLAGS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 12:40:44 +00:00
juhosg
2bc788fc0d [adm5120] cleanup IRQ code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 07:33:33 +00:00
juhosg
70cd6b2ff5 [adm5120] cleanup PCI code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 06:41:19 +00:00
nbd
17c7b6c3fd 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-06 16:27:37 +00:00