From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,5c0056d791b6126f,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,5c0056d791b6126f,start X-Google-Attributes: gid1164f8,public From: solovyanov@m10.ihep.su (Oleg V.Solovyanov, IHEP) Subject: SCSI CAM driver and ioctls Date: 1995/06/06 Message-ID: <1995Jun6.143535.15496@ixwin.ihep.su>#1/1 X-Deja-AN: 103907134 sender: news@ixwin.ihep.su (USENET News System) organization: Institute for High Energy Physics, Protvino, Russia reply-to: solovyanov@mx.ihep.su newsgroups: comp.sys.dec,comp.unix.ultrix Hello all ! First about the problem: 1. I have PDS5000/33 with Ultrix 4.4 and SCSI CAM driver (as device asc0) 2. I want to send SCSI commands (filling CDBs by myself) directly to SCSI device, or even BUS/TARGET/LUN So, is it possible somehow ? I've found a number of IOCTLs in rzdisk.h file, and SCSI_SPECIAL ioctl in scsi_special.h file, but they are not exactly what I want, 'cause I'd like to provide my own SCSI CDB blocks and fill some reserved bits there. Looks like SCSI_SPECIAL ioctl is a good candidate for doing this, but it is not very clear for me how to use it. Also, what will be good for me, to use some other device for open(), and then using ioctl() on that device issue SCSI command for another one, for example, if it was switched off during boot... Best regards, Oleg. ---------------------------------------------------------- Oleg V.Solovyanov Institute for High Energy Physics solovyanov@mx.ihep.su