History log of /openbsd/sys/arch/sparc64/dev/lom.c (Results 1 – 25 of 29)
Revision Date Author Comments
# 50dbebda 04-Jul-2022 miod <miod@openbsd.org>

Use destination buffer size as strlcpy() bound, not source; harmless here for
both sizes are equal.
ok kettenis@


# eb7eaf8d 24-Oct-2021 mpi <mpi@openbsd.org>

Constify struct cfattach.

ok visa@ a long time ago


# d6fc7890 12-Oct-2019 cheloha <cheloha@openbsd.org>

sparc64: lom(4), sab(4), vldcp(4): tsleep -> tsleep_nsec(9); ok kn@ visa@


# 604a7870 05-Oct-2017 bluhm <bluhm@openbsd.org>

Check the state value within the assert statement, do not set it.
found with grep 'KASSERT.* = '; OK kettenis@


# 3b06f262 10-Dec-2014 mikeb <mikeb@openbsd.org>

Convert watchdog(4) devices to use autoconf(9) framework.

ok deraadt, tests on glxpcib and ok mpi


# c06fda6d 30-May-2013 deraadt <deraadt@openbsd.org>

Enforce ca_activate tree-walks over the entire heirarchy for all events,
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request

Enforce ca_activate tree-walks over the entire heirarchy for all events,
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too

show more ...


# 2bc62dec 17-Oct-2012 deraadt <deraadt@openbsd.org>

Swap arguments to wdog_register() since it is nicer, and prepare
wdog_shutdown() for external usage.


# 56bd4c6b 28-May-2010 kettenis <kettenis@openbsd.org>

Add missing initialization.


# 49d60162 28-Feb-2010 kettenis <kettenis@openbsd.org>

Fix off-by-one in LOMlite hostname code.


# d7e63099 12-Dec-2009 kettenis <kettenis@openbsd.org>

Remove debug printf and properly dequeue command instead when a read times out
on LOMLite2.


# d95b06c1 10-Nov-2009 kettenis <kettenis@openbsd.org>

Handle LOMlite2 in an interrupt-driven way; avoids using delay(9) once the
machine is up and running.


# edd433c7 31-Oct-2009 kettenis <kettenis@openbsd.org>

Establish a shutdown hook to disable the watchdog timer to prevent watchdog
triggers after the kernel has been halted.


# a4f1f624 31-Oct-2009 kettenis <kettenis@openbsd.org>

Make sure we don't insert and entry into the list of pending commends twice.


# 8fe2a92f 28-Oct-2009 kettenis <kettenis@openbsd.org>

LOMlite seems to get wedged from time to time; add some code to unwedge it.


# e6d8f4d1 27-Sep-2009 kettenis <kettenis@openbsd.org>

Print the LOM type (LOMlite/LOMlite2).


# df54a7c0 27-Sep-2009 kettenis <kettenis@openbsd.org>

Add sensor status for fan sensors.


# 5e80de5e 27-Sep-2009 kettenis <kettenis@openbsd.org>

Implement queuing of reads and writes. This gets rid of the remaining busy
waits for LOMlite.


# 3c40421d 24-Sep-2009 kettenis <kettenis@openbsd.org>

Slightly less evil busy wait loop for LOMlite. Small tweak to LOMlite state
machine.


# fc69c4e1 23-Sep-2009 kettenis <kettenis@openbsd.org>

Implement reading LOMlite registers using timeouts and a state machine to
avoid busy waits. Writes are still somewhat problematic, but things work
well enough to make lom(4) attach to LOMlite now.

Implement reading LOMlite registers using timeouts and a state machine to
avoid busy waits. Writes are still somewhat problematic, but things work
well enough to make lom(4) attach to LOMlite now.

Fix typo pointed out by miod@ while I'm there.

show more ...


# 13d051d6 23-Sep-2009 kettenis <kettenis@openbsd.org>

Add some more LOMlite bits. We don't attach to LOMlite yet because it is
very slow and this version of the code busy waits too much.


# d151cb6c 23-Sep-2009 kettenis <kettenis@openbsd.org>

Attempt mapping as io as well as mmio; necessary to make this work on a V100.


# 5223c73e 23-Sep-2009 kettenis <kettenis@openbsd.org>

Restructure watchdog support such that it will work on both LOMlite and
LOMlite2.


# 78eeb547 22-Sep-2009 kettenis <kettenis@openbsd.org>

Add PSU sensor.


# ba2ae1ff 21-Sep-2009 kettenis <kettenis@openbsd.org>

Explicitly configure the watchdog timer not to reset the machine when we
attach. If we don't do this, the machine will reset even if the watchdog
timer hasn't been explicitly configured if the watch

Explicitly configure the watchdog timer not to reset the machine when we
attach. If we don't do this, the machine will reset even if the watchdog
timer hasn't been explicitly configured if the watchdog timer was previously
enabled.

show more ...


# 877407b4 21-Sep-2009 kettenis <kettenis@openbsd.org>

Add support for the built-in watchdog. In the default state the watchdog will
enable the fault LED after 127 seconds if the kernel stops patting. You'll
have to explicitly enable the watchdog to ma

Add support for the built-in watchdog. In the default state the watchdog will
enable the fault LED after 127 seconds if the kernel stops patting. You'll
have to explicitly enable the watchdog to make it reset the machine.

show more ...


12