Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/mips/adm5120/dev/uart.c
RevisionDateAuthorComments
 1.12  25-Jul-2014  dholland Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.11  28-Jun-2014  skrll Remove unused variables
 1.10  16-Mar-2014  dholland branches: 1.10.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.9  10-Jul-2011  matt branches: 1.9.2; 1.9.12; 1.9.16;
Fix machine/ includes
 1.8  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.7  24-Apr-2011  rmind Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.6  21-Nov-2009  rmind branches: 1.6.4; 1.6.6;
Use lwp_getpcb() on mips, powerpc and sh3, clean from struct user usage.
 1.5  11-Jun-2008  cegger use device_lookup_private to get softc
 1.4  09-Jan-2008  elad branches: 1.4.6; 1.4.8; 1.4.10; 1.4.12; 1.4.14;
Kill two KAUTH_GENERIC_ISSUSER requests and replace them with something
more meaningful.
 1.3  19-Nov-2007  ad branches: 1.3.6;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.2  23-Mar-2007  dogcow branches: 1.2.2; 1.2.8; 1.2.16; 1.2.18; 1.2.20; 1.2.24; 1.2.26;
the last of caddr_t in sys/, save for netbsd32_caddr_t and the like.
 1.1  20-Mar-2007  dyoung 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.2.26.2  18-Feb-2008  mjf Sync with HEAD.
 1.2.26.1  08-Dec-2007  mjf Sync with HEAD.
 1.2.24.1  21-Nov-2007  bouyer Sync with HEAD
 1.2.20.4  21-Jan-2008  yamt sync with head
 1.2.20.3  07-Dec-2007  yamt sync with head
 1.2.20.2  03-Sep-2007  yamt sync with head.
 1.2.20.1  23-Mar-2007  yamt file uart.c was added on branch yamt-lazymbuf on 2007-09-03 14:27:49 +0000
 1.2.18.2  23-Mar-2008  matt sync with HEAD
 1.2.18.1  09-Jan-2008  matt sync with HEAD
 1.2.16.1  21-Nov-2007  joerg Sync with HEAD.
 1.2.8.3  03-Dec-2007  ad Sync with HEAD.
 1.2.8.2  09-Jun-2007  ad Sync with head.
 1.2.8.1  23-Mar-2007  ad file uart.c was added on branch vmlocking on 2007-06-09 21:36:57 +0000
 1.2.2.2  24-Mar-2007  yamt sync with head.
 1.2.2.1  23-Mar-2007  yamt file uart.c was added on branch yamt-idlelwp on 2007-03-24 14:54:52 +0000
 1.3.6.1  10-Jan-2008  bouyer Sync with HEAD
 1.4.14.1  18-Jun-2008  simonb Sync with head.
 1.4.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.4.10.2  11-Mar-2010  yamt sync with head
 1.4.10.1  04-May-2009  yamt sync with head.
 1.4.8.1  17-Jun-2008  yamt sync with head.
 1.4.6.1  29-Jun-2008  mjf Sync with HEAD.
 1.6.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.6.4.1  31-May-2011  rmind sync with head
 1.9.16.1  18-May-2014  rmind sync with head
 1.9.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.10.2.1  10-Aug-2014  tls Rebase.

RSS XML Feed