summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Collapse)Author
1999-09-21Bug in the disklabel calculations fixed. Offsets were calculated inConstantine Sapuntzakis
terms of 512-unit sectors, yet the disklabel said that the sector size was 2048. Enabled code that tries to read disklabel from first data track. I guess this will be useful for those combination music/BSD install cds.
1999-09-21For some reason unbeknownst to me, the old acd driver had a more advancedConstantine Sapuntzakis
disklabel logic than the cd driver. This patch integrates that logic into the SCSI cd driver. Bug fixed - we no longer try to read disklabels off of audio CDs. No more SCSI errors when you hit play the first time on an audio CD.
1999-09-05ATAPI tapes are always fixed blocksizeNiklas Hallqvist
1999-08-24Added type field to scsi_addr to reflect bus/device type (ATAPI or SCSI).Constantine Sapuntzakis
Updated ioctls to match Minor patches in anticipation of wd->sd translation layer
1999-08-10support DIOCRLDINFOTheo de Raadt
1999-07-25gets even worse..Theo de Raadt
1999-07-25another costa bug.. erkTheo de Raadt
1999-07-25fake sd_atapi.c and sd_scsi.c until costa fixes it for realTheo de Raadt
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.
1999-07-24oops, LS-120 entry mungedTheo de Raadt
1999-07-24SDEV_NOMODESENSE on LS-120 VER5 00Theo de Raadt
1999-07-23use READ_BIG for atapi; LS-120 works nowTheo de Raadt
1999-07-22for drives <10MB of so, print #.##MB for the sizeTheo de Raadt
1999-07-21swap16_multi by niklas@cvs.openbsd.orgConstantine Sapuntzakis
Fix cd.c so it compiles on big-endian platforms
1999-07-20Don't pull in cd_scsi/cd_atapi stuff unless cd device is usedConstantine Sapuntzakis
1999-07-20Be more generous with timeout on cd_play_msfConstantine Sapuntzakis
1999-07-20Make acd redundant.Constantine Sapuntzakis
Mostly based on NetBSD-current
1999-07-18Added SDEV_NOSENSE for ATAPI devices without request sense.Constantine Sapuntzakis
1999-05-11clean upkstailey
1999-05-11set window descriptor length to actual amount of datakstailey
1999-05-11initialize generic quirkskstailey
1999-05-11generic triggerkstailey
1999-05-09Fix sdsize() to not call sdopen()/sdclose() unless it is needed.Tobias Weingartner
1999-04-20Spelling error in comment.Tobias Weingartner
1999-04-01If READ_CD_CAPACITY fails, just use the 2048/400000 defaults since some CDR ↵Todd C. Miller
drives don't support READ_CD_CAPACITY on blank media ; downsj with modifications by me
1999-02-24Zip250 doesn't do modesense, either.Jason Downs
1999-02-07print INFO FIELD as unsignedTheo de Raadt
1998-12-19for sense code "Logical Unit Is in Process Of Becoming Ready", makeTheo de Raadt
the sense code evaluation function return ERESTART with xs->error = XS_BUSY; then higher up catch this case and drop into the scbusy tsleep code. For exabyte 8500 units, this makes st opening reprobe repeatedly, rather than fail with an EIO while the tape is being loaded.
1998-11-28Add another Sony CD-ROM, wvdputte@reptile.rug.ac.beJason Downs
1998-11-11some scsi devices use 0xff as string terminator in inquiry strings; soren@t.dkTheo de Raadt
1998-10-05make DIOCGPDINFO equivalent to DIOCGDINFO for cd'sTodd C. Miller
1998-10-04Add DIOCGPDINFO supportTodd C. Miller
1998-10-03Add a "spoofonly" argument to readdisklabel() which will be used toTodd C. Miller
implement an ioctl to get a spoofed label even for disks that have a label on them.
1998-10-01Put vendor + model in spoofed label, not 'fictious'Todd C. Miller
1998-09-16add support for HP ScanJet IIpkstailey
1998-08-04make resid size_tTodd C. Miller
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-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