summaryrefslogtreecommitdiff
path: root/sys/dev/vscsi.c
AgeCommit message (Expand)Author
2024-05-13remove prototypes with no matching functionJonathan Gray
2023-10-25Make `vscsi_filtops' mpsafe. filt_vscsiread() checks `sc_ccb_i2t'Vitaliy Makkoveev
2022-07-02Remove unused device poll functions.Visa Hankala
2022-04-16constify SCSI adapter entry pointsChristian Weisgerber
2022-04-06constify struct cfattachChristian Weisgerber
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-09-22Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd'Kenneth R Westerback
2020-07-22Nuke unused struct scsi_link members of adapter softc's where theKenneth 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-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 the value that is beingKenneth R Westerback
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-02-05Nuke unnecessary abstraction 'scsi_minphys()' which just callsKenneth R Westerback
2020-01-23Use a consistant idiom/format when declaring scsi_adapter structuresKenneth R Westerback
2019-12-31convert infinite msleep(9) to msleep_nsec(9)Jonathan Gray
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-31Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-12-19poll handlers must return a poll(2) revents value, not errno(2) values.Reyk Floeter
2017-02-12Remove dead assignment and now unused variable.Charles Longeau
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2015-08-27fairly simple size for free()Theo de Raadt
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-27remove the second void * argument on tasks.David Gwynne
2015-01-02give the device ref taken in vscsikqfilter to the knote, and unrefDavid Gwynne
2015-01-02store all state needed to defer probe/detach events in vscsi_devevent_task.David Gwynne
2014-10-17convert old b functions to mem functionsTed Unangst
2014-10-10fix compilation without DIAGNOSTICJonathan Matthew
2014-09-22the kn_hook member of a knote is a void *, so we dont have to castDavid Gwynne
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-04-22move vscsi from using scsi_req_probe and scsi_req_detach to usingDavid Gwynne
2014-01-22iscsid can handle multiple outstanding commands per lun. with the latencyDavid Gwynne
2013-05-10bail if device_lookup doesn't find anything; brings vscsi(4)Mike Belopuhov
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-07-02kqueue attach functions should return an errno or 0, not a plain 1. FixNicholas Marriott
2011-04-28report XS_RESET to the midlayer for any pending commands when vscsi isDavid Gwynne
2011-04-05provide VSCSI_STAT_RESET so userland can tell us that the connection toDavid Gwynne
2010-09-25when vscsi is closed, deactivate all child devices so when we kill theDavid Gwynne
2010-09-22Call config_deactivate() on SCSI links in vscsiclose().Matthew Dempsky
2010-09-22when vscsi is closed request a detach of its children devices fromDavid Gwynne
2010-09-21Add device_unref() calls as appropriate to vscsi(4) to fix referenceMatthew Dempsky
2010-07-24Restore a needed 'return' removed in the last commit, and stylisticMatthew Dempsky
2010-07-24fix another race. vscsi_cmd checked if the adapter was running atDavid Gwynne
2010-07-23matthew@ noted a possible misuse of the rwlock used to protect vscsiDavid Gwynne
2010-06-28Remove all adapter-specific 'struct scsi_device's. They are never used. FirstKenneth R Westerback