summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
2019-09-30SC_DEBUGN is not spelled SCSI_DEBUGN.Kenneth R Westerback
2019-09-29Restore SC_DEBUGN() as it was used outside sys/scsi. Some things areKenneth R Westerback
2019-09-29Introduce SC_DEBUG_SENSE() and simplify code by eliminating a bunchKenneth R Westerback
2019-09-29Continue SCSIDEBUG cleanup by nuking pointles SC_DEBUGN() #define.Kenneth R Westerback
2019-09-29Move some logic inside scsi_show_xs() instead of surrounding theKenneth R Westerback
2019-09-29Tweak some whitespace to make autoindenter happy. Use consistent naming idiom...Kenneth R Westerback
2019-09-27Use consistent idiom/naming convention for the the #includeKenneth R Westerback
2019-09-27Add/tweak #endif comments to make spelunking via grep more rewarding.Kenneth R Westerback
2019-09-27Shuffle and consolidate SCSIDEBUG declarations into fewer sections inKenneth R Westerback
2019-09-24Use consistent names for unused flags/quirks when printing same underKenneth R Westerback
2019-09-23When printing the scsi_link info under SCSIDEBUG show state, luns,Kenneth R Westerback
2019-09-21Expand scsi_inquiry_data to 96 bytes to include new fields. If theKenneth R Westerback
2019-09-20Print inquiry and read capacity (10 and 16) data under SCSIDEBUG.Kenneth R Westerback
2019-09-19Introduce and use convenience SID_REPOONSE_FORMAT() define.Kenneth R Westerback
2019-09-19Add new (a.k.a SBC-4) flags/fields to struct scsi_read_cap_16. AdoptKenneth R Westerback
2019-09-18Update struct inquiry_data with latest flags and remove flags that we didn't ...Kenneth R Westerback
2019-09-16Update list of device types with combination of FreeBSD andKenneth R Westerback
2019-09-15With the recent fixes to SCSI version detection we reproduced aKenneth R Westerback
2019-09-14Typo in comment. scsi_size() is actually sd_size().Kenneth R Westerback
2019-09-10Shuffle a couple of lines to make the device -> st_softc dances lookKenneth R Westerback
2019-09-10No need to check for ST_MOUNTED before calling st_mount_tape() AND inKenneth R Westerback
2019-09-10return is not a funciton call. Avoid pointless parenthesis.Kenneth R Westerback
2019-09-10Explicitly check error results against 0.Kenneth R Westerback
2019-09-10Some stray bit twiddles that were using yet another idiom.Kenneth R Westerback
2019-09-10check pointer against NULL and error values against 0.Kenneth R Westerback
2019-09-10Last (?) small bit twiddling modernization.Kenneth R Westerback
2019-09-10!ISSET() for various flags.Kenneth R Westerback
2019-09-10SET/CLR/ISSET all at once for st->quirks, and a few other rare flags.Kenneth R Westerback
2019-09-09SET/CLR/ISSET all at once for the far less numerous link->flags.Kenneth R Westerback
2019-09-09Continue bit twiddling tweaks. Use SET() with st->flags.Kenneth R Westerback
2019-09-09Lots of st->flags bit clearing in a mix of old school and CLR() makesKenneth R Westerback
2019-09-09Lots of st->flags checking in a mix of old school and ISSET() makesKenneth R Westerback
2019-09-09Tweak some comments to be useful. Sort switch cases intoKenneth R Westerback
2019-09-07Fold st_identify_drive() into stattach().Kenneth R Westerback
2019-09-07Tweak some comments and code layout to make MTSETBSIZE and MTSETDENSITYKenneth R Westerback
2019-09-07ST_USER_BLKSIZE and ST_QUIRK_BLKSIZE are only tested as an or'd pair.Kenneth R Westerback
2019-09-07ST_Q_FORCE_BLKSIZE is superfluous since it is only used in combination withKenneth R Westerback
2019-09-07Nuke unused flag ST_BLOCK_SET.Kenneth R Westerback
2019-09-07Various struct/variables "modes" -> "mode" since there is only one.Kenneth R Westerback
2019-09-05Nuke some 25+year old comments that the oracles at delphi would haveKenneth R Westerback
2019-09-05Devices that have no quirks don't need to appear in the list ofKenneth R Westerback
2019-09-05Nuke unused struct block_desc_cipher. The Eighties called and wantKenneth R Westerback
2019-09-05Nuke unused st_softc field 'numblks'.Kenneth R Westerback
2019-09-05There can be only one -- mode.Kenneth R Westerback
2019-09-04Shuffle sdstart() and sdminphys() declarations closer to their friends.Kenneth R Westerback
2019-09-04Hoist the quirks up another rung. drive_quirks is superfluous, justKenneth R Westerback
2019-09-04'quirks' field of struct modes is superfluous. There is only 1 mode. Just useKenneth R Westerback
2019-09-04Various whitespace nits.Kenneth R Westerback
2019-09-04The great density mode purge of 2006 (r1.62) was never carried throughKenneth R Westerback
2019-09-03Shorten normal dmesg attach verbiage and expand SCSIDEBUG verbiage.Kenneth R Westerback