summaryrefslogtreecommitdiffstats
path: root/sys/scsi
AgeCommit message (Expand)AuthorFilesLines
2020-03-12Pass scsi_mode_sense_buf pointers to scsi_mode_sense[_buf]() ratherkrw1-12/+13
2020-03-12Check for short mode sense error inside scsi_mode_sense_big()krw1-3/+4
2020-03-12Eliminate 'len' parameter from scsi_mode_sense[_big](). It'skrw1-9/+13
2020-03-11No need to pass 20000 to scsi_mode_sense[_big]() as the desiredkrw1-9/+9
2020-03-10Access 4-byte address field with _4btol() not _8btol(), fixingkrw1-2/+2
2020-02-20Relax the grip the dead hand of QBUS (a.k.a. MAXPHYS) has on thekrw3-9/+9
2020-02-06Try to reduce the lying, hyperbolic or obsolete commentary onkrw1-26/+12
2020-02-05Ooops. Missed a file in nuke of scsi_minphys. mpath_minphys() needs tokrw1-2/+3
2020-02-05Nuke unnecessary abstraction 'scsi_minphys()' which just callskrw7-30/+22
2020-01-27Make the commonalities of cdminphys, sdminphys and stminphys morekrw2-12/+16
2020-01-26Shuffle some names around to make reading the code less headachekrw5-13/+13
2020-01-25Ensure scsi_minphys() is always called on the physio() path.krw3-3/+9
2020-01-24cleanup unused headers generated by configjsg1-3/+3
2020-01-23Use a consistant idiom/format when declaring scsi_adapter structureskrw1-4/+2
2020-01-22scsi_delay(): sleep without lboltcheloha1-7/+8
2019-12-08Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw1-168/+173
2019-12-08Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw2-95/+97
2019-12-07Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw2-24/+23
2019-12-07Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw1-60/+60
2019-12-07Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw1-64/+64
2019-12-06Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw1-103/+108
2019-12-06Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw1-192/+190
2019-12-06Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw1-155/+155
2019-12-05Various cleanup tweaks. 'return' is not a function. KNF. Whitespace,krw1-17/+17
2019-12-05Don't discard error from mode sense (6) if mode sense (10) iskrw1-4/+5
2019-12-05Shrink scsi_mode_do_sense() parameter list by eliminating the threekrw6-70/+74
2019-12-05No need for 'byte2' parameter to scsi_mode_sense[_big]() since wekrw1-9/+7
2019-12-05Move prototypes for scsi_mode_sense(), scsi_mode_sense_big(),krw2-8/+10
2019-12-04Convert infinite sleeps to {m,t}sleep_nsec(9).mpi1-5/+6
2019-12-03Check for expected mode sense page code as well as expected mode page length whenkrw4-25/+34
2019-12-03Add display of mode sense data to SCSIDEBUG.krw1-20/+46
2019-12-02Have SCSIDEBUG show the number of bytes of VPD inquiry data received,krw1-1/+3
2019-12-02Don't forget the scsi_vpd_header when calculating the number of byteskrw1-2/+3
2019-12-01Tweak variable names to be consistent with 'pg_code' and 'pg_length'krw1-14/+14
2019-12-01Make prototype and implementation signatures the same by removingkrw1-3/+3
2019-12-01Don't overwrite original error returned by scsi_do_mode_sense().krw1-2/+2
2019-11-29DISK_PGCODE() #define includes a check for NULL, so no need tokrw1-7/+5
2019-11-29Add defines for changer mode page codes. Move AUDIO_PAGE define tokrw3-6/+9
2019-11-28Abstract mode sense block descriptor parsing into a separate function.krw2-37/+53
2019-11-28Align an annoying comment.krw1-2/+2
2019-11-28Always pass a pointer to 'big' to scsi_do_mode_sense().krw4-18/+15
2019-11-26Reinitialize 'err' to ensure we are not checking a stale value.krw1-1/+2
2019-11-26Don't zero existing values for density, block_count and block_size inkrw2-8/+5
2019-11-25Use scsi_read_cap[10|16] instead of re-rolling the code.krw1-48/+10
2019-11-25Move struct scsi_read_cap_data and struct scsi_read_cap_data_16 tokrw5-100/+129
2019-11-23Consistently use ISSET() to check for set flags.krw8-61/+61
2019-11-23Consistently use !ISSET() to check for unset flags.krw6-25/+25
2019-11-23Consistently use SET() to set bits.krw7-52/+52
2019-11-22Be consistent and always use CLR() to clear flags.krw6-22/+22
2019-11-21Be consistent and always use [!]ISSET() to test flags in xs->flags.krw3-12/+12