Home | History | Annotate | Download | only in vr
History log of /src/sys/arch/hpcmips/vr/com_vrip.c
RevisionDateAuthorComments
 1.24  08-Jul-2022  skrll alredy -> already
 1.23  08-Dec-2018  thorpej Clean up initialization of com_regs structure, in preparation for
some additional changers.
 1.22  27-Oct-2012  chs branches: 1.22.36; 1.22.38;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.21  29-Aug-2008  tsutsui branches: 1.21.28; 1.21.38;
Fix a fallout of device_t/softc split for com(4) devices.
Per PR port-hpcmips/39426 from Nozomu Ando.
 1.20  14-Mar-2008  cube branches: 1.20.4; 1.20.6; 1.20.10;
Split device_t and softc for all com(4) devices (well, everything that
uses a com_softc backend). Use proper types and ansify where appropriate.
 1.19  13-Jul-2006  gdamore branches: 1.19.34; 1.19.54; 1.19.58;
Add an option COM_REGMAP to allow com(4) to use an array of register indices.
This allows us to convert aucom to just another com attachment, and cleanup
some code in the com_arbus.c.

Additionally, we use a common com_cleanup routine rather than having a
zillion copies of it in the attachment points.

This has been tested on a number architectures, and it has been shown to get
close to comparable performance when COM_REGMAP is defined, and comparable
when it is not defined.

Approved by core@. Fixes PR port-evbmips/32362.
 1.18  29-Mar-2006  thorpej branches: 1.18.4;
Use device_cfdata().
 1.17  11-Dec-2005  christos branches: 1.17.4; 1.17.6; 1.17.8; 1.17.10; 1.17.12;
merge ktrace-lwp.
 1.16  15-Jul-2003  lukem branches: 1.16.16;
__KERNEL_RCSID()
 1.15  14-Jun-2003  thorpej branches: 1.15.2;
Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.
 1.14  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.13  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.12  02-Feb-2002  takemura Removed __vrcmu_supply() and __vrgiu_out(), which are need to enable serial
port before auto configuration.

Boot loaders (pbsdboot and hpcboot) are responsible to enable the port because
the kernel can't enable serial port for console any more.
 1.11  27-Jan-2002  takemura Added vripif.
 1.10  28-Sep-2001  sato branches: 1.10.4;
add VR4181 clock control.
 1.9  16-Sep-2001  uch ANSIfy, KNF.
 1.8  30-May-2001  lukem branches: 1.8.2; 1.8.4;
add missing #include "opt_kgdb.h"
 1.7  30-Apr-2001  takemura Machine independent GPIO interface.
 1.6  11-Mar-2001  uch remove unneeded include.
 1.5  27-Oct-2000  sato branches: 1.5.2;
- add VPRINTF().
- show pwctl giu bit for verbose.
 1.4  20-Jul-2000  jeffs kgdb support for the vr hpcmips machines.
From Ethan Solomita (ethan@geocast.com).
 1.3  11-Feb-2000  takemura Add com0's power control ID.
 1.2  23-Dec-1999  takemura New button handler and power controller with configurable hooking mechanism.
 1.1  16-Sep-1999  takemura branches: 1.1.1;
Initial revision
 1.1.1.1  16-Sep-1999  takemura branches: 1.1.1.1.2;
Import NetBSD/hpcmips source files from hpcmips repository.
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
 1.1.1.1.2.3  12-Mar-2001  bouyer Sync with HEAD.
 1.1.1.1.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.1.1.1.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.5.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.5.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.8.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.8.2.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.8.2.2  11-Feb-2002  jdolecek Sync w/ -current.
 1.8.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.4.3  18-Oct-2002  nathanw Catch up to -current.
 1.10.4.2  28-Feb-2002  nathanw Catch up to -current.
 1.10.4.1  28-Sep-2001  nathanw file com_vrip.c was added on branch nathanw_sa on 2002-02-28 04:10:04 +0000
 1.15.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.15.2.1  03-Aug-2004  skrll Sync with HEAD
 1.16.16.3  17-Mar-2008  yamt sync with head.
 1.16.16.2  30-Dec-2006  yamt sync with head.
 1.16.16.1  21-Jun-2006  yamt sync with head.
 1.17.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.17.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.17.8.2  11-Aug-2006  yamt sync with head
 1.17.8.1  01-Apr-2006  yamt sync with head.
 1.17.6.1  22-Apr-2006  simonb Sync with head.
 1.17.4.1  09-Sep-2006  rpaulo sync with head
 1.18.4.1  16-Jun-2006  gdamore com(4) attachment hacks. Note that these aren't as clean as they could be,
particularly com_hpcio.c, which has a custom bus_space which could probably
be eliminated. But _I_ don't have an hpcmips to test with. The compile of
MPC303 works, but GENERIC fails due to an error in tx39clock.c, so I'm
_not_ testing it. (But both files at least _compiled_.)
 1.19.58.2  28-Sep-2008  mjf Sync with HEAD.
 1.19.58.1  03-Apr-2008  mjf Sync with HEAD.
 1.19.54.1  24-Mar-2008  keiichi sync with head.
 1.19.34.1  23-Mar-2008  matt sync with HEAD
 1.20.10.1  19-Oct-2008  haad Sync with HEAD.
 1.20.6.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.20.4.1  04-May-2009  yamt sync with head.
 1.21.38.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.21.28.1  30-Oct-2012  yamt sync with head
 1.22.38.1  10-Jun-2019  christos Sync with HEAD
 1.22.36.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts

RSS XML Feed