Subject: Re: CVS commit: src/sys/arch
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@pobox.com>
List: source-changes
Date: 03/20/2007 04:44:50
On Tue, Mar 20, 2007 at 08:52:05AM +0000, David Young wrote:
> 
> Module Name:	src
> Committed By:	dyoung
> Date:		Tue Mar 20 08:52:04 UTC 2007
> 
> Modified Files:
> 	src/sys/arch/evbmips/conf: files.evbmips majors.evbmips
> 	src/sys/arch/mips: Makefile.inc
> Added Files:
> 	src/sys/arch/evbmips/adm5120: autoconf.c cpu.c machdep.c mainbus.c
> 	src/sys/arch/evbmips/conf: ADM5120 ADM5120-NB ADM5120-USB files.adm5120
> 	    std.adm5120
> 	src/sys/arch/mips/adm5120: adm5120_cfio.c adm5120_extio.c
> 	    adm5120_extio_space.c adm5120_intr.c adm5120_obio.c
> 	    adm5120_obio_dma.c adm5120_obio_space.c adm5120_pciio_space.c
> 	    adm5120_pcimem_space.c
> 	src/sys/arch/mips/adm5120/dev: admgpio.c admpci.c admwdog.c ahci.c
> 	    ahcireg.h ahcivar.h if_admsw.c if_admswreg.h if_admswvar.h uart.c
> 	    uart.h wdc_extio.c
> 	src/sys/arch/mips/adm5120/include: adm5120_extiovar.h
> 	    adm5120_mainbusvar.h adm5120_obiovar.h adm5120_pcivar.h
> 	    adm5120reg.h adm5120var.h
> 	src/sys/arch/mips/conf: files.adm5120
> 
> Log Message:
> 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.  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.

Doh!  I forgot to credit Matt Isaacs, who brought the 3.0-ish port
up-to-date with NetBSD-current, got it to compile, and figured out how
to boot the RB153 with it.  I have updated the CVS log accordingly.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933