/*
 * |-----------------------------------------------------------|
 * | Copyright (c) 1990 MIPS Computer Systems, Inc.            |
 * | All Rights Reserved                                       |
 * |-----------------------------------------------------------|
 * |          Restricted Rights Legend                         |
 * | Use, duplication, or disclosure by the Government is      |
 * | subject to restrictions as set forth in                   |
 * | subparagraph (c)(1)(ii) of the Rights in Technical        |
 * | Data and Computer Software Clause of DFARS 52.227-7013.   |
 * |         MIPS Computer Systems, Inc.                       |
 * |         950 DeGuigne Drive                                |
 * |         Sunnyvale, CA 94086                               |
 * |-----------------------------------------------------------|
 */
/* $Header: vdisk.h,v 1.6.2.1 92/06/24 13:55:48 marker Exp $ */

#ifndef _VDISK_
#define _VDISK_

#ifndef KERNEL

#define makedev(x, y)	(((x) << 8) + (y))
#define	VDISK_MAJOR	49
#define NUM_VDISK	2
#define VDISK_PATH	"/dev/rdsk/vdiskioctl"

#define VDISK_DEFAULT	0
#define VDISK_ADD	1
#define VDISK_DELETE	2
#define VDISK_INFO	3
#define VDISK_REINIT	4

extern int vdfd;
dev_t special_device();
struct dktab *vdisk_get_dktab();

void suser ();

#endif /* KERNEL */
#endif /* _VDISK_ */
