juhosg
ec28552f31
[adm5120] add LED definitions for the RB133/133C boards, thanks to Christophe Lucas
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-27 16:57:19 +00:00
nbd
4921c52586
protect the adm5120 pci ops with a spinlock - fixes race conditions that happened in combination with madwifi and more than one card
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-26 21:38:35 +00:00
juhosg
87f5e12cd0
[adm5120] uses AMBA PL010 driver for the serial ports from now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-25 14:47:16 +00:00
juhosg
32543f46ca
[adm5120] cosmetic changes in flash driver
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 19:51:49 +00:00
juhosg
e618dd2230
[adm5120] adm5120_mtd.c is no longer in use
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 13:46:05 +00:00
juhosg
442a48289d
[adm5120] board specific fixes
...
* fix detection of RB-133C, thanks to Christophe Lucas
* fix detection of RB-153
* add support for WP54G-WRT to the lzma-loader
* fix adm5120_mtd.c for WP54G-WRT in 7.07
* now it's ready for the release of 7.07
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23 13:33:56 +00:00
juhosg
bedf02f2fd
[adm5120] fix printk format arguments in memory detection code
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-22 16:08:27 +00:00
juhosg
3b1fa8d2b9
[adm5120] flash driver fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-21 11:05:46 +00:00
juhosg
936d19e10c
[adm5120] fix switch driver, force all packets from all the ports are low priority
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-20 20:46:39 +00:00
florian
921f798f6a
Fixup the hcd driver, add a start/stop/reset/sw_reset functions, should allow it to basically run
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-20 16:26:39 +00:00
juhosg
48b7bf6e3d
[adm5120] fix switch_driver to avoid segfaults
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-20 09:07:18 +00:00
juhosg
547672a7cb
[adm5120] update trxsplit
...
* use generic rootfs_split feature
* resync kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-20 08:47:02 +00:00
florian
3295cd2c88
Fix indentation for add_mtd_partitions ( #2072 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-19 19:03:10 +00:00
florian
fd96b4e157
Put the init flag in the structure
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-19 12:54:17 +00:00
florian
388d9e834c
Replace hardcoded values with their correct definitions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 17:27:40 +00:00
florian
5b386e7073
Convert the nand driver to a platform_device, should only allow routerboards to use it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 17:16:36 +00:00
florian
ae505386e5
Load the appropriate MTD driver if we were booted from NOR/NAND only, use the TRX mapping by default if bootloader unknown
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 12:13:37 +00:00
juhosg
94ccfb64e7
[adm5120] restore support for Infineon's EASY 5120 boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-17 15:43:58 +00:00
florian
72f8c837fe
Adm5120 NAPI polling support and fixes by Thomas Langer and Friedrich Beckmann
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-17 08:33:41 +00:00
florian
ef4dee9385
Fix warnings
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-17 08:32:29 +00:00
juhosg
dcd9e5ec4d
[adm5120] fix of the board specific initialization of the GPIO pins
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-15 19:01:19 +00:00
juhosg
f703397c58
[adm5120] flash driver shows the correct chip size from now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 16:15:10 +00:00
florian
188357d5dd
Fix the section mismatch on the serial driver ( #2076 ), thanks Thomas !
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7967 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 13:14:08 +00:00
juhosg
b549f7c5f4
[adm5120] fix detection of admboot based boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 19:26:20 +00:00
juhosg
37587c4a8a
[adm5120] remove hardware accelerated byte swapping feature, and resync kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 15:21:17 +00:00
juhosg
015aed1317
[adm5120] refactor kernel code (part 1), mark it as broken now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-11 13:00:27 +00:00
juhosg
cd7b6d1acc
[adm5120] rewrite of memory detection code, should be fix #1909
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-01 09:30:21 +00:00
juhosg
8b2c7d0c93
[adm5120] update to 2.6.22-rc6
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 16:08:28 +00:00
juhosg
bde926c100
[adm5120] replace led driver, and resync kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-27 18:22:38 +00:00
juhosg
a5ce51c5c3
[adm5120] calling of prom_detect_board is needed only when we still don't know the board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-26 19:41:00 +00:00
juhosg
bc03d2d184
[adm5120]: from now on, the kernel parses parameters passed by our lzma-loader
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25 11:12:51 +00:00
juhosg
cad5267742
[adm5120] fix hardware byte swapping to work in little endian mode as well
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-23 05:30:31 +00:00
juhosg
cb8ae31e96
[adm5120] add initial support for hardware accelerated byte swapping
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-22 10:16:47 +00:00
florian
b074a1feb9
Resync kernel config, preliminary bandwidth control mgmt for the adm5120 switch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-17 14:05:59 +00:00
florian
23314df949
New PCI fixup version, should better assign IRQs for boards, thanks Gabor !
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-17 14:04:15 +00:00
florian
5da973430e
Fix memory detection and hcd compilation, thanks Gabor ! ( closes #1813 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-14 11:59:31 +00:00
florian
54b146846b
Better macronix bottom boot handling, thanks Gabor !
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-13 18:10:25 +00:00
florian
8652c1f1c9
Fix the irq mapping for routerboard devices ( #1843 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-11 10:07:52 +00:00
florian
cae2da0e30
Use the flash0_size from the adm5120_board structure to correctly remap the flash ( #1855 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-10 18:43:49 +00:00
florian
5d3ad7d506
Change the main partition to be named rootfs so that the scripts mount it
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 13:03:17 +00:00
florian
463c4d86fe
USB probe rewrite, really needs testing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-05 14:03:42 +00:00
florian
558115a641
Fix endianness issues with adm5120eb, thanks to Gabor !
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 15:25:05 +00:00
florian
1bb633f63b
adm5120 timing specific routines, was part of the IRQ handling rewritte
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 08:52:16 +00:00
florian
8366dfac71
IRQ handler rewrite by Gabor Juhos, uses C no longer assembly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-02 23:13:51 +00:00
florian
8d38d3e0c2
Use the cmdline hacked's prom.c and disable this patching part accordingly
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-30 10:32:32 +00:00
florian
f203cd4d6d
Minor fixes, do not count interrupts without interrupt source as spurious ( #1755 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-30 09:48:57 +00:00
florian
e85e700168
Add the rbmipsnand fix from #1778
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-29 17:28:06 +00:00
florian
60e97b82f7
.21 fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-29 16:56:15 +00:00
florian
93f0b2377f
Fix .21 compilation on memory.c ( #1778 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-29 13:44:46 +00:00
florian
84fdb577b9
Fix adm5120hcd compilation error ( #1738 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-22 10:19:29 +00:00