From: solovyanov@m10.ihep.su (Oleg V.Solovyanov, IHEP)
Subject: SCSI CAM driver and ioctls
Date: 1995/06/06 [thread overview]
Message-ID: <1995Jun6.143535.15496@ixwin.ihep.su> (raw)
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
next reply other threads:[~1995-06-06 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-06-06 4:00 Oleg V.Solovyanov, IHEP [this message]
1995-06-08 4:00 ` SCSI CAM driver and ioctls Alan Rollow - Dr. File System's Home for Wayward Inodes.
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox