Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mwp@ubeaut.enet.dec.com (Michael Paddon)
Subject: Re: Adding 3rd party peripherals to a DecStation 5xxx.
Date: 7 Mar 91 23:33:03 GMT	[thread overview]
Message-ID: <1991Mar7.233303.9150@ubeaut.enet.dec.com> (raw)
In-Reply-To: 897@sibyl.eleceng.ua.OZ

From article <897@sibyl.eleceng.ua.OZ>, by ian@sibyl.eleceng.ua.OZ (Ian Dall):
> We are getting a DecStation 5xxx (not sure which one here) but it
> hasn't arrived yet so I can't "look and see" what comes as standard in
> Ultrix. I want to put a QIC-24 compatable SCSI interface tape drive on
> the system. In the future we might want to put other 3rd party SCSI
> devices on it.
> 
> What I want to know, is whether Ultrix device drivers allow this.  On
> at least one other SCSI based system I know of, the minor device no.
> is mapped into SCSI unit numbers so that adding a new tape is just a
> matter of mknod'ing the correct entry in /dev.  We will have one (non
> QIC-24) DEC tape drive so a tape driver will be there.
> 
> How difficult is it to add new device drivers? Is the interface
> between the SCSI interface and the tape and disk drivers well defined?
> Is source for the device drivers supplied?

There is a SCSI tape driver included in Ultrix 4.X. To allow the use of
a tape drive with SCSI address 'X', you must configure a kernel with the
line looking like this in the config file:
	tape            tzX        at asc0      drive X
(at least that's true for my DS5000).

Then all you have to do is mknod (or better yet use MAKEDEV, which
knows which major/minor numbers to use) the correct entry in /dev.

However, there is one slight problem...
Not all SCSI tape drives are created equal. You may have to add an entry
to the tape_opt_tab table in /usr/sys/io/scsi/mips/scsireg.h to describe
the capabilities and SCSI parameters of your particular drive. There is
a fairly detailed comment in that file explaining exactly how to do this.

In general, new drivers are as easy to add to Ultrix 4.X as they have
ever been (ie. straightforward so long as you know what you are doing).
Of course, you don't need to add a new driver for SCSI tape or disk -- they
are already there. Finally, source to these drivers is *not* supplied, but
you can do substantial tweaking via include files.

					Michael

-------------------------------------------------------------------
|                     |     Internet: paddon@meo78b.enet.dec.com  |
|  Michael Paddon     |     ACSnet:   mwp@ubeaut.oz.au            |
|                     |     ACSnet:   mwp@munnari.oz.au           |
|                     |     Voice:    +61 3 895 9392              |
-------------------------------------------------------------------


      parent reply	other threads:[~1991-03-07 23:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <897@sibyl.eleceng.ua.OZ>
1991-03-05 13:54 ` Adding 3rd party peripherals to a DecStation 5xxx Frank Wortner
1991-03-06  4:01 ` Greg Pavlov
1991-03-07 23:33 ` Michael Paddon [this message]
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