summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
AgeCommit message (Expand)Author
2009-12-26move st over to the new midlayer.David Gwynne
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
2008-09-22Do not return an uninitialized value on success in stclose().Miod Vallat
2008-09-06Return EIO when the residual is > xs->datalen, even if SCSI_SILENT isKenneth R Westerback
2008-06-22Replace MUSTEK_RETRIES, SCANJET_RETRIES and ST_RETRIES with SCSI_RETRIES,Kenneth R Westerback
2008-05-12Fix device reference counting. Now that we try to support detachableKenneth R Westerback
2008-05-09Oops. When detaching tape drives look for devices using 'stopen' notKenneth R Westerback
2007-11-27typos; ok jmc@Martynas Venckus
2007-11-22Ansi-fy.Kenneth R Westerback
2007-11-22Ooops. Don't de-reference st until after it has been pointed at theKenneth R Westerback
2007-11-16convert code over from sd.c, to let tapes discollect. Lucas StefanuttiTheo de Raadt
2007-09-16A couple of obvious bzero() -> M_ZERO changes I missed.Kenneth R Westerback
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
2007-06-01No need for tape fields to be daddr_t. int will do.Kenneth R Westerback
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-01-20Add media_fileno, media_blkno into st_softc and report their valuesKenneth R Westerback
2007-01-05As first brought to my attention by Russel Sutherland, our deletion ofKenneth R Westerback
2006-12-21Fix some comment typos. 'immediatly' -> 'immediately', 'tranfer' ->Kenneth R Westerback
2006-12-12Give the SCSI layer the ability to requeue i/o's rejected by a driverKenneth R Westerback
2006-11-28rename scsibus_attach_args to scsi_attach_args. this can help avoidDavid Gwynne
2006-11-27more magic removalBob Beck
2006-11-27rework asc/ascq handling to get rid of "magic" 0x values in the code, changesBob Beck
2006-10-07make cd-roms retry forever while the device indicates that it isBob Beck
2006-10-02get rid of a boolean typedef. this is c, we have ints, deal with it.David Gwynne
2006-06-11Don't spew sense informaton from the test unit ready command issued byKenneth R Westerback
2006-06-01We do not create st devices with different density modes. i.e. with deviceKenneth R Westerback
2006-05-28Miscellaneous fixes.Kenneth R Westerback
2006-05-28This commit changes the interpret_sense routine for st to catch theBob Beck
2006-05-28In the absence of a coherent concept of 'RAW' tape devices, pass allKenneth R Westerback
2006-05-28Whack a 'control device' leftover. Actually save the new density, etc.Kenneth R Westerback
2006-05-28We don't have 'control devices' for st. Nor are we likely to get anyKenneth R Westerback
2006-05-28ST_NEW_MOUNT was set/reset in a number of places but only examined insideKenneth R Westerback
2006-05-28Use TEST_READY_RETRIES_TAPE instead of TEST_READY_RETRIES_DEFAULT,Kenneth R Westerback
2006-05-28Use bit 23 of the device minor to indicate a control mode device. AKenneth R Westerback
2006-05-28Always allow ioctl's to work, even if there is no media loaded.Kenneth R Westerback
2006-05-28Don't print tape media information during probe. This is transitoryKenneth R Westerback
2006-05-11Zap trailing whitespace.Kenneth R Westerback
2005-09-11Simplify code by changing struct scsi_mode_sense_buf{ union {}Kenneth R Westerback
2005-08-23Move uses of struct scsi_mode_sense_buf (255 bytes each) from theKenneth R Westerback
2005-06-24Move st.c to new mode sense mechanism. Don't save page0 data (if any), justKenneth R Westerback
2005-06-05Fix scsi_mode_select() and scsi_mode_select_big() to send just theKenneth R Westerback
2005-05-14Add scsi_mode_[sense|select]_big() and use it instead ofKenneth R Westerback
2005-04-06De-register scsi.Kenneth R Westerback
2005-04-05Factor out scsi_mode_sense() and scsi_mode_select() like NetBSD does.Kenneth R Westerback
2004-11-30No longer require write permission for read-only SCSI commandsKenneth R Westerback
2004-10-16Fix 'Tape block size (32754) not a multiple of dump block sizeKenneth R Westerback
2004-08-01Remove openings = 1 and inherit the value from the HBA instead. This keeps t...Marco Peereboom
2004-06-22Add additional retries in TUR to allow for tape devices to settle after a reset.Marco Peereboom
2004-05-28Clean up sense error logic and printing a bit, partly inspired byKenneth R Westerback