| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
member of 'struct scsi_xfer' has always been pointed at the 'struct scsi_generic
cmdstore' member of the same instance. So nuke 'cmdstore' and remove the '*'
from cmd. Take the address of cmd as required by the various casts.
No intentional functional change.
luna88k test by aoyama@, sparc64 test by jmatthew@
Identification of 2009's last *cmd use and ok jmatthew@
|
|
|
|
|
|
| |
struct scsi_rw_10.
ok gnezdo@ jmatthew@ (who also did sparc64 compile test)
|
|
|
|
|
|
|
|
| |
rarely (if ever) been done.
Fix many printf format errors to calm clang and gcc on amd64, i386,
hppa. Missing #include, complaints if 'option <blah>DEBUG' is used in
config files, etc. All in debug code.
|
|
|
|
|
|
|
| |
fields to struct scsibus_attach_args. Nuke the struct scsi_link *
(saa_sc_link) in scaibus_attach_args.
Explicitly initialize each field in scsibus_attach_args variables.
|
|
|
|
|
|
|
| |
adapter_buswidth, adapter_softc) from struct scsi_link to struct
scsibus_attach_args.
Additional compile tests by jmatthew@ (sparc64) and aoyam@ (luna88k).
|
|
|
|
|
|
|
|
| |
In sparc64 autoconf access 'luns' via sb_luns and 'adapter_buswidth'
via sb_adapter_buswidth.
Removes last post-config uses of the copies of bus related
information in scsi_link.
|
|
|
|
|
| |
&sc->sc_dev to get a device pointer rather than using the void *
whence we obtained 'sc'.
|
|
|
|
| |
(scsi_link.adapter_softc) to a pointer of a particular softc type.
|
| |
|
|
|
|
| |
immediately before initializing the only field in the struct.
|
|
|
|
|
|
| |
the adapter is not a target on the bus.
ok dlg@ as part of a larger diff.
|
|
|
|
|
|
|
|
|
|
| |
does nothing at all.
The first one spotted as CID 1452976.
Reads good to millert@
ok mpi@
|
|
|
|
|
|
|
|
| |
nothing at all. MAXPHYS will be applied in minphys() and nothing at
all, well, doesn't do anything.
Also remove any '#define <blah> MAXPHYS' statements used solely to
disguise MAXPHYS in said functions.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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 kn@
|
|
|
|
|
|
|
| |
(reverting most of r1.60 of mfi.c, oddly enough)
ok dlg@
tested on a SAS2008 (perc h310)
|
|
|
|
| |
ok dlg@ deraadt@ kettenis@
|
| |
|
|
|
|
|
|
|
|
| |
makes bioctl work on mfi(4) again.
while here memset a few mboxes before using them.
bioctl breakage reported by jason george
|
|
|
|
|
|
|
| |
memcpying uint16_ts into inconsistently addressed offsets is hard
to read, and this makes future work easier to implement.
tested on mfi(4) and mfii(4)
|
| |
|
|
|
|
|
|
| |
mfi(4). Based on FreeBSD, but done without mfiutil(8).
OK deraadt@
|
|
|
|
|
|
|
|
| |
While mfi(4) should pass SCSI transfer flags (e.g. SCSI_POLL and
SCSI_NOSLEEP) down to the management function, make it at least
use "cold" consistently for now.
ok dlg
|
|
|
|
|
|
|
| |
have any direct symbols used. Tested for indirect use by compiling
amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
|
|
|
|
|
|
| |
io against physical disks on my dell perc h310s. logical disks still
work fine.
ok deraadt@ yasuoka@
|
|
|
|
|
|
|
| |
diff from Tsubai Masanari
test dlg jmatthew
ok dlg
|
|
|
|
|
|
|
|
| |
be enabled by default. Also if the controller doesn't have any RAM,
the cache on the physical disk will be enabled.
discuss with jsg tsubai
ok dlg
|
| |
|
|
|
|
| |
ok mpi@ kspillner@
|
|
|
|
|
|
|
|
| |
submission paths. take biglock again when calling back into the scsi
stack.
tested on a variety of cards here, including the skinny mfis on the
firewall next to mpsafe myx.
|
|
|
|
|
|
|
| |
adapters can use "IEEE sgl".
tested dlg yasuoka
ok dlg jsg
|
|
|
|
| |
ok tedu
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
|
| |
bus_addr_t and bus_size_t are u_long everywhere
ok kettenis@
|
| |
|
|
|
|
|
|
| |
hardware.
ok dlg@, jmatthew@
|
|
|
|
|
|
|
|
| |
replaces pointers in the softc and all sorts of fun stuff. this protects
the call to bio_getitall with the sc_lock the ioctl path uses, so we dont
get panics like those reported on bugs@ recently.
ok deraadt@
|
|
|
|
|
|
|
| |
and make mfi(4) pass up the necessary information. Adding support for other
RAID controllers is left as an excercise to the reader.
ok deraadt@
|
|
|
|
|
|
|
|
|
| |
The dell perc 6/i sets this to zero (meaning bad) when it
decides the battery doesn't have enough capacity for it to
allow write back mode, but doesn't set any of the other flags
to tell us why.
ok dlg@, tested by sthen@
|
|
|
|
| |
spotted by krw, missed by jsg, and forwarded From: Alexey Suslikov
|
|
|
|
| |
ok fgsch@ krw@ kettenis@
|
|
|
|
|
| |
$VENDOR to complain about a lack of diagnostic material from their crappy
mgmt tools if you're not running an operating system they support.
|
|
|
|
| |
newly replaced batteries dont show up immediately.
|
|
|
|
|
|
| |
support it.
now i can tell (a bit better) why io might be slow on some of my boxes.
|
|
|
|
|
|
|
|
| |
disk scsibus when we record that in mfi_attach.
also happens to get rid of a logic error that let it come out of the loop
on alldevs with a reference to something that wasnt the logical disk
scsibus and use that.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
index to which ccb to free wrong.
this takes the logic from mpi/mpii/mfii which pulls the ready ccbs off
the free list rather than rely on the current index from the for loop
that we failed inside of.
thanks to david for finding this out.
|
|
|
|
| |
ok mikeb
|