| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
of the ioc config in the softc. instead, we only walk page 2 when we get
the raid config and mark each disks scsi_link structure with the
SDEV_LOGICAL flag when we find volumes. while there we mark this instance
of the driver as being capable of doing raid so later on we can
conditionally hook up bio.
when we walk the devices attached to mpi to do ppr, we now skip the logical
disks.
|
|
|
|
| |
device tree all the time.
|
|
|
|
| |
rather than just completed.
|
|
|
|
|
| |
to htole32().
"go for it" miod@
|
| |
|
|
|
|
|
|
|
|
|
| |
either a normal target, or against a physical disk using the raid passthru
command. it is necessary since the normal io path can only be used by the
midlayer, and only against normal targets. this will be used for ppr
against the disks in raid volumes on scsi controllers.
tested by marco@
|
|
|
|
|
| |
code easier since we dont have to byteswap and shift stuff around so much.
no functional change though.
|
|
|
|
|
|
|
|
| |
on byte boundaries. so rather than byteswappping and bitshifting the
values in these subfields around we can break them up into byte fields and
access them directly.
this breaks up the control field in the scsi io command.
|
|
|
|
| |
a kitten. Commiters, please think of the kittens when working on code.
|
|
|
|
|
|
| |
store these values in the scsi_link structure for each device.
ok dlg.
|
|
|
|
| |
debugging FC stuff.
|
|
|
|
|
|
|
| |
we can actually find the drives on the fabric. Requested by kettenis krw
and brad.
ok dlg
|
|
|
|
|
|
|
|
|
|
|
|
| |
we read off the hardware and use to configure the driver with are set to
zero, so things dont really work like we want them to.
one of these fields is the pci subsystem id which is something we can fetch
really early in the attach process. so if the subsys is 0 then we go on and
fix up some of the values we get off the "hardware". now we can attach
disks on vmware.
"sneaky" and ok marco@ tested by and ok brad@
|
|
|
|
| |
devices yet.
|
| |
|
| |
|
| |
|
|
|
|
| |
RAID support and bio. "go at it" dlg
|
|
|
|
| |
to diagnose field issues. Talked through with dlg.
|
|
|
|
|
| |
as well as the request itself, so we need to sync the memory in both
directions for dma.
|
|
|
|
|
| |
recalculating them whenever i want to use them? shorten code a bit by using
the stored values.
|
|
|
|
|
|
|
|
|
|
|
| |
- when the sgl grew too large it became bigger than the maximum frame size
that the ioc would deal with, and then it would just stop doing io. i was
using the wrong field from iocfacts to figure out how large an sgl should
be.
- chained sgls were broken cos i was including the current chain element in
the calculation of the offset to the next chain element.
big ok from marco@
|
|
|
|
|
| |
mpi_interrupt and mpi_completion. if we got an address reply followed by a
context reply we used to pass that same reply to both completion routines.
|
| |
|
|
|
|
| |
ok dlg
|
|
|
|
|
|
| |
This was causing the "empty portfacts" issue since the IOC wasn't complete
yet with the request however since the id would match the requested id the
timeout was a terminal condition.
|
|
|
|
| |
me pointed out by marco.
|
|
|
|
| |
ok dlg
|
| |
|
|
|
|
| |
retry the init sequence if this happens.
|
|
|
|
| |
yet, but i like to be ready when the time comes.
|
| |
|
|
|
|
|
|
|
| |
than posting back the offset of the reply frame to the start of the reply
space.
nobody likes panics, even if theyre free.
|
|
|
|
| |
of the address.
|
| |
|
|
|
|
| |
bigendian archs. this lets ses attach now.
|
|
|
|
|
| |
i got the page fetching right, its not really useful for anything in the
real world.
|
|
|
|
|
|
|
|
|
| |
on a port. since 256 wont fit into 8 bits they say 0 means 256. this diff
does the appropriate interpretation. it also avoids a divide by zero when
we figure the openings out by dividing the number of commands the
controller can support by the number of devices it supports.
panic found while testing the fc controller at home.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
the sas controller currently being used in jasons blade 2000 a chance to
respond.
|
| |
|
|
|
|
| |
controllers have a chance to respond.
|
|
|
|
|
| |
so it fits in the maximum request frame size. this will do until i can
write sgl chaining in a nice way.
|
| |
|
|
|
|
|
| |
complete to do its job. enforce the use of a timeout on polled commands
and make the callers check if the timeout happened.
|
| |
|
| |
|