Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc/sparc Add a psuedo-device for coda.



details:   https://anonhg.NetBSD.org/src/rev/997afeda148e
branches:  trunk
changeset: 477172:997afeda148e
user:      phil <phil%NetBSD.org@localhost>
date:      Thu Oct 14 00:08:45 1999 +0000

description:
Add a psuedo-device for coda.

diffstat:

 sys/arch/sparc/sparc/conf.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 6510c33b9700 -r 997afeda148e sys/arch/sparc/sparc/conf.c
--- a/sys/arch/sparc/sparc/conf.c       Wed Oct 13 23:46:10 1999 +0000
+++ b/sys/arch/sparc/sparc/conf.c       Thu Oct 14 00:08:45 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: conf.c,v 1.60 1999/08/01 00:23:49 matt Exp $ */
+/*     $NetBSD: conf.c,v 1.61 1999/10/14 00:08:45 phil Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -97,6 +97,9 @@
 #include "rnd.h"
 #include "scsibus.h"
 
+#include "vcoda.h"
+cdev_decl(vc_nb_);
+
 struct bdevsw  bdevsw[] =
 {
        bdev_notdef(),                  /* 0 */
@@ -177,7 +180,7 @@
        cdev_notdef(),                  /* 44 */
        cdev_notdef(),                  /* 45 */
        cdev_notdef(),                  /* 46 */
-       cdev_notdef(),                  /* 47 */
+       cdev_vc_nb_init(NVCODA,vc_nb_), /* 47: coda file system psuedo-device */
        cdev_notdef(),                  /* 48 */
        cdev_notdef(),                  /* 49 */
        cdev_notdef(),                  /* 50 */



Home | Main Index | Thread Index | Old Index