From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8f4e22d70cb5e73d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-01-26 16:12:22 PST Newsgroups: comp.sys.dec Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!noc.near.net!mv!chillon!decvax.dec.com!witsend.zk3.dec.com!jag From: jag@witsend.zk3.dec.com (John A. Gallant USG) Subject: Re: Looking for examples of SCSI CAM routine usage Message-ID: <1994Jan25.164645.16616@decvax.dec.com> Originator: jag@witsend.zk3.dec.com Keywords: CAM driver User Agent Sender: usenet@decvax.dec.com (Usenet News System) Nntp-Posting-Host: witsend.zk3.dec.com Reply-To: jag@zk3.dec.com Organization: Alpha/OSF Engineering, Digital Equip. Corp. X-Newsreader: mxrn 6.18-5 References: <1994Jan21.161229.6512@dxcern.cern.ch> Date: Tue, 25 Jan 1994 16:46:45 GMT In article <1994Jan21.161229.6512@dxcern.cern.ch>, michelotto@mvxpd5.pd.infn.it (Michele Michelotto) writes: > >I'm looking for some example of SCSI_CAM routines usage. >I would like to use an existing driver to submit a generic command >to a certain SCSI device. >I would like avoid writing a new driver even using the low level >SCSI CAM routines. If you are interested in sending down SCSI commands to a SCSI device you do not have to write or port a kernel driver. The CAM subsystem comes with a User Agent, (UAgt - /dev/cam), driver that will allow a user level application to issue CAM CCBs to devices. The CCB structure is the same and you pass the command(s) via an ioctl() call. >I need it for AXP/OSF but probably MIPS/Ultrix is very similar. The CAM subsystem is supported on both, and from a peripheral device driver or user app. the differences are minimal. -- John A. Gallant jag@zk3.dec.com Software Engineer - Alpha/OSF Engineering Group Digital Equipment Corp. (603) 881-2472 In the common people there is no wisdom, no penetration, no power of judgment. Marcus Cicero -- John A. Gallant jag@zk3.dec.com Software Engineer - Alpha/OSF Engineering Group Digital Equipment Corp. (603) 881-2472