Age | Commit message (Collapse) | Author |
|
SCSI when you're talking to a scsi to ata translation layer (satl). this
implements the ata command ioctl handler in scsi_ioctl.c that wraps the
ata command requests up in these scsi commands and then issues them against
the hardware. this cuts atascsi over to interpreting these scsi commands
rather than the ioctls directly.
this should allow mpi users (with a relatively recent firmware) to use
atactl against their SATA disks. i cant test cos my mpi(4) parts are too
old to either support these scsi commands or too old to take recent
firmwares.
ok marco@ @krw tested by krw@ and me on ahci/atascsi
|
|
ok deraadt@
|
|
ok sthen
|
|
ok dlg@, marco@
|
|
|
|
and makes the ioctl path more reliable on busy disks by allowing it to
sleep in the runqueue for an io to use.
mk@ did the original diff and figured most of the problems out. ok mk@
|
|
|
|
tag and compare the individual components.
|
|
|
|
VGA device can be active, and is responsible for routing IO to the active VGA
device. Processes can use the new PCIOC_GETVGA and PCIOC_SETVGA ioctls
to manipulate the VGA arbiter.
ok deraadt@, oga@
|
|
ok deraadt@
|
|
sysctl.h was reliant on this particular include, and many drivers included
sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed.
ok deraadt
|
|
slipped into the original NetBSD code around sixteen years ago.
Although it has been working so far because some devices used
address zero and other devices ignored the wrong higher bits.
- Remove the mem_ring override in ne2000_attach() now that
dp8390_config() calculates mem_ring correctly.
From NetBSD, via brad
|
|
|
|
chip initialization values (SCNTL0, DMODE, DWT, CTEST7).
No functional change on hppa; required by another upcoming attachment.
|
|
found by clang static analyser
|
|
found by clang static analyser.
|
|
Due to the messy context setup code this was breaking ipv6 forwarding
when ipv4 offloading was enabled. All checksum offloading remains
disabled for now.
Debugged with and ok claudio@
|
|
|
|
|
|
we shouldn't be touching the config space at all here.
Found by the clang static analyser.
ok deraadt
|
|
|
|
index
- we only care about unsolicited responses from the codec we're using
- no need to enable unsolicited responses until we know which codec
we're using
fixes crash reported by jacekm@
|
|
fixes TX power settings for CCK rates on AR9280 devices in
open-loop power control mode.
|
|
The spec says this bit should always be set. It can help resolve
hardware deadlocks where a unit downstream of the VS is waiting for more
input, the VS has one vertex queueed up but not dispatched because it
hope to get one more vertex so it can dispatch a 2x4 block, and software
isn't handing any more vertices due to waiting on rendering.
|
|
found by Clang static analyser.
|
|
prevent the horrible constructs we use to determine generation
otherwise.
|
|
The tiling check was insufficient and allowing too large pitches, which
in some cases could cause graphical corruption, strengthen the check so
that only valid values are used. Solved and patch ported from one by
Daniel Vetter on intel-gfx.
tested by Dorian Buettner (first dot last @ gmx dot de); thanks!
|
|
inquiry against the device up to when the port is probed. this has been
bugging me for ages.
|
|
big motivation to implementing iopools. while looking at another issue i
noticed that openings were cut up for each disk.
this cranks openings to maxcmds.
|
|
crypto optional metadata.
ok marco@
|
|
|
|
|
|
|
|
|
|
written to detect the Intel RAID metadata format such that we no longer risk
overwriting it. If this makes you lose your disks, you'll need to change the
controller type from RAID to AHCI in the BIOS to get them back.
ok marco@, deraadt@
|
|
|
|
|
|
when we go to pin, additionally check alignment against that required
for tiling and unbind/rebind if needed. We shouldn't hit this case, but
it is a good to check (would have found the bug in the last commit).
tested by mlarkin and matthieu (and myself, of course)
|
|
alignment errors that matthieu and mlarkin saw.
Tested by both of them, and by me.
|
|
|
|
|
|
retrying that will hurt.
|
|
for it, oops.
|
|
makes output sane on sparc64 and other BE archs.
found by jason george
|
|
reported by enami-san
|
|
and then start attaching it with 0 sensors attached
ok dlg
|
|
- support sharing a phy port by devices (should work fine with sas
expanders that share phy port number if such exist);
- remove dead timeout_xs stuff;
- make mpii_push_reply take a struct mpii_rcb argument instead of an
address (like mpi does);
- use SLIST instead of TAILQ to manage ccbs (ala mpi);
- rototil openfirmware attachment code as it was copied verbatim
(but with an error) from mpi and clearly wasn't tested;
- increase reset delay to 240ms for stability purposes;
- sprinkle some 'default' cases in a bunch of switch statements;
- remove several splbio's from the code that runs on boot;
- clarify/simplify the code that deals with sc_vd_id_low;
- some slight cleanup.
|
|
Tested by me and mlarkin on amd64 and i386
ok oga
|
|
from Linux
|