Home | History | Annotate | Download | only in hd64461
History log of /src/sys/arch/hpcsh/dev/hd64461/hd64461uart.c
RevisionDateAuthorComments
 1.32  20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h>.
 1.31  13-Sep-2023  andvar change hd64461uart_init_regs third argument from NULL to 0x0,
since compiler complains about making integer from pointer without cast.

fully fixes KGDB enabled build for hpcsh.
 1.30  11-Dec-2018  thorpej Add a convenience function, com_init_regs_stride(), that shifts the register
offsets and size by the specified amount. Use in front-ends as appropriate.
 1.29  08-Dec-2018  thorpej Clean up initialization of com_regs structure, in preparation for
some additional changers.
 1.28  19-Jul-2011  dyoung branches: 1.28.52; 1.28.54;
Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark hpcsh/bus.h obsolete.
 1.27  13-May-2010  kiyohara Use COM_REGMAP instead of hd64461uart_{read,write}_1().
 1.26  13-May-2010  kiyohara Standby AFE Clock, if use_afeck is 0. Don't stop AFE Clock, if PERSONA boots
on serial console.
 1.25  12-May-2010  kiyohara Style.
 1.24  12-May-2010  kiyohara Suply clock SAFECKE_[IO]ST, if platid is PERSONA.
tested on HPW-50PA.
 1.23  12-May-2010  kiyohara Fix arg of intr_establish().
comintr() expects struct com_softc* for arg.
 1.22  28-Apr-2008  martin branches: 1.22.20; 1.22.22;
Remove clause 3 and 4 from TNF licenses
 1.21  14-Mar-2008  cube branches: 1.21.2; 1.21.4;
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.20  15-Dec-2007  perry branches: 1.20.2; 1.20.6;
__FUNCTION__ -> __func__
 1.19  13-Jul-2006  gdamore branches: 1.19.34; 1.19.44; 1.19.48;
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  18-Dec-2005  uwe branches: 1.18.4; 1.18.8; 1.18.16;
Use ANSI uintN_t types. Use "volatile" without extra __'s.
Use "void" in definitions of functions without arguments.
Propagate "static" do function definitions.
 1.17  11-Dec-2005  christos 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 Add trailing ; to CFATTACH_DECL
 1.13  01-Oct-2002  thorpej Use CFATTACH_DECL().
 1.12  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.11  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.10  28-Mar-2002  uch branches: 1.10.2; 1.10.6;
rework HD64461, HD64465 interrupt handling.
 1.9  03-Mar-2002  uch don't initialize twice
 1.8  02-Mar-2002  uch Initial support for KGDB on the sh3.
 1.7  11-Feb-2002  uch add primitive serial console debug routine.
 1.6  29-Jan-2002  uch clean up debug print and configuration.
 1.5  27-Jan-2002  uch clean up debug print and configuration.
 1.4  14-Sep-2001  uch debug printf change.
 1.3  13-Jul-2001  uch branches: 1.3.2;
cosmetic changes.
 1.2  20-Mar-2001  uch branches: 1.2.2; 1.2.4; 1.2.6;
make HD64461 UART module usable on HITACHI PERSONA
 1.1  15-Mar-2001  uch HD64461 UART module support.
 1.2.6.6  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.2.6.5  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.4  16-Mar-2002  jdolecek Catch up with -current.
 1.2.6.3  11-Feb-2002  jdolecek Sync w/ -current.
 1.2.6.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.6.1  03-Aug-2001  lukem update to -current
 1.2.4.1  09-Apr-2001  nathanw Catch up with -current.
 1.2.2.2  27-Mar-2001  bouyer Sync with HEAD.
 1.2.2.1  20-Mar-2001  bouyer file hd64461uart.c was added on branch thorpej_scsipi on 2001-03-27 15:30:58 +0000
 1.3.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.10.6.3  18-Oct-2002  nathanw Catch up to -current.
 1.10.6.2  17-Sep-2002  nathanw Catch up to -current.
 1.10.6.1  28-Mar-2002  nathanw file hd64461uart.c was added on branch nathanw_sa on 2002-09-17 21:14:52 +0000
 1.10.2.1  19-May-2002  gehenna Replace the access to devsw table and the hard-coded majors with devsw API.
 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.4  17-Mar-2008  yamt sync with head.
 1.16.16.3  21-Jan-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.18.16.1  16-Jun-2006  gdamore Conver hpcsh com attachments to new com(4) framework.
 1.18.8.1  11-Aug-2006  yamt sync with head
 1.18.4.1  09-Sep-2006  rpaulo sync with head
 1.19.48.1  02-Jan-2008  bouyer Sync with HEAD
 1.19.44.1  26-Dec-2007  ad Sync with head.
 1.19.34.2  23-Mar-2008  matt sync with HEAD
 1.19.34.1  09-Jan-2008  matt sync with HEAD
 1.20.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.20.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.20.2.1  24-Mar-2008  keiichi sync with head.
 1.21.4.2  11-Aug-2010  yamt sync with head.
 1.21.4.1  16-May-2008  yamt sync with head.
 1.21.2.1  18-May-2008  yamt sync with head.
 1.22.22.1  30-May-2010  rmind sync with head
 1.22.20.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.28.54.1  10-Jun-2019  christos Sync with HEAD
 1.28.52.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts

RSS XML Feed