| Age | Commit message (Collapse) | Author | Files | Lines |
|
with gotos.
supported by kettenis@, ok sobrado@
|
|
reviewed by jmatthew@
ok kettenis@
|
|
7Y250M0, refuse to do DMA unless the transfer mode has been set. This causes
reads (and presumably writes) to time out.
Unlike the wdc code, this only sets the UltraDMA transfer mode. If we ever
want to support ancient PATA drivers through the atascsi layer, we probably
need to set the PIO and/or MWDMA transfer modes as well.
ok jmatthew@, dlg@)
|
|
ok tb@
|
|
2. Replace a continue statement in an inner loop with goto loop_end
This fixes a simple logical bug found with Coccinelle.
ok kettenis@
|
|
positions when deciding how much work to do, and to adjust rl_tx_free with
atomic operations; split the flag that indicates whether we're using
timer based interrupts or not out into a separate field so it can be
changed from interrupt context without needing a lock; take the kernel
lock when calling re_init and re_start from interrupt context; add an
interrupt barrier in re_stop; and finally mark the interrupt handler
as mpsafe.
started by Jim Smith a while ago, mostly finished up at n2k15
tested by dlg@, chris@ and Dimitris Papastamos on various hardware
ok dlg@
|
|
from Martin Natano (and also reported by Stefan Kempf)
|
|
|
|
|
|
|
|
|
|
for-loop as acpithinkpad does
|
|
and updates is no longer needed and can be removed, so simplify things and
initialize the sensors on attach and update them through the sensors task
|
|
|
|
|
|
|
|
ok jcs
|
|
|
|
ok sf@
|
|
would need to be freed in a couple other places
with deraadt
|
|
|
|
when NULL or zero length value was specified.
|
|
|
|
|
|
becomes much more reliably if we pay attention to the IBF and OBF flags.
This removes the need for excessive delays and retries, making operations
complete in microseconds instead of seconds.
This diff also removes flushing the read buffer after a read operations. This
doesn't seem to be necessary, but we might need to put that back if the
length of a reply changes for some keys.
ok jung@, deraadt@
|
|
This patch adds a new driver for use of virtio-console devices as
ttys. It's still in an early state and not compiled by default, yet.
Currently it is only wired into amd64. i386 is still missing.
Discussed with uebayasi@, deraadt@
|
|
error condition in an inner loop. Found with Coccinelle.
Pointed out by tedu@, ok kettenis@ and deraadt@ about three months ago.
|
|
Mask the event port during xen_intr_establish, but don't set the
masked flag in the intsrc. By providing mask and unmask routines
we allow the device to decide when to perform these actions. The
port will still be unmasked during xen_intr_enable. This allows
netfront to fulfil the intr_barrier pattern requirements fairly
easily and at the same time should be sufficient for diskfront
that doesn't need to fiddle with interrupt masking.
|
|
|
|
|
|
features, and some code (such as the Xorg modesetting driver) actually checks
the version. With this change the PCI-based probe method in that driver
works.
ok jsg@
|
|
a firmware.
Regression spotted by deraadt@
|
|
Diff by Matthew Martin, thanks!
ok djm@, tedu@
|
|
ok mpi@
|
|
macppc.
|
|
Based on linux commit 5613beb46d54da6ef7f1c4589e9f2e60eeb10721 found
by jsg@.
KMS is now usable on Uninorth machines but X11 output is still
corrupted.
ok kettenis@
|
|
support for G4 machines.
This allows us to enable agp(4) again for G5 machines.
ok kettenis@
|
|
|
|
xen_intr_establish was using a variable that hasn't got its value
updated in the supplementary check for event channel port unmasking.
xen_intr_disestablish didn't save and correctly check the return value
of xen_lookup_intsrc call and was incorrectly indexing into the pending
event channel port bitmap.
|
|
introduced in the previous step, and use atomic instructions to make the
tx completion path mpsafe as well.
ok claudio@, mpi@
|
|
Tested by Cedric on macppc/i386, and by myself on macppc.
|
|
introduced in the previous step, and use atomic instructions to make the
tx completion path mpsafe as well.
ok claudio@, mpi@
|
|
ok visa@
|
|
fail. This codepath doesn't exist upstream, so it's fine to change.
ok jsg@
|
|
possibly make this driver portable
|
|
|
|
and return error. From Alexey Suslikov <alexey.suslikov at gmail.com>
|
|
of Thinkpads (x220 and later) and using means the brightness level is
coordinated properly with the firmware. This gets rid of the surprising
brightness changes that would sometimes happen if you used the brightness
keys or if the firmware decided to reset the brightness level for some
other reason.
ok tedu@, jung@, naddy@
|
|
|
|
Fix a regression reported by Ian Mcwilliam on tech@
|