#
1.11 |
|
16-Oct-2022 |
jsg |
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@
|
Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.10 |
|
24-Oct-2021 |
mpi |
Constify struct cfattach.
ok visa@ a long time ago
|
Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
|
#
1.9 |
|
22-Jun-2019 |
kn |
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
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.8 |
|
08-Sep-2017 |
deraadt |
If you use sys/param.h, you don't need sys/types.h
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.7 |
|
19-Mar-2016 |
mpi |
Reduces the noise around the global ``ticks'' variable by renaming all the local ones to ``nticks''.
ok stefan@, deraadt@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.6 |
|
08-Jan-2016 |
jcs |
Move HID support files out of dev/usb into new dev/hid directory
These files aren't USB-specific and were used by the previous Bluetooth implementation, and will be used by the upcoming HID-over-i2C implementation
ok deraadt previous version ok kettenis and mpi
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.5 |
|
31-Jul-2010 |
miod |
Factorization of the bluetooth and usb hid input driver logic, to reduce code duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.4 |
|
24-Jan-2008 |
robert |
Finish the beep(4) driver by hooking it up to the ukbd(4) beep handler and disable the one second long beep on attach.
ok miod@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.3 |
|
29-May-2006 |
jason |
implement frequency setting for the beep. It also beeps for one second during boot (this is annoying, I know... I'll hook it up to the keyboard handler later).
|
#
1.2 |
|
29-May-2006 |
jason |
fetch the beep clock frequency (we'll need it to compute the audio frequency later)
|
#
1.1 |
|
28-May-2006 |
jason |
placeholder driver for the bbc,beep device. should be straightforward to fill in later.
|
#
1.10 |
|
24-Oct-2021 |
mpi |
Constify struct cfattach.
ok visa@ a long time ago
|
Revision tags: OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
|
#
1.9 |
|
22-Jun-2019 |
kn |
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
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.8 |
|
08-Sep-2017 |
deraadt |
If you use sys/param.h, you don't need sys/types.h
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.7 |
|
19-Mar-2016 |
mpi |
Reduces the noise around the global ``ticks'' variable by renaming all the local ones to ``nticks''.
ok stefan@, deraadt@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.6 |
|
08-Jan-2016 |
jcs |
Move HID support files out of dev/usb into new dev/hid directory
These files aren't USB-specific and were used by the previous Bluetooth implementation, and will be used by the upcoming HID-over-i2C implementation
ok deraadt previous version ok kettenis and mpi
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.5 |
|
31-Jul-2010 |
miod |
Factorization of the bluetooth and usb hid input driver logic, to reduce code duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.4 |
|
24-Jan-2008 |
robert |
Finish the beep(4) driver by hooking it up to the ukbd(4) beep handler and disable the one second long beep on attach.
ok miod@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.3 |
|
29-May-2006 |
jason |
implement frequency setting for the beep. It also beeps for one second during boot (this is annoying, I know... I'll hook it up to the keyboard handler later).
|
#
1.2 |
|
29-May-2006 |
jason |
fetch the beep clock frequency (we'll need it to compute the audio frequency later)
|
#
1.1 |
|
28-May-2006 |
jason |
placeholder driver for the bbc,beep device. should be straightforward to fill in later.
|
#
1.9 |
|
22-Jun-2019 |
kn |
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
|
Revision tags: OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
|
#
1.8 |
|
08-Sep-2017 |
deraadt |
If you use sys/param.h, you don't need sys/types.h
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.7 |
|
19-Mar-2016 |
mpi |
Reduces the noise around the global ``ticks'' variable by renaming all the local ones to ``nticks''.
ok stefan@, deraadt@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.6 |
|
08-Jan-2016 |
jcs |
Move HID support files out of dev/usb into new dev/hid directory
These files aren't USB-specific and were used by the previous Bluetooth implementation, and will be used by the upcoming HID-over-i2C implementation
ok deraadt previous version ok kettenis and mpi
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.5 |
|
31-Jul-2010 |
miod |
Factorization of the bluetooth and usb hid input driver logic, to reduce code duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.4 |
|
24-Jan-2008 |
robert |
Finish the beep(4) driver by hooking it up to the ukbd(4) beep handler and disable the one second long beep on attach.
ok miod@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.3 |
|
29-May-2006 |
jason |
implement frequency setting for the beep. It also beeps for one second during boot (this is annoying, I know... I'll hook it up to the keyboard handler later).
|
#
1.2 |
|
29-May-2006 |
jason |
fetch the beep clock frequency (we'll need it to compute the audio frequency later)
|
#
1.1 |
|
28-May-2006 |
jason |
placeholder driver for the bbc,beep device. should be straightforward to fill in later.
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.8 |
|
08-Sep-2017 |
deraadt |
If you use sys/param.h, you don't need sys/types.h
|
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
|
#
1.7 |
|
19-Mar-2016 |
mpi |
Reduces the noise around the global ``ticks'' variable by renaming all the local ones to ``nticks''.
ok stefan@, deraadt@
|
Revision tags: OPENBSD_5_9_BASE
|
#
1.6 |
|
08-Jan-2016 |
jcs |
Move HID support files out of dev/usb into new dev/hid directory
These files aren't USB-specific and were used by the previous Bluetooth implementation, and will be used by the upcoming HID-over-i2C implementation
ok deraadt previous version ok kettenis and mpi
|
Revision tags: OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.5 |
|
31-Jul-2010 |
miod |
Factorization of the bluetooth and usb hid input driver logic, to reduce code duplication and divergence. Thanks to mlarkin@ for bluetooth devices tests.
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.4 |
|
24-Jan-2008 |
robert |
Finish the beep(4) driver by hooking it up to the ukbd(4) beep handler and disable the one second long beep on attach.
ok miod@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
|
#
1.3 |
|
29-May-2006 |
jason |
implement frequency setting for the beep. It also beeps for one second during boot (this is annoying, I know... I'll hook it up to the keyboard handler later).
|
#
1.2 |
|
29-May-2006 |
jason |
fetch the beep clock frequency (we'll need it to compute the audio frequency later)
|
#
1.1 |
|
28-May-2006 |
jason |
placeholder driver for the bbc,beep device. should be straightforward to fill in later.
|