summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsi_base.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* TL;DR -- don't configure devices that return insufficient INQUIRY data.krw2020-11-191-24/+27
* Introduce scsi_copy_internal_data() to copy 'faked' data from a driver to akrw2020-10-141-1/+21
* Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd'krw2020-09-221-16/+15
* If SCSI_IGNORE_ILLEGAL_REQUEST is set no error is returned from scsi_xs_sync()krw2020-09-081-2/+5
* Rename SID_INQUIRY_HDR (a.k.a. 5) to more explicit SID_SCSI2_HDRLEN and use itkrw2020-09-051-7/+8
* Rename [READ|WRITE]_BIG to [READ|WRITE]_10. Rename struct scsi_rw_big tokrw2020-09-011-6/+6
* Compactify SDEV_/ADEV_ flags & quirks to eliminate the gaps in bit use and thuskrw2020-08-301-8/+1
* Nuke CDF_ANCIENT, SDF_ANCIENT SDEV_ONLYBIG and bogus check of SID_RelAdr inkrw2020-08-281-2/+2
* Replace last 2 'blah & (flag1 | flag2) == 0' with !ISSET(blah, (flag1 | flag2)).krw2020-08-191-2/+2
* Explicitly #include <scsi/scsi_debug.h> rather than assuming scsiconf.h will dokrw2020-08-111-1/+2
* Refactor scsi_show_flags() to allow 32-bit flags. Display unnamed flags as onekrw2020-07-271-23/+30
* SDEV_2NDBUS is gone. Update flagnames[] appropriately.krw2020-07-271-2/+2
* Access scsibus_softc info (luns, adapter, adapter_target,krw2020-07-161-2/+2
* Pass scsi_mode_sense_buf pointers to scsi_mode_sense[_buf]() ratherkrw2020-03-121-12/+13
* Check for short mode sense error inside scsi_mode_sense_big()krw2020-03-121-3/+4
* Eliminate 'len' parameter from scsi_mode_sense[_big](). It'skrw2020-03-121-9/+13
* No need to pass 20000 to scsi_mode_sense[_big]() as the desiredkrw2020-03-111-9/+9
* scsi_delay(): sleep without lboltcheloha2020-01-221-7/+8
* Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw2019-12-061-155/+155
* Don't discard error from mode sense (6) if mode sense (10) iskrw2019-12-051-4/+5
* Shrink scsi_mode_do_sense() parameter list by eliminating the threekrw2019-12-051-19/+10
* No need for 'byte2' parameter to scsi_mode_sense[_big]() since wekrw2019-12-051-9/+7
* Move prototypes for scsi_mode_sense(), scsi_mode_sense_big(),krw2019-12-051-1/+9
* Convert infinite sleeps to {m,t}sleep_nsec(9).mpi2019-12-041-5/+6
* Check for expected mode sense page code as well as expected mode page length whenkrw2019-12-031-11/+24
* Add display of mode sense data to SCSIDEBUG.krw2019-12-031-20/+46
* Have SCSIDEBUG show the number of bytes of VPD inquiry data received,krw2019-12-021-1/+3
* Don't forget the scsi_vpd_header when calculating the number of byteskrw2019-12-021-2/+3
* Tweak variable names to be consistent with 'pg_code' and 'pg_length'krw2019-12-011-14/+14
* Make prototype and implementation signatures the same by removingkrw2019-12-011-3/+3
* Abstract mode sense block descriptor parsing into a separate function.krw2019-11-281-36/+50
* Align an annoying comment.krw2019-11-281-2/+2
* Always pass a pointer to 'big' to scsi_do_mode_sense().krw2019-11-281-6/+3
* Don't zero existing values for density, block_count and block_size inkrw2019-11-261-7/+1
* Move struct scsi_read_cap_data and struct scsi_read_cap_data_16 tokrw2019-11-251-1/+73
* Consistently use ISSET() to check for set flags.krw2019-11-231-14/+14
* Consistently use !ISSET() to check for unset flags.krw2019-11-231-4/+4
* Be consistent and always use CLR() to clear flags.krw2019-11-221-4/+4
* Be consistent and always use [!]ISSET() to test flags in xs->flags.krw2019-11-211-8/+8
* Be consistent and always use SET() to set flags in xs->flags.krw2019-11-211-2/+2
* Fix SCSIDEBUG display of VPD inquiry data.krw2019-11-091-5/+9
* Introduce SC_DEBUG_SENSE() and simplify code by eliminating a bunchkrw2019-09-291-4/+2
* Move some logic inside scsi_show_xs() instead of surrounding thekrw2019-09-291-6/+8
* Tweak some whitespace to make autoindenter happy. Use consistent naming idiom forkrw2019-09-291-5/+5
* Add/tweak #endif comments to make spelunking via grep more rewarding.krw2019-09-271-12/+12
* Shuffle and consolidate SCSIDEBUG declarations into fewer sections inkrw2019-09-271-66/+142
* When printing the scsi_link info under SCSIDEBUG show state, luns,krw2019-09-231-1/+20
* Expand scsi_inquiry_data to 96 bytes to include new fields. If thekrw2019-09-211-11/+34
* Print inquiry and read capacity (10 and 16) data under SCSIDEBUG.krw2019-09-201-1/+8
* Adopt the SCSI versioning #define's from FreeBSD. Eliminate thekrw2019-09-011-11/+7