History log of /src/sys/arch/mips/adm5120/adm5120_intr.c |
Revision | | Date | Author | Comments |
1.9 |
| 04-Jan-2021 |
thorpej | malloc(9) -> kmem(9)
|
1.8 |
| 10-Nov-2019 |
chs | branches: 1.8.8; in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT and remove code to handle failures that can no longer happen.
|
1.7 |
| 26-Aug-2016 |
skrll | branches: 1.7.16; Adjust evbmips_iointr to pass a clockframe pointer and use it for pwmclock @ voyager.
Suggested by matt@
Hi macallan!
|
1.6 |
| 10-Jul-2011 |
matt | branches: 1.6.12; 1.6.30; Fix machine/ includes
|
1.5 |
| 01-Jul-2011 |
dyoung | #include <sys/bus.h> instead of <machine/bus.h>.
|
1.4 |
| 20-Feb-2011 |
matt | Merge forward from matt-nb5-mips64.
|
1.3 |
| 28-Apr-2008 |
martin | branches: 1.3.18; 1.3.22; 1.3.28; 1.3.30; Remove clause 3 and 4 from TNF licenses
|
1.2 |
| 15-Jan-2008 |
dyoung | branches: 1.2.6; 1.2.8; 1.2.10; Change software interrupts initialization, and add an #include, to help ADM5120 support compile in -current again.
|
1.1 |
| 20-Mar-2007 |
dyoung | branches: 1.1.2; 1.1.4; 1.1.18; 1.1.20; 1.1.26; 1.1.32; Add a port to the Infineon ADM5120.
Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a 6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller, USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a multiport memory controller with both NOR and NAND flash support. This code supports most of the devices on the ADM5120, including the 6-port switch (each port attaches as an ethernet, admsw0 through admsw5), the PCI controller, USB controller, GPIO, watchdog, and UART.
Remaining work: the port includes no NOR/NAND flash drivers. No bootloader is included. I have only tested the PCI bus driver with the use of one PCI slot on the RouterBOARD 153. It is not possible to exploit the capabilities of the ethernet switch using bridge(4). I have only netbooted the ADM5120 on the RB153. Booting other boards, and booting from flash memory, remains to be done.
Hardware availability: many low-cost routers, including the RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120 processor.
Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120, and they wrote device drivers for the UART, USB controller, and 10/100 switch. Matt Isaacs brought the port up-to-date with NetBSD-current, made it compile, and ran it first on the RB153. I added drivers for the PCI controller, GPIO, and watchdog timer. I produced the bus attachment for the CompactFlash slot with advice from Mikrotik technical support and from Matt Thomas.
|
1.1.32.1 |
| 19-Jan-2008 |
bouyer | Sync with HEAD
|
1.1.26.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.1.20.3 |
| 21-Jan-2008 |
yamt | sync with head
|
1.1.20.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.1.20.1 |
| 20-Mar-2007 |
yamt | file adm5120_intr.c was added on branch yamt-lazymbuf on 2007-09-03 14:27:43 +0000
|
1.1.18.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.1.4.2 |
| 10-Apr-2007 |
ad | Sync with head.
|
1.1.4.1 |
| 20-Mar-2007 |
ad | file adm5120_intr.c was added on branch vmlocking on 2007-04-10 13:23:23 +0000
|
1.1.2.2 |
| 24-Mar-2007 |
yamt | sync with head.
|
1.1.2.1 |
| 20-Mar-2007 |
yamt | file adm5120_intr.c was added on branch yamt-idlelwp on 2007-03-24 14:54:49 +0000
|
1.2.10.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.2.8.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.2.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.3.30.1 |
| 05-Mar-2011 |
bouyer | Sync with HEAD
|
1.3.28.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.3.22.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.3.18.4 |
| 28-Feb-2010 |
matt | Add #define __INTR_PRIVATE
|
1.3.18.3 |
| 23-Feb-2010 |
matt | Instead of a read-only ipl_sr_bits, define a ipl_sr_map struct and fill that in the interrupt init routine. There's a default ipl_sr_map will operate correctly, but isn't performant.
|
1.3.18.2 |
| 16-Feb-2010 |
matt | Add __HAVE_PREEMPTION support for NetBSD/mips. Kill IPL_PREEMPT since it isn't needed.
|
1.3.18.1 |
| 15-Feb-2010 |
matt | Adapt to the new interrupt framework for NetBSD/mips.
|
1.6.30.1 |
| 05-Oct-2016 |
skrll | Sync with HEAD
|
1.6.12.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.7.16.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.8.8.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|