Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-08-08 | if the port is fc, populate the adapters scsi_link structure with the wwpn | David Gwynne | |
and wwnn so scsibus can use it. requested by and ok deraadt@ | |||
2009-03-06 | Bring NO_CCB to mpi. | Kenneth R Westerback | |
ok marco@ | |||
2009-02-16 | Extend the scsi_adapter minphys() callback to take a struct scsi_link * | Miod Vallat | |
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary. | |||
2009-02-13 | missing braces; ok marco | Stuart Henderson | |
2008-11-23 | enable bio | Marco Peereboom | |
ok dlg | |||
2008-11-23 | sizeofa is now nitems in param.h, so dont declare my own in mpi.c it was | David Gwynne | |
unused there anyway. use nitems in mpi_pci_match. | |||
2008-11-18 | Remove dup proto from <alexey.suslikov@gmail.com> | Marco Peereboom | |
2008-11-03 | Don't attach bio unless we do RAID. | Marco Peereboom | |
2008-11-01 | Add sensors | Marco Peereboom | |
2008-11-01 | Fix bogus shift. | Marco Peereboom | |
2008-11-01 | Add disk. This makes bio mostly done however to make it pretty we need | Marco Peereboom | |
to implement RAID_ACTION. Remains disabled for now. | |||
2008-10-28 | Pointer sizeof oops | Marco Peereboom | |
2008-10-28 | Add beginings of bio. Disabled for now. | Marco Peereboom | |
dlg "go go go" | |||
2008-10-07 | if fetching a config page for a sas target doesnt work then let the scsi | David Gwynne | |
midlayer try to probe it anyway. this lets raid devices configured on an mpi to work again. reported by djm@ | |||
2008-09-30 | check all luns on sas boards to see if the device is atapi instead of just | David Gwynne | |
the first one. | |||
2008-09-30 | provide a scsi probe hook that checks if an atapi device is plugged into | David Gwynne | |
sas mpi variants. this lets the midlayer know it should send the right sized commands to the device. this will make the cd drive work on the sun enterprise m4000 and related machines. reported by James Hsieh at sun. | |||
2008-09-30 | add support for handling extended configuration page requests. the sas | David Gwynne | |
pages are all extended, which is annoying. | |||
2008-09-30 | straighten the deck chairs slightly | David Gwynne | |
2008-05-25 | tweak the SPI port configuration if we figure out that it is not quite | David Gwynne | |
right, in particular the adapters scsi id on the bus. requested by kettenis@ who is having trouble with the scsi controller on the primepower 250. | |||
2007-12-27 | 1.90 again. use the right flags when creating a dmamap for use during | David Gwynne | |
interrupts. | |||
2007-12-27 | oops, there was other code in the previous commit that shouldnt have gone | David Gwynne | |
in. this reverts 1.90. | |||
2007-12-27 | use the right flags when creating dmamaps for use in interrupt handlers. | David Gwynne | |
2007-09-12 | always tag fibre channel commands. | David Gwynne | |
ok marco@ | |||
2007-09-11 | KNF | Gilles Chehade | |
prompted and "much better" by marco@, ok pyr@ | |||
2007-09-07 | take advantage of the new M_ZERO malloc flag. | David Gwynne | |
2007-06-12 | add M_CANFAIL to malloc() flags, requested by | Thordur I. Bjornsson | |
marco after I showed him a diff to remove the malloc retun values since they are all called with M_WAITOK. ok marco@ | |||
2007-05-31 | remove the scsi task thread, and replace it with the system workq. | David Gwynne | |
"just :wq and do it" tedu@ | |||
2007-04-03 | modernise scsi_inquiry. the length field has grown and now theres pages to | David Gwynne | |
query. ok krw@ | |||
2007-03-17 | replace the VMWARE quirk that restricts the bus width to 16 targets with | David Gwynne | |
one for all SPI controllers. krw has a sun machine with a 1030 that gets the bus width wrong too, so since vmware emulates that type of hardware too, we can just limit the lot of them and forget about it. | |||
2006-11-28 | give scsi controllers a real attach args to fill in when attaching scsibus. | David Gwynne | |
ok miod@ marco@ deraadt@ | |||
2006-11-28 | unhandled ioctls return ENOTTY, not 0 | David Gwynne | |
2006-11-28 | remove dead code | David Gwynne | |
2006-11-26 | use scsi_detach_target when a device dissapears, rather than using | David Gwynne | |
config_detach and cleaning the midlayer up ourselves. | |||
2006-11-25 | remove a comment which is now untrue after i fixed it | David Gwynne | |
2006-10-22 | oops, the eventnotify stuff was accidentally enabled with the scsiconf | David Gwynne | |
changes. its not ready yet, so disable it again. | |||
2006-10-21 | rework the bus scanning code by splitting it out into separate functions | David Gwynne | |
for walking the bus and targets, and probing the luns. this removes the need to use magic numbers to wildcard each of these, which in turn makes the code a lot easier to read. as a bonus we get some more space to work in (80 chars isnt that much somtimes). note that this code wont probe high luns if lun 0 doesnt exist. ok krw@ | |||
2006-09-22 | add support for hotplugging devices on sas controllers. this is disabled | David Gwynne | |
for now until we deal more appropriately with events generated by other variants of mpi controllers. | |||
2006-09-21 | code for acking event notifications that require acks. | David Gwynne | |
2006-09-21 | deref the right rcb by using i as the index, not 1 all the time. | David Gwynne | |
2006-09-21 | start cleaning up the completion path for event notifications. | David Gwynne | |
2006-09-21 | add a debug flag type thing for event handling | David Gwynne | |
2006-09-21 | wrap the hardware replies up in a structure called mpi_rcb which is | David Gwynne | |
similair to the one used for requests. take the reply bits out of the ccb, but point it at the rcb instead. this lets us defer processing of the reply some time after we reuse or free the ccb. | |||
2006-09-21 | factor the common code out of mpi_intr and mpi_complete. they were | David Gwynne | |
basically identical apart from the conditions they looped on. | |||
2006-09-18 | macros and types for event notifications from the hardware. | David Gwynne | |
2006-09-18 | There's no need to walk the list of devices to find the SCSI bus we | Pedro Martelletto | |
should attach to, since config_found() already returns a pointer to it. Pointed out by Quentin Garnier, okay dlg@. | |||
2006-09-16 | rework the handling of the errors coming off the hardware at the bottom of | David Gwynne | |
mpi_scsi_cmd_done. this makes it more appropriate for our midlayer. ok beck@ deraadt@ | |||
2006-08-24 | dont print debug output when the scsi completion path returns with | David Gwynne | |
something other than SCSI_OK. for example, SCSI_SENSE is returned when the device has sense data. this code was left in to help debug problems in the field, but noones had any problems with mpi apart from it being too chatty when a device returns sense data... | |||
2006-08-03 | always call scsi_done at splbio. issue found by pedro@ | David Gwynne | |
while here protect submission of the scsi command with splbio as well. | |||
2006-07-15 | set the tags on the scsi command according to what the midlayer says they | David Gwynne | |
should be. | |||
2006-07-15 | have a go at configuring spi variants to only talk to the devices at the | David Gwynne | |
lowest possible speeds during inquiry and attach. some devices, like tapes and enclosures, dont like being probed at high speeds and can attach as weird things. this seems to help those devices. |