summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
AgeCommit message (Expand)Author
2022-01-11spellingJonathan Gray
2021-10-24Constify struct cfattach.Martin Pieuchot
2021-03-12spellingJonathan Gray
2020-09-22Since dlg@'s 2009 scsi midlayer refactoring the 'struct scsi_generic *cmd'Kenneth R Westerback
2020-08-22The last timeout_add(sc_timeout) died in the great XS_NO_CCB purge of 2017. NukeKenneth R Westerback
2020-08-20Revert DYING. At least some USB memory sticks get very upset.Kenneth R Westerback
2020-08-19Nuke SDF_DYING, CDF_DYING and ST_DYING flags. Use the scsi_link flagKenneth R Westerback
2020-08-15The last SET()s of CDF_WAITING, SDF_WAITING, and ST_WAITING died in the greatKenneth R Westerback
2020-08-11Explicitly #include <scsi/scsi_debug.h> rather than assuming scsiconf.h will doKenneth R Westerback
2020-07-16Access scsibus_softc info (luns, adapter, adapter_target,Kenneth R Westerback
2020-06-30Nuke unneeded 'sa_inqbuf' member of struct scsi_attach_args. It alwaysKenneth R Westerback
2020-02-20Relax the grip the dead hand of QBUS (a.k.a. MAXPHYS) has on theKenneth R Westerback
2020-02-05Nuke unnecessary abstraction 'scsi_minphys()' which just callsKenneth R Westerback
2020-01-27Make the commonalities of cdminphys, sdminphys and stminphys moreKenneth R Westerback
2020-01-26Shuffle some names around to make reading the code less headacheKenneth R Westerback
2020-01-25Ensure scsi_minphys() is always called on the physio() path.Kenneth R Westerback
2019-12-05Shrink scsi_mode_do_sense() parameter list by eliminating the threeKenneth R Westerback
2019-11-26Don't zero existing values for density, block_count and block_size inKenneth R Westerback
2019-11-23Consistently use ISSET() to check for set flags.Kenneth 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-29Tweak some whitespace to make autoindenter happy. Use consistent naming idiom...Kenneth R Westerback
2019-09-27Add/tweak #endif comments to make spelunking via grep more rewarding.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 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