Commit Graph

129 Commits (fd47c17700a585f4f292352c654f5c540bb9e8a7)

Author SHA1 Message Date
Florian Fainelli 315352ef91 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 Fainelli 407d7846f4 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 Fainelli d09ad3fcdf 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
Gabor Juhos a66d1b5f48 [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
Gabor Juhos bddfee3d46 [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
Gabor Juhos f07c3ab1d2 [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
Gabor Juhos 82ed2e4288 [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
Gabor Juhos 187f18539d [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
Gabor Juhos 94b114314e [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
Gabor Juhos c4f8cd6b69 [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
Gabor Juhos ee39216f39 [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
Gabor Juhos 7e6956ad88 [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
Gabor Juhos 5273e5143d [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
Gabor Juhos a6f6c97b57 [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
Gabor Juhos 4aa4b0e463 [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 Fainelli d87c247893 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 Fainelli 08375a2aff 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
Gabor Juhos 446c8757d4 [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
Gabor Juhos b7ae6717d8 [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
Gabor Juhos 53fcb443df [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
Gabor Juhos 2afdd180ad [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
Gabor Juhos 86cdb4d96a [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
Gabor Juhos d7b5d927c7 [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
Gabor Juhos 278c0ad4b9 [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
Gabor Juhos a4a8e44e03 [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
Gabor Juhos 6d59c12197 [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
Gabor Juhos 729f425919 [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
Gabor Juhos f753c44204 [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
Gabor Juhos 51aff5b596 [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
Gabor Juhos 26fa4a4bb9 [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
Gabor Juhos fb8d9c84cc [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
Gabor Juhos a26fdea499 [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 Fainelli 06673531d5 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
Gabor Juhos 673b0de153 [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 Fainelli c99cac383e 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
Gabor Juhos a9441b737e [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 Fainelli 1966c6fe33 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 Fainelli a50677440e 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
Gabor Juhos 2b93091bcf [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
Gabor Juhos 198b1c3e4f [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 Fainelli b40a6c7c52 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 Fainelli 4912cdddbb 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
Gabor Juhos 01166f129e [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
Gabor Juhos e7e439aa92 [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
Gabor Juhos ffee907666 [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
Gabor Juhos b9d4c5eca7 [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
Gabor Juhos c0579b3909 [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
Gabor Juhos 634c2b3c2c [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
Gabor Juhos 7223e2e5a9 [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
Gabor Juhos cf069d95f7 [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
Gabor Juhos cd6f7bfac4 [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
Gabor Juhos f9fa7d1f9b [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
Gabor Juhos 5d64844c80 [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
Gabor Juhos c7183451a8 [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
Gabor Juhos 199c2d1ca5 [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
Gabor Juhos b15c2cfca1 [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
Gabor Juhos 9d3acc05d9 [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
Gabor Juhos 7fb67544d3 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
Gabor Juhos 92dbe961a8 [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
Gabor Juhos dda6f40969 [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
Gabor Juhos 2decc7ca04 [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
Gabor Juhos a6dda36206 [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
Gabor Juhos b03283e893 [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
Gabor Juhos 8705832cc8 [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
Gabor Juhos 45b77151c1 [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
Gabor Juhos 1d48cb066a [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
Gabor Juhos 703a095ebb [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
Gabor Juhos 53b44a57cf [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
Gabor Juhos d74ae99fff [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
Gabor Juhos c7f499c2e2 [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
Gabor Juhos 2543435367 [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
Gabor Juhos b0e86d192a [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
Gabor Juhos 9ad881cd76 [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
Gabor Juhos 63ae1bb4fc [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
Gabor Juhos 3ffde39095 [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
Gabor Juhos 6df26abc5c [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
Gabor Juhos cf9515d1f7 [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
Gabor Juhos fe8e67bdf4 [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
Felix Fietkau 92558d67a4 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