summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mpi.c
AgeCommit message (Expand)Author
2016-08-17Make error handling (esp. DATA_UNDERRUN) clearer and avoid losing residKenneth R Westerback
2016-08-14change some types in bio from u_quad_t to uint64_t, and fix casts inDavid Gwynne
2015-10-23replace pointer arithmetic and casts with offsetofJonathan Gray
2015-09-09sizes for free(); ok sthenTheo de Raadt
2015-05-04Fix some misuse of the | operator. In particular | has higherJonathan Gray
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-09-17be less confusing to the compiler when setting up the sge.David Gwynne
2014-09-15mark the interrupt handler mpsafe, and drop the kernel lock in the scs_cmdDavid Gwynne
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-03tasks dont need a mutex and a semaphore to protect against multiple usesDavid Gwynne
2014-09-01move mpi(4) from workq to taskqBret Lambert
2014-07-13Some reallocarray() use; review Jean-Philippe Ouellet, patrick keshishianTheo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-04-16print the board name and firmware revision like we do on mpii andDavid Gwynne
2014-03-25use lemtohXX and htolemXX as much as possibleDavid Gwynne
2014-03-25when reading from the chip you use letoh32, not htole32.David Gwynne
2014-03-24use htolemXX and lemtohXX in the scsi_cmd paths.David Gwynne
2014-03-24mpi scatter gather lists are 24 bytes long and next to each other inDavid Gwynne
2014-03-24factor out the setting of the request context field so mpi_start does itDavid Gwynne
2014-01-20bzero to memsetDavid Gwynne
2014-01-20bcopy to memcpyDavid Gwynne
2013-01-18data transfers suit STREAMING dma maps.David Gwynne
2013-01-17mikeb pointed at that the interrupt status register read in mpi_intr wasDavid Gwynne
2013-01-17we dont need to read the interrupt status register to know if we haveDavid Gwynne
2013-01-17treat DVAs as 64bits all the time so we can avoid ugly casts and shifts inDavid Gwynne
2012-09-18several tweaks to make mpi(4) work for vmware emulated sas adapters.David Gwynne
2012-09-12Use sg_addr instead of sg_lo_addr, leftovers from last commit.Christiano F. Haesbaert
2012-09-12Make sure we don't sleep on autoconf.Christiano F. Haesbaert
2012-08-26htole64 works as good as htole32 twice for dma virtual addresses.David Gwynne
2012-01-16mpi_get_ccb and mpi_put_ccb are only called via iopools now, so changeDavid Gwynne
2011-07-17Backout a bunch of my SCSI commits from c2k11. At least one of theseMatthew Dempsky
2011-07-08First batch of converting SCSI HBAs from setting saa_targets andMatthew Dempsky
2011-06-17M_WAITOK cleanup of two cases:Michael Knudsen
2011-04-27if getting the RAID header fails, dont stop the midlayer from trying toDavid Gwynne
2011-04-27configure fc controllers to fail io as fast as possible when cables areDavid Gwynne
2011-04-27return XS_RESET to the midlayer if the command was killed for some reasonDavid Gwynne
2011-04-27rework the scanning of fibre channel ports to match how linux does it.David Gwynne
2011-03-04Peek at the interrupt status register before poking with the reply postMike Belopuhov
2011-03-01back out r1.162, the one that bumps openings up on sas and fcDavid Gwynne
2010-09-24vol_list in mpi_get_raid is never used.David Gwynne
2010-09-21tweak the sas io unit to use 32 openings when talking to sata disks if theDavid Gwynne
2010-09-20Use SSD_ERRCODE_CURRENT instead of magic 0x70.Kenneth R Westerback
2010-09-14allow devices on fc and sas adapters to use all the openings the chip canDavid Gwynne
2010-09-13if a busy sas device is unplugged, the pending io on that device willDavid Gwynne
2010-09-13dont reuse the event notifications ccbs id for the acknowledgement.David Gwynne
2010-09-13im not convinced we only have one outstanding event to ack at a time. thisDavid Gwynne
2010-09-10implement handling of rescan events on fc controllers. allows "hotplug" ofDavid Gwynne
2010-08-27get some format strings and variables right in debug outputDavid Gwynne
2010-08-07No "\n" needed at the end of panic() strings.Kenneth R Westerback