summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Collapse)Author
1998-07-19Don't bother trying to use luns on any CyberDrv devices.Jason Downs
1998-07-13CDs can have up to 99 tracks, not 65 tracks. Use kernel heap instead of stackConstantine Sapuntzakis
for temporary storage of CD table of contents
1998-07-12fill in d_bbsize and d_sbsizeTheo de Raadt
1998-06-26no luns on the ricoh scannerTheo de Raadt
1998-05-05more lun flakes; rh@vip.at, simonb@telstra.com.auTheo de Raadt
1998-05-02Set blksize to DEV_BSIZE, not 512.Todd C. Miller
1998-04-25set d_bbsize and d_sbsize in spoofed label to values correct for ffsTodd C. Miller
1998-04-25some exceptions from netbsdTheo de Raadt
1998-03-27Fix strncpy usage and call a cdrom a cdrom in the fake labelTodd C. Miller
1998-03-22Tell the SCSI driver that we expect data in from the changer device when weThorsten Lockert
request status; makes it work properly on NCR controllers (and probably on some others as well).
1998-03-18more SDEV_AUTOSAVE devicesTheo de Raadt
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