History log of /openbsd-src/sys/dev/hil/hil.c (Results 1 – 25 of 29)
Revision Date Author Comments
# 4b1a56af 09-Jan-2022 jsg <jsg@openbsd.org>

spelling
feedback and ok tb@ jmc@ ok ratchov@


# 03604742 31-Dec-2019 mpi <mpi@openbsd.org>

Convert infinite sleeps to {m,t}sleep_nsec(9).

ok kn@


# 98edb555 30-Dec-2017 guenther <guenther@openbsd.org>

Delete unnecessary <sys/file.h> includes

ok millert@ krw@


# a8b2c029 15-May-2015 jsg <jsg@openbsd.org>

add some missing splx() calls
ok deraadt@ kettenis@ krw@


# 2d257949 18-Nov-2013 deraadt <deraadt@openbsd.org>

simplify kthread_create(). no more stdarg
ok matthew guenther mikeb


# ecd77159 20-Nov-2010 miod <miod@openbsd.org>

Missing splx() in hil_thread(). This turned out to be harmless due to the
way this code works (always ends up in tsleep eventually), but it never hurts
to be correct.


# 7e51d2e1 16-Dec-2006 miod <miod@openbsd.org>

Make hil(4) shared interrupts aware, by exiting early if the stat register
does not indicate data being available; for some reason on hppa hil_intr()
gets invoked when serial ports interrupt.


# c25f342f 05-Nov-2006 miod <miod@openbsd.org>

Handle loop reconfiguration in a kernel thread, instead of doing it from
interrupt context.


# 2be62f22 22-Dec-2005 miod <miod@openbsd.org>

Postpone the hil console detection logic to the first detection of a keyboard.

On hp300, hil would claim console against dnkbd if no dnkbd was found at
the time the loop is probed, even if the loop

Postpone the hil console detection logic to the first detection of a keyboard.

On hp300, hil would claim console against dnkbd if no dnkbd was found at
the time the loop is probed, even if the loop is empty. Because of this,
plugging dnkbd later would not select it as console keyboard, which is
really annoying on kernels without wsmux, such as hp300 RAMDISK.
Now the first keyboard plugged will become the console keyboard, whatever
its type.

No functional change on hppa, since the console path gives a definite console
device setting.

show more ...


# 8a29f979 13-May-2005 miod <miod@openbsd.org>

Do not invoke hil_process_pendinc() from the interrupt handler if the loop
is marked as busy.


# 73615ad0 08-May-2005 miod <miod@openbsd.org>

When receiving an unplugged notification from the loop, do not take action
until the loop has reconfigured into a stable state. This can save up
unnecessary detach/attach cycles for the low ids in th

When receiving an unplugged notification from the loop, do not take action
until the loop has reconfigured into a stable state. This can save up
unnecessary detach/attach cycles for the low ids in the loop.

show more ...


# e35431bc 08-May-2005 miod <miod@openbsd.org>

Simplify loop reconfiguration code.


# 661fabb3 15-Jan-2005 miod <miod@openbsd.org>

If the loop is empty when we probe it, enable the interrupt anyways, so that
we can react on post-boot device plugs.


# e78b52bb 11-Jan-2005 miod <miod@openbsd.org>

Reliability fixes:
- Let the loop initialize completely before attempting to probe its devices.
Fixes the "no answer from device 1" problem.
- Handle ``loop unplugged'' events and force detach of a

Reliability fixes:
- Let the loop initialize completely before attempting to probe its devices.
Fixes the "no answer from device 1" problem.
- Handle ``loop unplugged'' events and force detach of all children in this
case.

show more ...


# 705b644a 09-Jan-2005 miod <miod@openbsd.org>

Allow send_hil{,dev}_cmd to return failure, and handle this where
applicable.

During device probe, if a device does not answer commands, display a warning
message. This apparently happens on hp300 w

Allow send_hil{,dev}_cmd to return failure, and handle this where
applicable.

During device probe, if a device does not answer commands, display a warning
message. This apparently happens on hp300 when the console is configured
as remote (i.e. serial console). Unplugging and replugging the device works
fine afterwards...

show more ...


# 8fdad34f 10-May-2004 jolan <jolan@openbsd.org>

obliterate undef, ok miod


# 920fc0ea 12-Mar-2004 miod <miod@openbsd.org>

Allow busy wait loops to fail, so that we don't spin if the hil loop does not
behave correctly for some reason.


# 360b1541 21-Oct-2003 jmc <jmc@openbsd.org>

typo from Tom Cosgrove;


# 29295d1c 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 971dbf72 27-May-2003 mickey <mickey@openbsd.org>

as mentioned in hardball ers a few delays are needed; mios@ testing on hp300 and ok


# 59083279 28-Mar-2003 miod <miod@openbsd.org>

Better message to report an empty loop during probe.


# 3bf7a131 16-Mar-2003 miod <miod@openbsd.org>

A better explanation of why we need to operate hil keyboards in raw mode.


# 60a8f706 26-Feb-2003 miod <miod@openbsd.org>

New hil child devices attachment framework, that allow them to be detached
at runtime.

Handle reconfiguration notices from the loop, and do the necessary
detach/attach work so that our vision of the

New hil child devices attachment framework, that allow them to be detached
at runtime.

Handle reconfiguration notices from the loop, and do the necessary
detach/attach work so that our vision of the loop is in sync with reality.

Adapt all hil child devices to the above changes.

"This is not as plug'n'play as usb, but you get the same feeling anyways..."

show more ...


# 0f46dc1c 19-Feb-2003 miod <miod@openbsd.org>

Leaving console polling mode works now, and workaround boot -a slow response
glitch.


# 0231505a 18-Feb-2003 miod <miod@openbsd.org>

Real polled mode console support, enough to play hangman in ddb.
Still a minor issue left for tomorrow.


12