Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/hp300/dev/com_dio.c
RevisionDateAuthorComments
 1.10  16-Jan-2024  thorpej Several years ago, the interrupt priority levels for devices were "flattened"
such that IPL_BIO, IPL_NET, and IPL_TTY (logical interrupt priority levels)
became aliases of IPL_VM (the logical interrupt priority level above which
memory allocation is not allowed). Unfortuantely, this meant that any
use of these logical interrupt priority levels to differentiate between
different interrupt service routines at the same auto-vectored interrupt
level was pointless... "when everyone is special, no one is".

Before this flattening happened, these distinct logical interrupt priority
levels levels were dynamically mapped to physical auto-vectored interrupt
levels based on which types of devices registered themselves at which auto-
vectored level. Now, splbio(), splnet(), etc. are all equivalent to splvm(),
which effectively blocks all device interrupts.

Switch to using the ISRPRI_* values provided by the common m68k interrupt
dispatch code, which allows interrupt handlers for devices that are more
latency-sensitive to be sorted earlier in the list of handlers at a given
auto-vectored interrupt level, as was originally intended.
 1.9  08-Dec-2018  thorpej Clean up initialization of com_regs structure, in preparation for
some additional changers.
 1.8  28-Apr-2008  martin branches: 1.8.86; 1.8.88;
Remove clause 3 and 4 from TNF licenses
 1.7  14-Mar-2008  cube branches: 1.7.2; 1.7.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.6  03-Dec-2007  ad branches: 1.6.10; 1.6.14;
Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
 1.5  13-Jul-2006  gdamore branches: 1.5.14; 1.5.32; 1.5.34; 1.5.40;
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.4  11-Dec-2005  christos branches: 1.4.4; 1.4.8; 1.4.16;
merge ktrace-lwp.
 1.3  02-Jan-2005  tsutsui branches: 1.3.10;
u_intNN_t -> uintNN_t
 1.2  28-Aug-2004  thorpej Use ANSI function decls, static, and const.
 1.1  08-Nov-2003  tsutsui branches: 1.1.4;
Switch DCA and APCI serial devices to use MI com(4) driver.

DCA is tested on HP362 and HP382 with serial console,
but APCI on HP4xx is not tested yet.
 1.1.4.6  17-Jan-2005  skrll Sync with HEAD.
 1.1.4.5  21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.4  18-Sep-2004  skrll Sync with HEAD.
 1.1.4.3  03-Sep-2004  skrll Sync with HEAD
 1.1.4.2  03-Aug-2004  skrll Sync with HEAD
 1.1.4.1  08-Nov-2003  skrll file com_dio.c was added on branch ktrace-lwp on 2004-08-03 10:34:22 +0000
 1.3.10.3  17-Mar-2008  yamt sync with head.
 1.3.10.2  07-Dec-2007  yamt sync with head
 1.3.10.1  30-Dec-2006  yamt sync with head.
 1.4.16.1  18-Jun-2006  gdamore COM_INIT_REGS-ify these. Compiles okay, but no real hardware test. :-)
 1.4.8.1  11-Aug-2006  yamt sync with head
 1.4.4.1  09-Sep-2006  rpaulo sync with head
 1.5.40.1  08-Dec-2007  mjf Sync with HEAD.
 1.5.34.2  23-Mar-2008  matt sync with HEAD
 1.5.34.1  09-Jan-2008  matt sync with HEAD
 1.5.32.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.5.14.1  03-Dec-2007  ad Sync with HEAD.
 1.6.14.2  02-Jun-2008  mjf Sync with HEAD.
 1.6.14.1  03-Apr-2008  mjf Sync with HEAD.
 1.6.10.1  24-Mar-2008  keiichi sync with head.
 1.7.4.1  16-May-2008  yamt sync with head.
 1.7.2.1  18-May-2008  yamt sync with head.
 1.8.88.1  10-Jun-2019  christos Sync with HEAD
 1.8.86.1  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts

RSS XML Feed