summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mfi.c
AgeCommit message (Expand)Author
2023-11-28correct spelling of FALLTHROUGHJonathan Gray
2023-07-06Use mtx_init() to initialize stack-based mutexesVisa Hankala
2023-05-25Disable witness for mutexes created on the stack which allowsKurt Miller
2022-04-16constify SCSI adapter entry pointsChristian Weisgerber
2020-09-22Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd'Kenneth R Westerback
2020-09-01Rename [READ|WRITE]_BIG to [READ|WRITE]_10. Rename struct scsi_rw_big toKenneth R Westerback
2020-07-24Turning on various scsi drivers' *DEBUG options reveals that this hasKenneth R Westerback
2020-07-20Move remaining scsi bus initialization info from "prototype scsi link"Kenneth R Westerback
2020-07-19Move the adapter related items (luns, adapter, adapter_target,Kenneth R Westerback
2020-07-16Access adapter softc via link->bus->sb_adapter_softc.Kenneth R Westerback
2020-07-13Where we have a pointer (sc) to the relevant adapter_softc, useKenneth R Westerback
2020-07-13Remove some pointless casting of void * when assigning oneKenneth R Westerback
2020-06-27Nuke trailing whitespace.Kenneth R Westerback
2020-06-27No need to bzero()/memset() 'struct scsibus_attach_args' variablesKenneth R Westerback
2020-06-24Use SDEV_NO_ADAPTER_TARGET instead of -1 to indicateKenneth R Westerback
2020-03-21Simplify some goto'ing that jumps a single line orKenneth R Westerback
2020-02-13Nuke *_minphys() functions that either simply apply MAXPHYS or doKenneth R Westerback
2020-01-26Shuffle some names around to make reading the code less headacheKenneth R Westerback
2020-01-25Drivers that implement their own *minphys() don't need to call theKenneth R Westerback
2020-01-23Use a consistant idiom/format when declaring scsi_adapter structuresKenneth R Westerback
2019-12-31Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-03-05apply background init progress fix from r1.59 of mfii.cJonathan Matthew
2018-08-14return ENOTTY rather than EINVAL to indicate an ioctl hasn't been handledJonathan Matthew
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-02-02copy the mbox into the dcmd struct, not the pointer to the mbox.David Gwynne
2017-01-23represent the mbox layout with union instead of an array of bytes.David Gwynne
2015-09-09sizes for free(); ok sthenTheo de Raadt
2015-05-29Initial addition of ``Patrol Read'' support in bio(4), biocto(8), andMasao Uebayashi
2015-05-18Prevent splassert from firing during sd_flush which runs "cold"Mike Belopuhov
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-03-08properly set sgl related flags on skinny controllers. this fixesDavid Gwynne
2015-02-08Fix mfi ioctl to set drive state properly.YASUOKA Masahiko
2015-01-09Add support DIOC{G,S}CACHE to mfi(4). Cache of disk on mfi(4) willYASUOKA Masahiko
2014-12-19another handful of bcopy -> memcpy because there is no overlapTheo de Raadt
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-09mark the interrupt handler mpsafe, and give up biglock in the scsi cmdDavid Gwynne
2014-08-15Create a function which loads sgd in the mfi_iop_ops struct so that skinnyYASUOKA Masahiko
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-05-04format string fixes for bus_addr_t and bus_size_tStefan Fritsch
2014-02-20revert previous commit; didn't intend to commit those bitsMark Kettenis
2014-02-20Avoid printing the "nvram corrupt" message for onboard 2200s found on SunMark Kettenis
2013-12-04mfi_refresh_sensors calls mfi_ioctl_vol which calls mfi_bio_getitall, whichDavid Gwynne
2013-10-23Add support for displaying the cache write policy of RAID volumes to bioctl(8)Mark Kettenis
2013-10-09Include the 'state of health' field in the bbu ok sensor value.Jonathan Matthew
2013-05-18enw->new in comment;Jason McIntyre
2013-05-08fix some leaks in error pathsJonathan Gray
2013-05-03break out the battery status into excruciating detail. makes it harder forDavid Gwynne
2013-05-02always attach the battery sensor if the adapter lets us query it.David Gwynne
2013-05-01provide a sensor for the battery backup unit (bbu) on mfi boards thatDavid Gwynne