summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Collapse)Author
2000-09-21do not limit openings to defined SDOUTSTANDING value of 4, since many ↵Michael Shalayeff
controllers can do more; presumably all the cotrollers initialize openings to the right value; also replace some spaces w/ tabs
2000-09-20make SDOUTSTANDING redefinable, since some controller can handle more than 4 ↵Michael Shalayeff
xfers simultaneously; deraadt@ ok
2000-08-05remove staticsNiklas Hallqvist
2000-07-18Thanks to miod@ for finding bug in cd_scsi_{get,set}modeConstantine Sapuntzakis
Pass length of mode page, not length of fixed header
2000-07-18Update cd_size to handle failure of READ_CD_CAPACITY by returningConstantine Sapuntzakis
some default values
2000-07-06Add in a timeout structure to the scsi_xfer structure so that HBA's canmjacob
watchdog per command. Reserve 4 bits of the flags field for the HBA's private use (e.g., for saying whether the commands in the middle of being watchdogged....).
2000-06-16take MIN/MAX from param.h, okay theo@Niels Provos
2000-04-18cd detachConstantine Sapuntzakis
2000-04-18sd and scsibus detachConstantine Sapuntzakis
cdlock/cdunlock now through disk_lock/disk_unlock
2000-04-09Don't trust the TOC coming from the drive so much.Constantine Sapuntzakis
Be better about handling failures of SCSI CD READ TOC command.
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
2000-03-09update for new adaptec support.Steve Murphree
2000-03-01Initialize xs->req_sense_length to 0. This is not used by manyTodd C. Miller
scsi drivers, other than dev/pci/ncr.c, but if req_sense_length is not zero (either explicitly or through chance) the ncr driver will fail during initialization. This fixes the occasionaly ncr driver init problems; thorpej@netbsd.org
2000-02-21add SES/SAF-TE SCSI devicemjacob
2000-02-21add T_ENCLOSURE name and NOLUN Photon SENA devicesmjacob
2000-02-21Add in Enclosure device type (0xd/13). Pad out inquiry data to 50 bytesmjacob
os that SAF-TE devices can be found.
1999-12-31Add SDEV_NOLUNS quirk for NEC CD-ROM DRIVE:501Todd C. Miller
1999-12-16Split SDEV_NOSYNCWIDE into SDEV_NOSYNC and SDEV_NOWIDE (as is donemjacob
in NetBSD). Look at Inquiry data during probing to further set quirks based upon device capabilities. Thanks to Todd.Miller@courtesan.com for doing the grunt work and encouraging this to get done fully.
1999-12-11LS-120's do support mode sense.Constantine Sapuntzakis
1999-12-05correct printout labelsTheo de Raadt
1999-11-22In order to support Fibre Channel fabric fatten scsi target id's to 16 bits.mjacob
Also, to support at least first level SCSI-3 hierarchical luns, fatten luns to 16 bits too.
1999-11-12Use cdio.h instead of dvdio.hAngelos D. Keromytis
1999-11-11SCSI commands do not send data in both directions in the data phase.Constantine Sapuntzakis
Fixes DMA bug Angelos was seeing with DVD stuff. Happy ripping!
1999-11-09Fix lengths of scsi cmdsAngelos D. Keromytis
1999-11-03bzero the right amount of memory; I think NetBSD has this problem too.Angelos D. Keromytis
1999-11-03Some DVD support, from NetBSD.Angelos D. Keromytis
1999-10-16another fix form csapuntzTheo de Raadt
1999-10-14read disklabels only from CDs that have a data track, spoofed labels fromTheo de Raadt
the audio CDs could do with a bit more work, but this makes audio cd playing not generate disklabel read-failure messages on first open; csapuntz
1999-09-25sorry, but the last two changes completely broke disklabel spoofing, which ↵Theo de Raadt
we need for the release
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