summaryrefslogtreecommitdiff
path: root/sys/scsi/scsiconf.c
AgeCommit message (Expand)Author
2019-09-01Adopt the SCSI versioning #define's from FreeBSD. Eliminate theKenneth R Westerback
2019-08-30Rectify error made in 2006. SPC-2 == SCSI-3, not SCSI-2!!Kenneth R Westerback
2019-08-28Introduce SCSI0(), SCSI2() and SCSI3() defines to clarify (some) usesKenneth R Westerback
2019-08-27Refactor probing logic to mirror detach logic. i.e. put smarts inKenneth R Westerback
2019-08-24Simply logic of detaching things. scsi_detach_bus() folded intoKenneth R Westerback
2019-08-22T10/BSR INCITS 503 (SPC-5) is apparently a thing. UpdateKenneth R Westerback
2019-08-20scsi_probe_bus() always returns 0. Nobody but scsi_probe() evenKenneth R Westerback
2019-08-18Every "goto bad" in scsi_probedev() deserves a SC_DEBUG().Kenneth R Westerback
2019-08-18Rename 'link' to 'link0' as it refers to target 0 only.Kenneth R Westerback
2019-08-18When activating or detaching a target don't search the scsi_link SLISTKenneth R Westerback
2019-08-18sc_buswidth field in struct scsi_link is redundant. Just useKenneth R Westerback
2019-08-17Nuke some unused variables, tweak some declarations andKenneth R Westerback
2019-08-14scsi_[add|remove]_link() are local functions so move theirKenneth R Westerback
2019-08-14Whitespace nit. Add {} around body of SLIST_FOREACH().Kenneth R Westerback
2019-08-14Tweak some comments.Kenneth R Westerback
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2016-03-12Standardize on calling local scsi_link variables 'link' instead ofKenneth R Westerback
2016-03-10Enforce some naming sanity. Stop using 'sc_link' to mean two differentKenneth R Westerback
2015-08-23add some sizes to free. looked over by deraadtTed Unangst
2015-06-07More damned eye searing whitespace.Kenneth R Westerback
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-11we dont need sys/lock.h because we dont use lockmgr, but we do needDavid Gwynne
2014-12-15convert bcopy to memcpy. ok dlg krwTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-04-22factor out the code that figures out whether you're probing or detachingDavid Gwynne
2014-01-31if a device doesnt have device ids or serial numbers, try using node_wwn toDavid Gwynne
2013-12-06Add a DVACT_WAKEUP op to the *_activate() API. This is called after theTheo de Raadt
2012-10-16#if SCSIDEBUG -> #ifdef SCSIDEBUGJonathan Gray
2012-10-08Revamp the sequences for suspend/hibernate -> resume so that the codeTheo de Raadt
2011-09-22Fix order of arguments passed to malloc(9) - type first then flags.Joel Sing
2011-09-02generate a devid from vpd page 80 if vpd page 83 doesnt exist or work.David Gwynne
2011-07-17Backout a bunch of my SCSI commits from c2k11. At least one of theseMatthew Dempsky
2011-07-06Add {sc,saa}_{targets,luns} to scsibus_softc and scsibus_attach_args.Matthew Dempsky
2011-07-05Garbage collect SDEV_S_WAITING and scsi_link->scsibus now that nothingMatthew Dempsky
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky
2011-06-21scsi_link's scsibus field is redundant with bus->sc_dev.dv_unit, soMatthew Dempsky
2011-05-04When printing scsi device ids, skip leading blanks and collapse multipleStuart Henderson
2011-04-29zero out a scsi_links node_wwn and port_wwn fields after initialising itDavid Gwynne
2011-04-06add a new "serial" devid type for scsi devices. add code to usb that fakesDavid Gwynne
2011-04-06unconditionally print scsi device ids instead of just when mpath isDavid Gwynne
2011-04-05do inquiries against dmaable memory while probing devices.David Gwynne
2011-04-05move forward with scsi multipathing.David Gwynne
2011-03-31- use nitems(); no binary change.Jasper Lievisse Adriaanse
2011-03-17use dma_alloc/dma_free instead of malloc to allocate buffers which needTheo de Raadt
2010-10-12Force openings to 1 for devices that can't do tagged i/o, i.e. moreKenneth R Westerback
2010-09-08activate hooks should return a value.David Gwynne
2010-09-02the page_length field in the vpd page header is 2 bytes, not 1.David Gwynne
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforeTheo de Raadt
2010-08-25add scsi_iopool_destroy and scsi_link_shutdown. when a link orDavid Gwynne
2010-07-24Get rid of scsi_deinit(), and change scsi_init() back to a one-timeMatthew Dempsky