summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Collapse)Author
2001-04-30Pass IOCTL to adapter device if not understood by SCSI layer.Constantine Sapuntzakis
2001-04-08Add one more 1 byte (reserved, as defined in spc-2) field to theKenneth R Westerback
scsi_inquiry_data structure. The last commit made the structure 57 bytes long, an odd number. This caused problems with at least two drivers, which were not prepared to handle the IGNORE WIDE RESIDUE message during probing. This message apparently being generated during probes of non-existant LUNs. Problem found on siop by Rev. Chris Cappuccio and on iha by Andreas Gunnarsson <andreas@zzlevo.net>.
2001-04-02Add padding and new field 'flags2' to struct scsi_inquiry_data,Kenneth R Westerback
bringing it in line with the spc-2 definition of standard inquiry data. scsi_inquiry_data grows from 50 to 57 bytes in size. The new 'flags2' field gives access to PPR related information, the IUS, QAS and DT bits, used in negotiating Ultra3 transfers. Also add PPR related extended message defines. ok deraadt@
2001-03-25Support for several HP scanners; from jmartin@ugrad.cs.ualberta.ca, krw@ ok.Federico G. Schwindt
2001-03-15Move status reads to chopen- there's no need to hang up the bootmjacob
process finding out the changer parameters. Print out changer parameters only if they're changed from the last read of changer parameters. This works for the first time, and for 99.9% of all other cases will be silent ever after. The only time this will then be chatty afterwards is if you change something within the changer (add a drive, etc.).
2001-02-18In scsi_print_sense, add 0x when printing the opcode to clarify it'sFederico G. Schwindt
base 16; suggested by Quentin Barnes <qbarnes@urbana.css.mot.com>, ok by costa@.
2001-01-29Prepend SCSI_ to some of the SCSI opcodes to aid in sharing code w/NetBSDConstantine Sapuntzakis
2001-01-25spellingTodd T. Fries
2001-01-22ATAPI CD-ROMs BCD-16X and BCD-24X have troubles starting and stopping their ↵Constantine Sapuntzakis
disks
2001-01-22Reduce # of retries on scsi_test_unit_ready to 5. This means that devicesConstantine Sapuntzakis
that don't support it will only hang the system in boot-up for 50 seconds as opposed to 500 seconds. Return 0 from scsi_start if the device doesn't support START/STOP unit.
2001-01-09Typo: dome -> someKenneth R Westerback
2000-12-13move back to unlimitted openingsMichael Shalayeff
2000-11-23fix lun support, not as nice as i would likeTheo de Raadt
2000-11-20limit luns on usbTheo de Raadt
2000-10-13Matthew Jacob <mjacob@feral.com>:Michael Shalayeff
Mickey did the right thing, but we'll have to figure out what that broke as well.
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