summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
AgeCommit message (Collapse)Author
2002-12-30Add new parameter to scsi_test_unit_ready(): retries number.Alexander Yurchenko
Use increased retries number and don't ignore SCSI_IGNORE_NOT_READY when call scsi_test_unit_ready() for cd-rom, this makes system wait if drive is loading media. Tested by millert@ and fgsch@; some input and ok from krw@. Problem reported by The lord of the CD-writers Igor Grabin <violent@death.kiev.ua>.
2002-06-09More (the last round?) of splasserts and splbio around biodone.Artur Grabowski
2002-06-04spelling; raj@cerias.purdue.eduTheo de Raadt
2002-03-14First round of __P removal in sysTodd C. Miller
2001-06-22KNFTheo de Raadt
2000-04-08These days, attach can occur outside the tsleep-restricted world ofConstantine Sapuntzakis
BSD autoconf. Don't use POLL & NOSLEEP mode if attaching after autoconf
1999-09-05ATAPI tapes are always fixed blocksizeNiklas Hallqvist
1999-07-25Merge sd stuff from NetBSD-current. Helps with LS-120, ZIPConstantine Sapuntzakis
More SCSI logic from NetBSD-current Some tape fixes. ATAPI tapes do not work yet for most operations.
1998-07-23do delays based on command type -- this works a lot better, make "mt status"Theo de Raadt
show much more information; ross
1998-02-22Detect and report a weird error case (residual > request)Niklas Hallqvist
1998-02-16Add the "VIPER 150/21531" to quirk list (ST_Q_SENSE_HELP; pkTheo de Raadt
1998-01-10be silent for ILI errors ; giannici@neomedia.itTheo de Raadt
1997-09-05Add SCSITERSE option which omits the (large) ASC/ASCQ table.Todd C. Miller
Old scsi error printing code is now gone.
1997-09-03be silent for SCSI_SILENT transactionsTheo de Raadt
1997-08-22Add more detailed SCSI error printing by Matthew Jacob. Enabled byTodd C. Miller
default. Use "option SCSIVERBOSE=0" to turn off (only added 8Kb to my kernel). From the NetBSD commit message: Add in more detailed SCSI error printing, based off of final SCSI-2 spec. This will also print out things like progress indicator errors, and will also dump out additional sense bytes that haven't been decoded.
1997-08-19Back out part of revision 1.16 where the tape was unmounted in stclose ondgregor
a non-rewinding device. When the tape was re-opened again, st_mount_tape called st_load, which causes the tape to be rewound. The best way to fix this problem would be to not call st_load in st_mount_tape if the tape is already in the drive and has already been loaded. But, I haven't figured out a good, safe way to do that yet....
1997-07-11Rename REWIND to DOREWIND to avoid colliding with the SCSI opcode of theThorsten Lockert
same name
1997-07-11Allow media to be removed on last close even if the device used was theThorsten Lockert
no-rewind device. Ensure we re-detect media on first open even if media was present at boot.
1997-04-14Merge in various pieces of current NetBSD scsi code, including but not limitedJason Downs
to: * New changer driver. * Better optical support. * Different `done' semantics. * New quirks for SCSI QIC tape driver, SCSI floppy drives. * Better support for SCSI-I devices. Everybody needs to test this.
1997-02-24This changes the timeout on the st device so that the new tape drives thatjkatz
are recognized are usable :-) If this break things for other people, please feel free to change it back. from port-vax@netbsd.org
1996-12-11b_resid cleanups, pointed out by minoura@kw.netlaputa.or.jp in netbsd pr#3007Theo de Raadt
1996-08-11limit ioctl priviledgesTheo de Raadt
1996-05-10SC_DEBUG cleanupTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-19NetBSD 960317 mergeNiklas Hallqvist
1996-02-20Several changes from NetBSD:briggs
- scsi prototypes - remove #ifdef notdef made unnecessary by previous changes (PR#1597) put in missing "if (error)" that caused tape IO to always fail. (closes PR#2086) - Minor change.
1996-02-09NetBSD PR 2048. Prototype st_erase.briggs
1996-01-16from netbsd:Theo de Raadt
Honor cache request and add the SCSI tape device configuration page. Fixes PRs 807, 1201, and 1705. From John Kohl <jtk@kolvir.blrc.ma.us>.
1995-12-14from netbsd; Add quirk for Exabyte 8200/rev. 263H (from Paul Goyette; PR#1797)Theo de Raadt
1995-11-21make this workTheo de Raadt
1995-11-20add erase support and another wangtek tape drive; from ↵Theo de Raadt
rhialto@polder.ubc.kun.nl; netbsd pr#1705
1995-11-19if you read with a smaller buffer than the block on the tape, b_resid and ↵Theo de Raadt
b_count would be incorrect; from jtk@kolvir.arlington.ma.us; netbsd pr#1597
1995-10-18initial import of NetBSD treeTheo de Raadt