summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
AgeCommit message (Expand)Author
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
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-08-17Nuke some unused variables, tweak some declarations andKenneth R Westerback
2019-01-20When retiring a SCSI request, sometimes the buf's b_error value isKenneth R Westerback
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-05-29To prevent anyone else from stumbling on this (now) archaic bit ofKenneth R Westerback
2016-09-04Remove support for tape block devices. Nobody mount(8)s tapes any longer.Christian Weisgerber
2016-03-12Standardize on calling local scsi_link variables 'link' instead ofKenneth R Westerback
2016-03-11"if (_3btol(cmd->len) != 0)" is more likely to be a useful test thanKenneth R Westerback
2015-06-07More damned eye searing whitespace.Kenneth R Westerback
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tKenneth R Westerback
2013-10-03Print daddr_t variables with %lld, u_int64_t variables with %llu.Kenneth R Westerback
2013-07-05Tweak calculations of resid to avoid unsigned vs signed comparison andKenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-06-06Fix EOM handling. Makes Bacula much happier by allowing the use ofKenneth R Westerback
2011-07-03Remove config_activate() and DVACT_ACTIVATE. PCMCIA's the only thingMatthew Dempsky
2011-06-07Fix a device reference leak in st{read,write}() by making them workMatthew Dempsky
2011-03-31- use nitems(); no binary change.Jasper Lievisse Adriaanse
2011-03-18Fix stdetach() to call vdevgone() with the right device minor numbers.Matthew Dempsky
2011-03-17use dma_alloc/dma_free instead of malloc to allocate buffers which needTheo de Raadt
2010-12-24Have sd(4) devices check for and respect read-only information theKenneth R Westerback