Age | Commit message (Collapse) | Author |
|
miod explained it was initially a long as it was thought drivers may
need to allocate storage but in practice they don't need more than
32 bits for an attribute.
suggested and reviewed by miod@
|
|
Suggested by John Carmack. miod agrees a rename would make sense and
explained it was initially thought drivers may need to allocate storage
but in practice they don't need more than 32 bits for an attribute.
ok mpi@
|
|
In pcppi(4), convert from ticks to milliseconds.
While we're doing this, we can also convert spkr(4), too.
The spkr(4) conversion from ticks to milliseconds is trickier because
the driver is written with musical intervals (whole notes, quarter
notes, etc.), not the typical units (seconds, milliseconds, etc.) used
in most software.
I think the conversion is correct... but the code is a challenging
read, so it might be subtly incorrect.
ratchov@ intends to move spkr(4) into the attic sometime soon so I
doubt it matters much if I got it wrong.
Input from schwarze@, jsg@, and ratchov@.
Tested by schwarze@.
ok ratchov@
|
|
uio.uio_resid is a size_t, not an int. Change the format string
accordingly.
|
|
wds_minphys() is just duplicating what minphys() will do. Nuke it.
|
|
With input from miod@.
No complaints on tech@ after a month.
|
|
inducing. Rename scsi_adapter member 'scsi_minphys' to 'dev_minphys'
to reflect what it is supposed to do. Use consistent naming convention
(<dev>_minphys) for the actual device functions.
No functional change.
|
|
system minphys(). scsi_minphys() will do that and cd/sd/st will call
scsi_minphys().
ok jmatthew@ as part of larger diff
|
|
ok tedu@ krw@ deraadt@
|
|
in drivers. Terse one liners, NULLs instead of 0's, explicitly specify
all members, etc.
Nuke #ifdef notyet blocks related to the scsi_adapter in aic.
No intentional functional change.
ok tedu@
|
|
ok deraadt
|
|
ok kn@
|
|
|
|
From Joe Gidi.
|
|
ok tedu@
|
|
are later passed to timeout_add() which panics if the given ticks are
negative. While here, clamp arguments in pcppi_bell() in order to
prevent overflow.
ok visa@
Reported-by: syzbot+23089c40a85aa70bed6f@syzkaller.appspotmail.com
|
|
remove the MD API.
ok deraadt@
|
|
ok deraadt@
|
|
ok krw@ mpi@
|
|
ok deraadt@ krw@
|
|
ok millert@ krw@
|
|
haesbaert points out that ie(4) does a weird error accounting dance
which requires it to decrement a interface counter in some cases.
Shuffle things around to only ever do an increment
"sure" kettenis, OK mpi
|
|
Other drivers do this, too. Fixes coverity CID 1455436.
|
|
|
|
Defer probing of the drives to a kthread. This avoids several seconds of
delay() during boot. However, drives may now appear only after init has
started. But this does not affect installs from floppy. In that case the root
ramdisk is linked into the kernel and loaded by the boot loader.
Approach suggested by deraadt@, tested by miod@
|
|
an array. Coverity CIDs 1452968 1453000.
ok jung@ who mentions this case isn't hit in practice due to arrays
having a terminating NULL.
|
|
|
|
|
|
|
|
the random subsystem as entropy. This value is pretty much unknown,
and anyways our entropy input ring does not saturate from knowns.
ok mikeb djm
|
|
No binary change.
OK ratchov@
|
|
It doesn't compile und hasn't been working during the last decade.
ok kettenis@, deraadt@
|
|
machdep.lidaction=0 # do nothing
machdep.lidaction=1 # suspend
machdep.lidaction=2 # hibernate
lidsuspend is just an alias for lidaction, so if you change one, the
other one will have the same value. The plan is to remove
machdep.lidsuspend eventually when people have upgraded their
/ets/sysctl.conf.
discussed with deraadt, who came up with the new MIB name
no objections mlarkin
ok stsp halex jcs
|
|
ok various
|
|
this means packets are consistently counted in one place, unlike the
many and various ways that drivers thought they should do it.
ok mpi@ deraadt@
|
|
|
|
methods from all audio drivers and from the audio_if structure as they
are never called.
|
|
deleted aha.h header. therefore bha must be dragged into the attic too.
|
|
|
|
order to make room for llvm. er, the llvm makefiles. er, some of them.
|
|
OK deraadt@
|
|
remove long disabled radio devices
ok deraadt
|
|
|
|
reset by mouse and keyboard instead of mouse and mouse.
|
|
already fixed in -r1.7 (for kettenis macmini), but since then the code was
heavily shuffled and moved around and this regression was re-introduced
choose a different fix now and introduce a light sensor flag for the different
models to allow or avoid the probing
prodded by landry (macmini again)
|
|
location by a comma to avoid ambiguity with newer models
hint from kettenis (last year)
|
|
|
|
ok mpi@ claudio@
|
|
all the local ones to ``nticks''.
ok stefan@, deraadt@
|
|
ok beck@ deraadt@
|