Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-18 | Make mpi not spit out WWNN and WWPN as requested by deraadt and dlg. Do | Marco Peereboom | |
store these values in the scsi_link structure for each device. ok dlg. | |||
2006-06-18 | Don't walk memory whenever there is nothing there. I ran into this while | Marco Peereboom | |
debugging FC stuff. | |||
2006-06-18 | Print World Wide Node Name and World Wide Port Name during dmesg so that | Marco Peereboom | |
we can actually find the drives on the fabric. Requested by kettenis krw and brad. ok dlg | |||
2006-06-16 | vmware emulates mpi, but it does a half arsed job of it. half the fields | David Gwynne | |
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@ | |||
2006-06-15 | Add detection of RAID volume during PPR. Doesn't fan out the ppr to individual | Marco Peereboom | |
devices yet. | |||
2006-06-15 | Add IOC page 3 support. Needed for RAID and bio. | Marco Peereboom | |
2006-06-15 | Print volume details in debug. | Marco Peereboom | |
2006-06-15 | And now without a buffer overflow. Pointed out by dlg. No cookie for me. | Marco Peereboom | |
2006-06-15 | Add structures and initial code to retrieve IOC page 2. We need this for | Marco Peereboom | |
RAID support and bio. "go at it" dlg | |||
2006-06-15 | Print some useful error information during failure. We need this to be able | Marco Peereboom | |
to diagnose field issues. Talked through with dlg. | |||
2006-06-13 | we sometimes bundle chunks that the ioc will write to in the request space | David Gwynne | |
as well as the request itself, so we need to sync the memory in both directions for dma. | |||
2006-06-12 | i stashed the dva and kva of each request space in its ccb, so why am i | David Gwynne | |
recalculating them whenever i want to use them? shorten code a bit by using the stored values. | |||
2006-06-12 | fix sgl loading. there were a few issues, the main ones being: | David Gwynne | |
- 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@ | |||
2006-06-12 | reset the reply pointer to NULL every time we get a context reply in | David Gwynne | |
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. | |||
2006-06-12 | white space fixes | David Gwynne | |
2006-06-12 | Initial version of dv for scsi. Work based on dlg's code. | Marco Peereboom | |
ok dlg | |||
2006-06-10 | Make id in mpi_complete an unused value instead of random stack garbage. | Marco Peereboom | |
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. | |||
2006-06-10 | if we're not reading a page then we're writing a page. stupid braino from | David Gwynne | |
me pointed out by marco. | |||
2006-06-10 | Redo debug prints to make it less loud and more granular. | Marco Peereboom | |
ok dlg | |||
2006-06-08 | unsigned long long -> u_int64_t | David Gwynne | |
2006-06-08 | dont panic on empty portfacts or portenable replies. we should probably | David Gwynne | |
retry the init sequence if this happens. | |||
2006-06-06 | set the ccb state when it comes off the free list. this isnt used anywhere | David Gwynne | |
yet, but i like to be ready when the time comes. | |||
2006-06-06 | fix a panic string to mention the corrent place its freaking out in. | David Gwynne | |
2006-06-01 | leave the reply_dva address alone so we can post it back to the ioc rather | David Gwynne | |
than posting back the offset of the reply frame to the start of the reply space. nobody likes panics, even if theyre free. | |||
2006-06-01 | fix the reply handling on crazy machines that give me bits in the high part | David Gwynne | |
of the address. | |||
2006-06-01 | 64 bit dva addresses so we can >> 32 later; ok dlg | Theo de Raadt | |
2006-05-31 | byteswap the ioc_status field so we can respond to scsi things properly on | David Gwynne | |
bigendian archs. this lets ses attach now. | |||
2006-05-31 | remove the fetching of the manufacturing page. it was just there to see if | David Gwynne | |
i got the page fetching right, its not really useful for anything in the real world. | |||
2006-05-31 | mpi hardware uses an 8 bit field to describe the number of devices it has | David Gwynne | |
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. | |||
2006-05-31 | dont display the first manufacturing page | David Gwynne | |
2006-05-31 | c++ style comments shouldnt be in the tree | David Gwynne | |
2006-05-31 | int32 i >> 32 is undefined, so cast to unsigned long long first, ok dlg | Theo de Raadt | |
2006-05-31 | implement chained scatter gather lists. | David Gwynne | |
2006-05-30 | raise the timeout on the init commands (especially port enable) to give | David Gwynne | |
the sas controller currently being used in jasons blade 2000 a chance to respond. | |||
2006-05-30 | hush; ok dlg | Jason Wright | |
2006-05-29 | increase the timeout on the enabling commands during attach so that sas | David Gwynne | |
controllers have a chance to respond. | |||
2006-05-29 | limit the number of scatter gather entries sent with the scsi_io commands | David Gwynne | |
so it fits in the maximum request frame size. this will do until i can write sgl chaining in a nice way. | |||
2006-05-29 | put the 64bit flag in the right place on the scatter gather list. | David Gwynne | |
2006-05-29 | split mpi_poll out into mpi_complete, and rewrite poll to use start and | David Gwynne | |
complete to do its job. enforce the use of a timeout on polled commands and make the callers check if the timeout happened. | |||
2006-05-29 | remove some if 0 code | David Gwynne | |
2006-05-29 | bump mpi up to using 64bit for all dva | David Gwynne | |
2006-05-28 | junk to read and write configuration pages. | David Gwynne | |
2006-05-28 | pass the reply from the hardware via the ccb rather than on the stack to | David Gwynne | |
the function handling the completion. this means that the completion function can do nothing with the reply, instead leaving it up to the requester to deal with. | |||
2006-05-28 | rename mpi_complete to mpi_poll and make it call mpi_start itself. | David Gwynne | |
2006-05-27 | make debug output during attach quiet unless you want it by raising | David Gwynne | |
mpidebug | |||
2006-05-27 | remove dead code | David Gwynne | |
2006-05-27 | add mpi(4), an alternative (replacement) driver for lsi logic fusion mpt | David Gwynne | |
controllers currently supported by mpt(4). ok marco@ |