History log of /openbsd-src/sys/arch/sparc64/dev/beeper.c (Results 1 – 15 of 15)
Revision Date Author Comments
# 47c47fea 16-Oct-2022 jsg <jsg@openbsd.org>

Change function definitions using the identifier-list form used in the
1st edition of Kernighan and Ritchie's The C Programming Language, to
that of the parameter-type-list form described in the ANSI

Change function definitions using the identifier-list form used in the
1st edition of Kernighan and Ritchie's The C Programming Language, to
that of the parameter-type-list form described in the ANSI X3.159-1989
standard.

In ISO/IEC 9899:2023 drafts, there is only one form of function definition.
"N2432 Remove support for function definitions with identifier lists".

ok kettenis@

show more ...


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

Constify struct cfattach.

ok visa@ a long time ago


# e9959c3e 22-Jun-2019 kn <kn@openbsd.org>

Use timeout_add_msec(9)

hz can simply be reduced has the code wants to wait
(period * hz) / 1000 [ticks] = period / 1000 [s] = period [ms].

With the zero check, this perfectly matches the milliseco

Use timeout_add_msec(9)

hz can simply be reduced has the code wants to wait
(period * hz) / 1000 [ticks] = period / 1000 [s] = period [ms].

With the zero check, this perfectly matches the millisecond version.

This conversion by itself also lifts the implicit expection of the period
to be evenly divisible by ten; in case it was not, integer division
would truncate it.

See /sys/wscons/wskbd.c for how the period is set up.

OK mpi

show more ...


# b27348b2 08-Sep-2017 deraadt <deraadt@openbsd.org>

If you use sys/param.h, you don't need sys/types.h


# e253c8f7 19-Mar-2016 mpi <mpi@openbsd.org>

Reduces the noise around the global ``ticks'' variable by renaming
all the local ones to ``nticks''.

ok stefan@, deraadt@


# 23625ba3 20-Dec-2005 martin <martin@openbsd.org>

using the right ebus bus space makes this beep again


# 37f1f65e 16-Dec-2003 jason <jason@openbsd.org>

Don't need linear mappings here either


# cc615cf4 02-Jun-2003 jason <jason@openbsd.org>

nuke terms 3 & 4


# eb79e960 17-Feb-2003 henric <henric@openbsd.org>

Add support for the Sun Enterprise 450
Reduce the size of a GENERIC kernel by ~190k
Remove the nasty pointer/bus_space_handle_t casts
Adds debug bus_space code including the ability to trace
bus

Add support for the Sun Enterprise 450
Reduce the size of a GENERIC kernel by ~190k
Remove the nasty pointer/bus_space_handle_t casts
Adds debug bus_space code including the ability to trace
bus operations (it actually works now).

The following rules are now followed (and verfified by the debug
code):

1. A "bus_space_handle_t" may only be used with the
"bus_space_tag_t" that created it.
2. Only "bus_space_map()" may create "bus_space_handle_t"s.
3. A "bus_space_handle_t" may not be modified after it has
been created (other than being destroyed by "bus_space_unmap()").


Thanks to help from mcbride, marc, jason, drahn, to anyone that might
have slipped my mind at the moment.

ok jason@, deraadt@

show more ...


# d9ed8090 19-Aug-2002 jason <jason@openbsd.org>

KNF (4 char continuations)


# 5248d82b 08-Apr-2002 jason <jason@openbsd.org>

Credit DARPA/USAF appropriately.


# c4071fd1 14-Mar-2002 millert <millert@openbsd.org>

First round of __P removal in sys


# dae3d603 23-Feb-2002 jason <jason@openbsd.org>

make this compile w/out pckbd (thanks marco for pointing this out)


# 49d43a85 19-Feb-2002 jason <jason@openbsd.org>

If there are pckbd's, register ourselves to handle beeps... AXi's can now
squawk with the best of 'em.


# ec6accbd 29-Sep-2001 jason <jason@openbsd.org>

from the "Ok, so I couldn't sleep" department: minimal driver for the beeper at ebus device