Commit Graph

164 Commits (0778adf28a0ffe9566602e3af097bf3b995ec75f)

Author SHA1 Message Date
Gabor Juhos fc6e5812f4 adm5120: remove __dev{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:08:03 +00:00
Gabor Juhos d1746f1489 adm5120: avoid warning caused by wrong AMBA irq values
The amba core throws a warning if -1 is used as an
irq value since upstream commit:

  2eac58d5026e4ec8b17ff8b62877fea9e1d2f1b3
  ARM: amba: make use of -1 IRQs warn

  Make the core warn about the use of -1 (NO_IRQ)

Cange the value of the unused IRQs to zero for the
UART devices to get rid of the warning.

Based on #12729.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 16:01:17 +00:00
Gabor Juhos 1bb315c9c0 adm5120: remove NAND_NO_AUTOINCR flag from rb1xx.c
Also add a compatibility patch for 3.3.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:30 +00:00
Gabor Juhos e16d2987ec adm5120: use mtd_read helper in trxsplit.c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:20 +00:00
Gabor Juhos 3d264ffd0a adm5120: don't include asm/system.h in adm5120-hcd.c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:15:16 +00:00
Florian Fainelli 75d0271704 [adm5120] do no longer rename amba-pl010 serial devices names
Back in the days when we could not override /etc/inittab, it made a lot
of sense to rename ttyAM to ttyS since this was the only supported
serial device(s), we can now just put in an appropriate /etc/inittab file
now.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-03 16:18:40 +00:00
John Crispin fb47a917c2 drop GPIODEV platform code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 21:53:37 +00:00
Gabor Juhos 2ef5213899 adm5120: move common routerboot definitions into a separate header file
Those will be used on the ar71xx platform as well.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 11:55:42 +00:00
Jonas Gorski dc7a519585 adm5120: add missing NULL terminator to partition parser list
Fixes #11372.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 21:03:50 +00:00
Gabor Juhos 0c2c450f24 adm5120: merge 3.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-29 07:36:43 +00:00
Gabor Juhos 949ba90900 adm5120: make 5GXi depends on CPU_LITTLE_ENDIAN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-25 12:57:26 +00:00
Florian Fainelli 4425b61ca1 [adm5120] fix typos in adm5120 switch driver (#4241)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:15 +00:00
Florian Fainelli aa051d5768 [adm5120] add Edimax specific MAGIC_MAC_BASE to read MAC from flash (#4241]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 15:53:12 +00:00
Florian Fainelli 585c56bd1a [adm5120] fix usb mis-cleanup after r27162 (#9581)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-20 10:04:53 +00:00
Florian Fainelli 3d41f1652c [adm5120] cleanup files using checkpatch.pl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-12 19:17:57 +00:00
Felix Fietkau a2f3d92663 adm5120: fix promiscuous mode handling (patch from #8581)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 00:20:59 +00:00
Florian Fainelli 0fbfb17bdf [adm5120] fix p-334wt build
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 21:49:31 +00:00
Florian Fainelli 734780f950 [adm5120] add support for generic eb214a, thanks cezary (#7027)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-18 10:29:58 +00:00
Gabor Juhos bfa2da2042 adm5120: convert to use the new mips multimachine stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-05 18:26:40 +00:00
Gabor Juhos 2670b70915 adm5120: don't use linux/autoconf.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:43 +00:00
Gabor Juhos 3e30c92940 adm5120: fix build error on 2.6.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-04 19:09:39 +00:00
Gabor Juhos 00d3ffab53 adm5120: fix USB LED configuration for the BR-6104KP (closes #4187)
* Thanks to Eugeny Zadevalov


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-09 18:05:55 +00:00
Gabor Juhos 7784039451 adm5120: don't use IRQF_DISABLED flag in the switch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-03 12:14:19 +00:00
Gabor Juhos 37000471b5 adm5120: use enum for MACH_ADM5120_ definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-02 15:52:30 +00:00
Gabor Juhos 25242a70e1 adm5120: nuke adm5120_mach_type, use mips_machtype instead
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-02 15:07:45 +00:00
Gabor Juhos 14d1e17ad3 adm5120: split bootext partition on the ZyXEL P-33x boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-02 15:07:42 +00:00
Gabor Juhos 3707e6c11c adm5120: move early-printk support into a separate file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-02 15:07:34 +00:00
Gabor Juhos 344ba6e886 adm5120: merge 2.6.30+ specific patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-02 15:07:31 +00:00
Florian Fainelli bf85431bc4 [adm5120] fix compilation failure of adm5120-dbg.c with the removal of bus_id
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 15:55:16 +00:00
Gabor Juhos 4987646b74 adm5120: use the generic image_cmdline hack
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-10 18:30:06 +00:00
Gabor Juhos 31309048af [adm5120] show SoC parameters in /proc/cpuinfo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-25 13:28:09 +00:00
Gabor Juhos 60bb2235b3 [adm5120] add support for the OSBRiDGE 5GXi/5XLi (thanks to Mattia Aracne for the board)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-25 08:46:13 +00:00
Gabor Juhos 777de3a39c [adm5120] nuke obsolete kernel include dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-23 19:58:50 +00:00
Gabor Juhos 17bfab8e15 [adm5120] integrate 2.6.28 specific patch into the usb driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-22 06:46:42 +00:00
Gabor Juhos 31502df344 [adm5120] usb driver: fix urb_print function definition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-21 19:05:14 +00:00
Gabor Juhos f187bc4e25 [adm5120] switch to 2.6.28
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-26 06:16:30 +00:00
Gabor Juhos 228bba4286 [adm5120] enable CAS-630/630W support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-08 20:45:50 +00:00
Gabor Juhos e638c5407c [adm5120] nfs-101u: add PCI IRQ map for the NEC USB controller (thanks to Daniel Schmitt for testing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 17:24:07 +00:00
Gabor Juhos 2e54e4a54b [adm5120] NFS-101U/WU: add PCI irq map and change vlan map
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 10:15:39 +00:00
Gabor Juhos f28a98bda4 [adm5120] use mips_machine code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-06 19:25:05 +00:00
Gabor Juhos 30b9e9a0c2 [adm5120] move MyLoader partition parser into generic files, will be used on ar71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 10:14:58 +00:00
Gabor Juhos b161ea8ff7 [adm5120] update MyLoader partition parser, add support of named partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 09:47:03 +00:00
Gabor Juhos d232e90c12 [adm5120] experimental support for 2.6.27
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-05 11:07:49 +00:00
Gabor Juhos 7d7e377ed9 [adm5120] remove 2.6.25 specific stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-13 17:32:20 +00:00
Gabor Juhos 1d6337a683 [adm5120] fix gpio number of the reset button Compex WP54 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-13 16:15:45 +00:00
Gabor Juhos 96677f8beb [adm5120] add alternative board id for the ZyXEL P-334WT
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-07 08:49:23 +00:00
Gabor Juhos 3785877557 [adm5120] experimental gpiodev support (closes #3613)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-05 11:16:46 +00:00
Gabor Juhos 1cd0b487cf [adm5120] fix RB-133/133C led definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 16:11:44 +00:00
Gabor Juhos ffed9795a4 [adm5120] add missing buttons device for RB-1xx boards, thanks to Christophe Lucas
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04 15:21:41 +00:00
Gabor Juhos 7ae6473e35 [adm5120] make use DMA_BIT_MASK
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-28 07:25:40 +00:00