Age | Commit message (Collapse) | Author |
|
compatability -> compatibility
OK jmc@.
|
|
|
|
clash with a c99 style bool type.
ok millert@ deraadt@
|
|
wdog_shutdown() for external usage.
|
|
of to the bridge itself. This is ok, since an interface can only be part
of one bridge, and the parent bridge is easy to find from the bridgeport.
This way we can get rid of a lot of list walks, improving performance
and shortening the code.
ok henning stsp sthen reyk
|
|
Ported from a DragonFly BSD commit by Constantine A. Murenin:
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/245ec76bc1613b22cf282526fa9931e4c16e4237
Tested on a Lanner FW-7539 appliance.
ok mlarkin mikeb haesbaert henning
|
|
|
|
just return and make the midi(4) driver retry later. UART buffers
are large enough for this, except eap(4) which uses interrupts for
output.
help from and ok jsg@
|
|
|
|
|
|
|
|
|
|
GUS PnP.
|
|
guenther is working on
ok miod
|
|
OK kettenis.
|
|
Tested on a Supermicro X9SCL/X9SCM board.
With help from kettenis to make the part that works around a
chip ID collision less ugly.
OK kettenis
|
|
refresh function. sensor_task_work() is incomprehensively complex.
Work around this by using a workq to deactive the i2c alias when the
isa interface is preffered.
Problem of dead sensors reported by henning, fix tested by Nigel Taylor
ok kettenis
|
|
|
|
see a recent subr_autoconf.c commit). To resolve this problem, mark the
other attachment dead, and clean it up when the first servicing timeout
gets run.
ok kettenis
|
|
|
|
|
|
ok md5
|
|
doesn't work. goodbye. ok miod
|
|
|
|
ok tedu@, "I won't mourn it" miod@, "no objection" oga@,
"I won't cry" todd@, "fine, even happy" nick@
|
|
|
|
|
|
|
|
based locking.
ok gcc
|
|
need to provide an xxxprobe() method instead of an xxxmatch() method.
The critical difference is xxxprobe() is given a device softc for the
second argument, whereas a xxxmatch() is given the cfdata as the
second argument.
This commit fixes the handful of ISA device drivers that incorrectly
cast the second argument to a "struct cfdata *" instead of a "struct
device *". (Minor complication: unlike isa(4), isapnp(4) is a direct
bus, and if_we.c used the same probe/match code for both; now separate
we_probe and we_match methods are used as appropriate.)
"makes sense to me" krw@; ok miod@
|
|
1) Allocating with M_WAITOK, checking for NULL, and calling panic() is
pointless (malloc() will panic if it can't allocate) so remove the check
and the call.
2) Allocating with M_WAITOK, checking for NULL, and then gracefully
handling failure to allocate is pointless. Instead also pass M_CANFAIL
so malloc() doesn't panic so we can actually handle it gracefully.
1) was done using Coccinelle.
Input from oga.
ok miod.
|
|
a file compiled. spotted by guenther, but this is the right fix
ok miod
|
|
of silly flag twiddling code in various disk drivers.
ok deraadt@, miod@
N.B., users will need a -current disklabel(8) to be able to write new
disklabels to disk now.
|
|
never done anything in OpenBSD and just clutters disk drivers with
silly flag handling.
More cleanup to follow.
ok deraadt@, millert@; no objections krw@
|
|
1. Need to include <sys/dkio.h> since <sys/ioctl.h> no longer
includes it.
2. readdisklabel() returns an int, not an error string, so update
mcdgetdisklabel() accordingly. The return value is just ignored
currently, but that's no worse than cdgetdisklabel() in cd(4)...
Apparently no one has needed mcd(4) in the last two years.
|
|
function, and let attachment code calls this rather than malloc(9).
This prevents re-initialization of the queue in shared queue chipsets.
Also, add wdc_free_queue() as a complementary function.
Earlier version (without wdc_free_queue()) tested by sthen@ and Amit
Kulkarni on various pciide(4) chips.
ok dlg@
|
|
ok matthew@ tedu@, also eyeballed by at least krw@ oga@ kettenis@ jsg@
|
|
|
|
"reads OK" claudio@
|
|
machines after warm boot or resume. Some of the checks being made were
nonsense. Also tested by claudio and guenther.
ok jsg
|
|
ok dlg@ ("miod will not object" dlg@)
|
|
|
|
|
|
which have aps(4). You can now turn off the BIOS option for lid suspends,
and control it with sysctl.
|
|
ok krw@ deraadt@
|
|
automatic reading of disklabel on attach.
ok deraadt@ miod@ krw@
|
|
no point in keeping it around.
"i like this" thib@ (a while back); ok krw@ and oga@; reminder to
update the man page and tweaks jmc@
|
|
disk_attach() is called by the device driver. We will be building on
this shortly.
ok deraadt@ krw@
|
|
traversal code to suspend/resume
ok oga kettenis blambert
|
|
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations
to get ready.
Discussed quite a while back with kettenis and jakemsr, oga suddenly needed
it as well and wrote half of it, so it was time to finish it.
proofread by miod.
(missed file)
|