Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch
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.
To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/sys/arch/evbmips/adm5120/autoconf.c \
src/sys/arch/evbmips/adm5120/cpu.c src/sys/arch/evbmips/adm5120/machdep.c \
src/sys/arch/evbmips/adm5120/mainbus.c
cvs rdiff -r0 -r1.1 src/sys/arch/evbmips/conf/ADM5120 \
src/sys/arch/evbmips/conf/ADM5120-NB \
src/sys/arch/evbmips/conf/ADM5120-USB \
src/sys/arch/evbmips/conf/files.adm5120 \
src/sys/arch/evbmips/conf/std.adm5120
cvs rdiff -r1.5 -r1.6 src/sys/arch/evbmips/conf/files.evbmips
cvs rdiff -r1.21 -r1.22 src/sys/arch/evbmips/conf/majors.evbmips
cvs rdiff -r1.5 -r1.6 src/sys/arch/mips/Makefile.inc
cvs rdiff -r0 -r1.1 src/sys/arch/mips/adm5120/adm5120_cfio.c \
src/sys/arch/mips/adm5120/adm5120_extio.c \
src/sys/arch/mips/adm5120/adm5120_extio_space.c \
src/sys/arch/mips/adm5120/adm5120_intr.c \
src/sys/arch/mips/adm5120/adm5120_obio.c \
src/sys/arch/mips/adm5120/adm5120_obio_dma.c \
src/sys/arch/mips/adm5120/adm5120_obio_space.c \
src/sys/arch/mips/adm5120/adm5120_pciio_space.c \
src/sys/arch/mips/adm5120/adm5120_pcimem_space.c
cvs rdiff -r0 -r1.1 src/sys/arch/mips/adm5120/dev/admgpio.c \
src/sys/arch/mips/adm5120/dev/admpci.c \
src/sys/arch/mips/adm5120/dev/admwdog.c \
src/sys/arch/mips/adm5120/dev/ahci.c \
src/sys/arch/mips/adm5120/dev/ahcireg.h \
src/sys/arch/mips/adm5120/dev/ahcivar.h \
src/sys/arch/mips/adm5120/dev/if_admsw.c \
src/sys/arch/mips/adm5120/dev/if_admswreg.h \
src/sys/arch/mips/adm5120/dev/if_admswvar.h \
src/sys/arch/mips/adm5120/dev/uart.c src/sys/arch/mips/adm5120/dev/uart.h \
src/sys/arch/mips/adm5120/dev/wdc_extio.c
cvs rdiff -r0 -r1.1 src/sys/arch/mips/adm5120/include/adm5120_extiovar.h \
src/sys/arch/mips/adm5120/include/adm5120_mainbusvar.h \
src/sys/arch/mips/adm5120/include/adm5120_obiovar.h \
src/sys/arch/mips/adm5120/include/adm5120_pcivar.h \
src/sys/arch/mips/adm5120/include/adm5120reg.h \
src/sys/arch/mips/adm5120/include/adm5120var.h
cvs rdiff -r0 -r1.1 src/sys/arch/mips/conf/files.adm5120
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index