Home | History | Annotate | Download | only in adm5120
History log of /src/sys/arch/mips/adm5120/adm5120_obio_dma.c
RevisionDateAuthorComments
 1.5  09-Jun-2015  matt #include <sys/cpu.h> or <mips/cpuregs.h> as needed
 1.4  01-Jul-2011  dyoung branches: 1.4.12; 1.4.30;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.3  20-Feb-2011  matt Merge forward from matt-nb5-mips64.
 1.2  28-Apr-2008  martin branches: 1.2.18; 1.2.22; 1.2.28; 1.2.30;
Remove clause 3 and 4 from TNF licenses
 1.1  20-Mar-2007  dyoung branches: 1.1.2; 1.1.4; 1.1.20; 1.1.40; 1.1.42; 1.1.44;
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.44.1  16-May-2008  yamt sync with head.
 1.1.42.1  18-May-2008  yamt sync with head.
 1.1.40.1  02-Jun-2008  mjf Sync with HEAD.
 1.1.20.2  03-Sep-2007  yamt sync with head.
 1.1.20.1  20-Mar-2007  yamt file adm5120_obio_dma.c was added on branch yamt-lazymbuf on 2007-09-03 14:27:44 +0000
 1.1.4.2  10-Apr-2007  ad Sync with head.
 1.1.4.1  20-Mar-2007  ad file adm5120_obio_dma.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_obio_dma.c was added on branch yamt-idlelwp on 2007-03-24 14:54:50 +0000
 1.2.30.1  05-Mar-2011  bouyer Sync with HEAD
 1.2.28.1  06-Jun-2011  jruoho Sync with HEAD.
 1.2.22.1  05-Mar-2011  rmind sync with head
 1.2.18.1  10-Jan-2010  matt Add generic support for DMA bounce buffers and real version of
bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use
for creating 32bit and 29bit subregions.
 1.4.30.1  22-Sep-2015  skrll Sync with HEAD
 1.4.12.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed