* Copyright (c) 1982, 1986, 1988 Regents of the University of California.
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and other materials related to such
* distribution and use acknowledge that the software was developed
* by the University of California, Berkeley. The name of the
* University may not be used to endorse or promote products derived
* from this software without specific prior written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
* @(#)conf.c 7.6 (Berkeley) %G%
extern int nullsys(), nodev(), noioctl();
#if defined(VAX780) || defined(VAX750) || defined(VAX8600)
int hpstrategy(), hpopen();
int upstrategy(), upopen();
int rkstrategy(), rkopen();
int rastrategy(), raopen();
int idcstrategy(), idcopen();
#define idcstrategy nodev
int rlstrategy(), rlopen();
#define tmscpstrategy nodev
int tmstrategy(), tmopen(), tmclose();
int tsstrategy(), tsopen(), tsclose();
#if defined(VAX780) || defined(VAX750) || defined(VAX8600)
int htstrategy(), htopen(), htclose();
int mtstrategy(), mtopen(), mtclose();
int utstrategy(), utopen(), utclose();
int tmscpstrategy(), tmscpopen(), tmscpclose();
int krastrategy(), kraopen();
#define krastrategy nodev
{ HP
, hpstrategy
, hpopen
, nullsys
, hpioctl
}, /* 0 = hp */
{ HT
, htstrategy
, htopen
, htclose
, noioctl
}, /* 1 = ht */
{ "up", upstrategy
, upopen
, nullsys
, upioctl
}, /* 2 = up */
{ "hk", rkstrategy
, rkopen
, nullsys
, noioctl
}, /* 3 = hk */
{ 0, nodev
, nodev
, nullsys
, noioctl
}, /* 4 = sw */
{ TM
, tmstrategy
, tmopen
, tmclose
, noioctl
}, /* 5 = tm */
{ TS
, tsstrategy
, tsopen
, tsclose
, noioctl
}, /* 6 = ts */
{ MT
, mtstrategy
, mtopen
, mtclose
, noioctl
}, /* 7 = mt */
{ 0, nodev
, nodev
, nullsys
, noioctl
}, /* 8 = tu */
{ "ra", rastrategy
, raopen
, nullsys
, noioctl
}, /* 9 = ra */
{ UT
, utstrategy
, utopen
, utclose
, noioctl
}, /* 10 = ut */
{ RB
, idcstrategy
, idcopen
,nullsys
, noioctl
}, /* 11 = rb */
{ 0, nodev
, nodev
, nullsys
, noioctl
}, /* 12 = uu */
{ 0, nodev
, nodev
, nullsys
, noioctl
}, /* 13 = rx */
{ "rl", rlstrategy
, rlopen
, nullsys
, noioctl
}, /* 14 = rl */
{ TMSCP
,tmscpstrategy
,tmscpopen
,tmscpclose
,noioctl
}, /* 15 = tmscp */
{ KRA
, krastrategy
, kraopen
,nullsys
, noioctl
}, /* 16 = kra */
int ndevs
= (sizeof(devsw
)/sizeof(devsw
[0]));