Deleted Added
sdiff udiff text old ( 43311 ) new ( 47625 )
full compact
1/*
2 *
3 * Coda: an Experimental Distributed File System
4 * Release 3.1
5 *
6 * Copyright (c) 1987-1998 Carnegie Mellon University
7 * All Rights Reserved
8 *

--- 13 unchanged lines hidden (view full) ---

22 * RESULTING DIRECTLY OR INDIRECTLY FROM THE USE OF THIS SOFTWARE OR OF
23 * ANY DERIVATIVE WORK.
24 *
25 * Carnegie Mellon encourages users of this software to return any
26 * improvements or extensions that they make, and to grant Carnegie
27 * Mellon the rights to redistribute these changes without encumbrance.
28 *
29 * @(#) src/sys/coda/coda_fbsd.cr,v 1.1.1.1 1998/08/29 21:14:52 rvb Exp $
30 * $Id: coda_fbsd.c,v 1.12 1999/01/27 20:09:17 dillon Exp $
31 *
32 */
33
34#include "vcoda.h"
35#include "opt_devfs.h"
36
37#include <sys/param.h>
38#include <sys/systm.h>

--- 29 unchanged lines hidden (view full) ---

68 > Also I need a character device major number. (and might want to reserve
69 > a block of 10 syscalls.)
70
71 Just one char device number? No block devices? Very well, cdev 93 is yours!
72*/
73
74#define VC_DEV_NO 93
75
76static struct cdevsw codadevsw =
77{
78 vc_nb_open, vc_nb_close, vc_nb_read, vc_nb_write, /*93*/
79 vc_nb_ioctl, nostop, nullreset, nodevtotty,
80 vc_nb_poll, nommap, NULL, "Coda", NULL, -1
81};
82
83int vcdebug = 1;
84#define VCDEBUG if (vcdebug) printf
85
86static int
87codadev_modevent(module_t mod, int type, void *data)
88{

--- 128 unchanged lines hidden ---