summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Collapse)Author
1998-02-22Detect and report a weird error case (residual > request)Niklas Hallqvist
1998-02-22Please GCC 2.8 -WallNiklas Hallqvist
1998-02-16jaz drives do not do SDEV_NOTAGSTheo de Raadt
1998-02-16add SDEV_NOTAGSTheo de Raadt
1998-02-16Add the "VIPER 150/21531" to quirk list (ST_Q_SENSE_HELP; pkTheo de Raadt
1998-02-14clear scsi_xfer's status byte before executing or re-executing the command.Theo de Raadt
1998-01-12Obsure, old NEC SCSI semi-disk. A big blob of RAM with a SCSI disk interface.kstailey
1998-01-10be silent for ILI errors ; giannici@neomedia.itTheo de Raadt
1998-01-07add QIC_3080Theo de Raadt
1997-12-31return EROFS for write protect; isTheo de Raadt
1997-12-05argh. this darn little bugger made CDIOCREADSUBCHANNEL unuseable, thisNiels Provos
should also fix some cdio problems with SCSI cdroms.
1997-10-18avoid "no disklabel" error messagesTheo de Raadt
1997-10-15make it compileNiels Provos
1997-09-30Quirk for Cipher ST150S tape drive, jbernard@tater.mines.eduTodd C. Miller
1997-09-30Quirks for revs 015 and 016 of the hitachi dk515. jbernard@tater.mines.eduTodd C. Miller
1997-09-11Fix setting up of the LUN field of the CDBNiklas Hallqvist
1997-09-11cd_play/acd_play() were replaced a while backTheo de Raadt
1997-09-11another bad lun handler; pk@netbsdTheo 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-05fix compilation problem when SCSIVERBOSE=0Todd C. Miller
1997-09-05clean up sense info printing furtherTheo de Raadt
1997-09-03simplify verbose error reportingTheo de Raadt
1997-09-03be silent for SCSI_SILENT transactionsTheo de Raadt
1997-09-02delete extra \nTheo de Raadt
1997-09-01Correct a debug printoutNiklas Hallqvist
1997-08-31* Make scsi_do_ioctl() sane again.Jason Downs
* Use scsi_do_ioctl() in cd.c and uk.c again.
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-08-08Change the bounds_check_with_label API to also take a cpu_disklabelNiklas Hallqvist
reference for making transferral of meta-information possible from readdisklabel to bounds_check_with_label. The first (and maybe only) thing that will use this is the multi-disklabel-format code on the alpha where the labelsector is passed via cpu_disklabel so the label write-protection can work correctly no matter what label was found. Also use a new macro DKBAD to get at the dkbad field of the cpu_disklabel implementations that contain it. This too is for multi-disklabel architectures where the "bad" field can be inside a union. Use this macro as a means for a driver to check if an architecture supports dkbad constructs. Remove proto of bounds_check_with_label from all MD disklabel.h as it is in sys/disklabel.h. I have not been able to test the changes everywhere, if I break anything I apologize, and promise to fix it as soon as I become aware of it.
1997-08-02add ScanJet 5p, untestedkstailey
1997-07-26Report total number of blocks for a scsi disk since on modern drivesTodd C. Miller
total sectors > cyl * head * sec/head. Inspired by der Mouse <mouse@rodents.montreal.qc.ca>
1997-07-25more quirks from netbsdMichael Shalayeff
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-07-03print correct sense bytesTheo de Raadt
1997-05-05#define away local versions of atoi & strchr to prevent potentialNiklas Hallqvist
name clashes with libkern versions
1997-04-15Add quirk, type for AT3 scanner (ViewStation 32)Thorsten Lockert
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-04-05add quirk table entry for the Ultima A6000Ckstailey
1997-04-05fix NULL ptr deref in ss_set_window()kstailey
1997-04-02most 1.3X versions of MEDIAVIS CDR-H93MV have problems; ↵Theo de Raadt
koji@math.human.nagoya-u.ac.jp
1997-03-29Increase timeout by a factor of ten in cd_size().briggs
NetBSD PR#3409 from Koji Imada <koji@imada.math.human.nagoya-u.ac.jp>
1997-03-26deal with CD drives that indicate 2352 bytes per block...Theo de Raadt
1997-03-13Copy the scanner_type from the quirkdata to the sio for userland to see.kstailey
1997-03-13Add scanner_type and compute_sizes() to quirks.kstailey
Adjust attach() messages for scanners with quirk table entries.
1997-03-13UMAX SuperVista S-12 also needs a NOLUNS quirk.briggs
1997-03-11more about disconnectkstailey
1997-03-11adjust commentskstailey
1997-03-11Added GENERIC_SCSI2 scanner type.kstailey
1997-03-11move init. code to m.i. sectionkstailey