vn -> vnd renaming, for consistency
This commit is contained in:
parent
95afef4f1d
commit
2ef4ca1f3d
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.22 1994/12/28 08:57:36 chopps Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.23 1995/01/25 04:48:11 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991 The Regents of the University of California.
|
||||
@ -75,10 +75,10 @@ int ttselect __P((dev_t, int, struct proc *));
|
||||
dev_decl(n,ioctl); dev_decl(n,dump); dev_decl(n,size)
|
||||
|
||||
|
||||
#include "vn.h"
|
||||
#include "vnd.h"
|
||||
#include "sd.h"
|
||||
#include "cd.h"
|
||||
bdev_decl(vn);
|
||||
bdev_decl(vnd);
|
||||
bdev_decl(sd);
|
||||
bdev_decl(cd);
|
||||
#define bdev_disk_init(c,n) { \
|
||||
@ -155,21 +155,21 @@ int lkmenodev();
|
||||
|
||||
struct bdevsw bdevsw[] =
|
||||
{
|
||||
bdev_notdef(), /* 0: */
|
||||
bdev_notdef(), /* 1: */
|
||||
bdev_floppy_init(NFD), /* 2: floppy */
|
||||
bdev_swap_init(), /* 3: swap pseudo-device */
|
||||
bdev_disk_init(NSD,sd), /* 4: scsi disk */
|
||||
bdev_tape_init(NST,st), /* 5: exabyte tape */
|
||||
bdev_disk_init(NVN,vn), /* 6: vnode disk driver (swap to files) */
|
||||
bdev_disk_init(NCD,cd), /* 7: scsi cd.*/
|
||||
bdev_notdef(), /* 8: */
|
||||
LKM_BDEV(), /* 9: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 10: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 11: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 12: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 13: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 14: Empty slot for LKM */
|
||||
bdev_notdef(), /* 0: */
|
||||
bdev_notdef(), /* 1: */
|
||||
bdev_floppy_init(NFD), /* 2: floppy */
|
||||
bdev_swap_init(), /* 3: swap pseudo-device */
|
||||
bdev_disk_init(NSD,sd), /* 4: scsi disk */
|
||||
bdev_tape_init(NST,st), /* 5: exabyte tape */
|
||||
bdev_disk_init(NVND,vnd), /* 6: vnode disk driver */
|
||||
bdev_disk_init(NCD,cd), /* 7: scsi cd.*/
|
||||
bdev_notdef(), /* 8: */
|
||||
LKM_BDEV(), /* 9: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 10: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 11: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 12: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 13: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 14: Empty slot for LKM */
|
||||
};
|
||||
|
||||
int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]);
|
||||
@ -222,7 +222,7 @@ cdev_decl(no); /* dummy declarations */
|
||||
}
|
||||
|
||||
/* disks */
|
||||
cdev_decl(vn);
|
||||
cdev_decl(vnd);
|
||||
cdev_decl(sd);
|
||||
#define cdev_disk_init(c,n) { \
|
||||
dev_init(c,n,open), \
|
||||
@ -578,7 +578,7 @@ struct cdevsw cdevsw[] =
|
||||
cdev_view_init(NVIEW), /* 16: /dev/view00 /dev/view01 ... */
|
||||
cdev_tty_init(NMFCS,mfcs), /* 17: MultiFaceCard III serial */
|
||||
cdev_floppy_init(NFD), /* 18: floppy */
|
||||
cdev_disk_init(NVN,vn), /* 19: vnode disk */
|
||||
cdev_disk_init(NVND,vnd), /* 19: vnode disk */
|
||||
cdev_st_init(NST), /* 20: scsi tape */
|
||||
cdev_fd_init(1), /* 21: file descriptor pseudo-dev */
|
||||
cdev_bpf_init(NBPFILTER), /* 22: berkeley packet filter */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.6 1994/12/14 19:13:04 mycroft Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.7 1995/01/25 04:48:13 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991 The Regents of the University of California.
|
||||
@ -90,23 +90,23 @@ bdev_decl(no); /* dummy declarations */
|
||||
#include "sd.h"
|
||||
#include "wd.h"
|
||||
#include "id.h"
|
||||
#include "vn.h"
|
||||
#include "vnd.h"
|
||||
|
||||
bdev_decl(sd);
|
||||
bdev_decl(wd);
|
||||
bdev_decl(id);
|
||||
bdev_decl(vn);
|
||||
bdev_decl(vnd);
|
||||
|
||||
struct bdevsw bdevsw[] =
|
||||
{
|
||||
bdev_notdef(), /* 0 */
|
||||
bdev_disk_init(NSD,sd), /* 1: SCSI disk */
|
||||
bdev_disk_init(NWD,wd), /* 2: WD winchester/floppy ctrler */
|
||||
bdev_swap_init(), /* 3: swap pseudo-device */
|
||||
bdev_disk_init(NID,id), /* 4: IDE disk */
|
||||
bdev_notdef(), /* 5 */
|
||||
bdev_disk_init(NVN,vn), /* 6: vnode disk driver (swap to files) */
|
||||
bdev_notdef(), /* 7 */
|
||||
bdev_notdef(), /* 0 */
|
||||
bdev_disk_init(NSD,sd), /* 1: SCSI disk */
|
||||
bdev_disk_init(NWD,wd), /* 2: WD winchester/floppy ctrler */
|
||||
bdev_swap_init(), /* 3: swap pseudo-device */
|
||||
bdev_disk_init(NID,id), /* 4: IDE disk */
|
||||
bdev_notdef(), /* 5 */
|
||||
bdev_disk_init(NVND,vnd), /* 6: vnode disk driver */
|
||||
bdev_notdef(), /* 7 */
|
||||
};
|
||||
|
||||
int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]);
|
||||
@ -234,9 +234,9 @@ cdev_decl(gsp);
|
||||
dev_init(c,n,map), 0 }
|
||||
|
||||
|
||||
cdev_decl(vn);
|
||||
cdev_decl(vnd);
|
||||
/* open, read, write, ioctl -- XXX should be a disk */
|
||||
#define cdev_vn_init(c,n) { \
|
||||
#define cdev_vnd_init(c,n) { \
|
||||
dev_init(c,n,open), (dev_type_close((*))) nullop, dev_init(c,n,read), \
|
||||
dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
|
||||
(dev_type_reset((*))) nullop, 0, seltrue, (dev_type_map((*))) enodev, \
|
||||
@ -281,7 +281,7 @@ struct cdevsw cdevsw[] =
|
||||
cdev_notdef(), /* 16 */
|
||||
cdev_notdef(), /* 17: concatenated disk */
|
||||
cdev_notdef(), /* 18: mapped clock */
|
||||
cdev_vn_init(NVN,vn), /* 19: vnode disk */
|
||||
cdev_vnd_init(NVND,vnd), /* 19: vnode disk */
|
||||
cdev_notdef(), /* 20: exabyte tape */
|
||||
cdev_fd_init(1,fd), /* 21: file descriptor pseudo-dev */
|
||||
cdev_bpf_init(NBPFILTER,bpf), /* 22: berkeley packet filter */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.23 1995/01/05 21:06:36 mycroft Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.24 1995/01/25 04:48:14 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991 The Regents of the University of California.
|
||||
@ -106,7 +106,7 @@ int lkmenodev();
|
||||
#include "rd.h"
|
||||
#include "sd.h"
|
||||
#include "ccd.h"
|
||||
#include "vn.h"
|
||||
#include "vnd.h"
|
||||
|
||||
bdev_decl(ct);
|
||||
bdev_decl(mt);
|
||||
@ -114,7 +114,7 @@ bdev_decl(st);
|
||||
bdev_decl(rd);
|
||||
bdev_decl(sd);
|
||||
bdev_decl(ccd);
|
||||
bdev_decl(vn);
|
||||
bdev_decl(vnd);
|
||||
|
||||
struct bdevsw bdevsw[] =
|
||||
{
|
||||
@ -124,7 +124,7 @@ struct bdevsw bdevsw[] =
|
||||
bdev_swap_init(), /* 3: swap pseudo-device */
|
||||
bdev_disk_init(NSD,sd), /* 4: scsi disk */
|
||||
bdev_disk_init(NCCD,ccd), /* 5: concatenated disk driver */
|
||||
bdev_disk_init(NVN,vn), /* 6: vnode disk driver */
|
||||
bdev_disk_init(NVND,vnd), /* 6: vnode disk driver */
|
||||
bdev_tape_init(NST,st), /* 7: exabyte tape */
|
||||
bdev_lkm_dummy(), /* 8 */
|
||||
bdev_lkm_dummy(), /* 9 */
|
||||
@ -282,7 +282,7 @@ cdev_decl(hil);
|
||||
cdev_decl(dcm);
|
||||
|
||||
cdev_decl(ccd);
|
||||
cdev_decl(vn);
|
||||
cdev_decl(vnd);
|
||||
|
||||
dev_type_open(fdopen);
|
||||
/* open */
|
||||
@ -338,7 +338,7 @@ struct cdevsw cdevsw[] =
|
||||
cdev_tape_init(NMT,mt), /* 16: magnetic reel tape */
|
||||
cdev_disk_init(NCCD,ccd), /* 17: concatenated disk */
|
||||
cdev_notdef(), /* 18 */
|
||||
cdev_disk_init(NVN,vn), /* 19: vnode disk */
|
||||
cdev_disk_init(NVND,vnd), /* 19: vnode disk */
|
||||
cdev_tape_init(NST,st), /* 20: exabyte tape */
|
||||
cdev_fd_init(1,fd), /* 21: file descriptor pseudo-dev */
|
||||
cdev_bpftun_init(NBPFILTER,bpf),/* 22: berkeley packet filter */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.56 1994/12/16 04:19:13 mycroft Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.57 1995/01/25 04:48:16 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Charles Hannum. All rights reserved.
|
||||
@ -101,7 +101,7 @@ int lkmenodev();
|
||||
#include "st.h"
|
||||
#include "cd.h"
|
||||
#include "mcd.h"
|
||||
#include "vn.h"
|
||||
#include "vnd.h"
|
||||
|
||||
bdev_decl(wd);
|
||||
#define fdopen Fdopen /* conflicts with fdopen() in kern_descrip.c */
|
||||
@ -114,7 +114,7 @@ bdev_decl(sd);
|
||||
bdev_decl(st);
|
||||
bdev_decl(cd);
|
||||
bdev_decl(mcd);
|
||||
bdev_decl(vn);
|
||||
bdev_decl(vnd);
|
||||
|
||||
struct bdevsw bdevsw[] =
|
||||
{
|
||||
@ -136,7 +136,7 @@ struct bdevsw bdevsw[] =
|
||||
bdev_lkm_dummy(), /* 11 */
|
||||
bdev_lkm_dummy(), /* 12 */
|
||||
bdev_lkm_dummy(), /* 13 */
|
||||
bdev_disk_init(NVN,vn), /* 14: vnode disk driver */
|
||||
bdev_disk_init(NVND,vnd), /* 14: vnode disk driver */
|
||||
};
|
||||
int nblkdev = sizeof(bdevsw) / sizeof(bdevsw[0]);
|
||||
|
||||
@ -310,7 +310,7 @@ cdev_decl(sd);
|
||||
cdev_decl(st);
|
||||
cdev_decl(cd);
|
||||
cdev_decl(mcd);
|
||||
cdev_decl(vn);
|
||||
cdev_decl(vnd);
|
||||
|
||||
#include "pc.h"
|
||||
#include "vt.h"
|
||||
@ -418,7 +418,7 @@ struct cdevsw cdevsw[] =
|
||||
cdev_tty_init(NCY,cy), /* 38: Cyclom serial port */
|
||||
cdev_disk_init(NMCD,mcd), /* 39: Mitsumi CD-ROM */
|
||||
cdev_tun_init(NTUN,tun), /* 40: network tunnel */
|
||||
cdev_disk_init(NVN,vn), /* 41: vnode disk driver */
|
||||
cdev_disk_init(NVND,vnd), /* 41: vnode disk driver */
|
||||
cdev_audio_init(NAUDIO,audio), /* 42: generic audio I/O */
|
||||
#ifdef COMPAT_SVR4
|
||||
cdev_svr4_net_init(1,svr4_net), /* 43: svr4 net pseudo-device */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.17 1995/01/21 05:31:17 briggs Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.18 1995/01/25 04:48:19 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1990 The Regents of the University of California.
|
||||
@ -160,12 +160,12 @@ bdev_decl(no); /* dummy declarations */
|
||||
#include "sd.h"
|
||||
#include "cd.h"
|
||||
#include "ch.h"
|
||||
#include "vn.h"
|
||||
#include "vnd.h"
|
||||
|
||||
bdev_decl(st);
|
||||
bdev_decl(sd);
|
||||
bdev_decl(cd);
|
||||
bdev_decl(vn);
|
||||
bdev_decl(vnd);
|
||||
|
||||
#ifdef LKM
|
||||
int lkmenodev();
|
||||
@ -180,22 +180,22 @@ int lkmenodev();
|
||||
|
||||
struct bdevsw bdevsw[] =
|
||||
{
|
||||
bdev_notdef(), /* 0: */
|
||||
bdev_notdef(), /* 1: */
|
||||
bdev_notdef(), /* 2: */
|
||||
bdev_swap_init(), /* 3: swap pseudo-device */
|
||||
bdev_disk_init(NSD,sd), /* 4: scsi disk */
|
||||
bdev_tape_init(NST,st), /* 5: scsi tape */
|
||||
bdev_cd_init(NCD,cd), /* 6: scsi CD driver */
|
||||
bdev_notdef(), /* 7: */
|
||||
bdev_disk_init(NVN,vn), /* 8: vnode disk driver. */
|
||||
bdev_notdef(), /* 9: */
|
||||
LKM_BDEV(), /* 10: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 11: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 12: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 13: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 14: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 15: Empty slot for LKM */
|
||||
bdev_notdef(), /* 0: */
|
||||
bdev_notdef(), /* 1: */
|
||||
bdev_notdef(), /* 2: */
|
||||
bdev_swap_init(), /* 3: swap pseudo-device */
|
||||
bdev_disk_init(NSD,sd), /* 4: scsi disk */
|
||||
bdev_tape_init(NST,st), /* 5: scsi tape */
|
||||
bdev_cd_init(NCD,cd), /* 6: scsi CD driver */
|
||||
bdev_notdef(), /* 7: */
|
||||
bdev_disk_init(NVND,vnd), /* 8: vnode disk driver. */
|
||||
bdev_notdef(), /* 9: */
|
||||
LKM_BDEV(), /* 10: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 11: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 12: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 13: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 14: Empty slot for LKM */
|
||||
LKM_BDEV(), /* 15: Empty slot for LKM */
|
||||
};
|
||||
|
||||
int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]);
|
||||
@ -436,9 +436,9 @@ cdev_decl(clock);
|
||||
dev_init(c,n,map), \
|
||||
0 }
|
||||
|
||||
cdev_decl(vn);
|
||||
cdev_decl(vnd);
|
||||
/* open, read, write, ioctl -- XXX should be a disk */
|
||||
#define cdev_vn_init(c,n) { \
|
||||
#define cdev_vnd_init(c,n) { \
|
||||
dev_init(c,n,open), \
|
||||
(dev_type_close((*))) nullop, \
|
||||
dev_init(c,n,read), \
|
||||
@ -551,7 +551,7 @@ struct cdevsw cdevsw[] =
|
||||
/* cdev_disk_init(NCH,ch), 17: scsi changer device */
|
||||
cdev_notdef(), /* 17: until we find chstrategy... */
|
||||
cdev_clock_init(NCLOCK,clock), /* 18: mapped clock */
|
||||
cdev_vn_init(NVN,vn), /* 19: vnode disk */
|
||||
cdev_vnd_init(NVND,vnd), /* 19: vnode disk */
|
||||
cdev_tape_init(NST,st), /* 20: exabyte tape */
|
||||
cdev_fd_init(1,fd), /* 21: file descriptor pseudo-dev */
|
||||
cdev_bpf_init(NBPFILTER,bpf), /* 22: berkeley packet filter */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.17 1995/01/18 08:14:31 phil Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.18 1995/01/25 04:48:21 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1991 The Regents of the University of California.
|
||||
@ -90,12 +90,12 @@ bdev_decl(no); /* dummy declarations */
|
||||
#include "sd.h"
|
||||
#include "st.h"
|
||||
#include "cd.h"
|
||||
#include "vn.h"
|
||||
#include "vnd.h"
|
||||
|
||||
bdev_decl(st);
|
||||
bdev_decl(sd);
|
||||
bdev_decl(cd);
|
||||
bdev_decl(vn);
|
||||
bdev_decl(vnd);
|
||||
|
||||
|
||||
#define bdev_rd_init(c,n) { \
|
||||
@ -113,12 +113,12 @@ bdev_decl(rd);
|
||||
|
||||
struct bdevsw bdevsw[] =
|
||||
{
|
||||
bdev_disk_init(NSD,sd), /* 0: scsi disk */
|
||||
bdev_swap_init(), /* 1: swap pseudo-device */
|
||||
bdev_tape_init(NST,st), /* 2: scsi tape */
|
||||
bdev_rd_init(NRD,rd), /* 3: ram disk */
|
||||
bdev_disk_init(NCD,cd), /* 4: scsi cdrom */
|
||||
bdev_disk_init(NVN,vn), /* 5: vnode disk driver (swap to files) */
|
||||
bdev_disk_init(NSD,sd), /* 0: scsi disk */
|
||||
bdev_swap_init(), /* 1: swap pseudo-device */
|
||||
bdev_tape_init(NST,st), /* 2: scsi tape */
|
||||
bdev_rd_init(NRD,rd), /* 3: ram disk */
|
||||
bdev_disk_init(NCD,cd), /* 4: scsi cdrom */
|
||||
bdev_disk_init(NVND,vnd), /* 5: vnode disk driver */
|
||||
};
|
||||
|
||||
int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]);
|
||||
@ -225,7 +225,7 @@ cdev_decl(log);
|
||||
cdev_decl(sd);
|
||||
cdev_decl(st);
|
||||
cdev_decl(cd);
|
||||
cdev_decl(vn);
|
||||
cdev_decl(vnd);
|
||||
|
||||
#include "scn.h" /* Serial driver. */
|
||||
cdev_decl(scn);
|
||||
@ -282,7 +282,7 @@ struct cdevsw cdevsw[] =
|
||||
cdev_tape_init(NST,st), /* 10: scsi tape */
|
||||
cdev_fd_init(1,fd), /* 11: file descriptor pseudo-dev */
|
||||
cdev_disk_init(NCD,cd), /* 12: concatenated disk */
|
||||
cdev_disk_init(NVN,vn), /* 13: vnode disk */
|
||||
cdev_disk_init(NVND,vnd), /* 13: vnode disk */
|
||||
cdev_bpf_init(NBPFILTER,bpf), /* 14: berkeley packet filter */
|
||||
cdev_tun_init(NTUN,tun), /* 15: network tunnel */
|
||||
cdev_notdef(), /* 16: */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.9 1994/12/14 19:11:17 mycroft Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.10 1995/01/25 04:48:23 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -92,37 +92,37 @@ int ttselect __P((dev_t, int, struct proc *));
|
||||
bdev_decl(no); /* dummy declarations */
|
||||
|
||||
#include "rz.h"
|
||||
#include "vn.h"
|
||||
#include "vnd.h"
|
||||
|
||||
bdev_decl(rz);
|
||||
bdev_decl(vn);
|
||||
bdev_decl(vnd);
|
||||
|
||||
struct bdevsw bdevsw[] =
|
||||
{
|
||||
bdev_notdef(), /* 0: SCSI disk */
|
||||
bdev_notdef(), /* 1: vax ht */
|
||||
bdev_disk_init(NVN,vn), /* 2: vnode disk driver (swap to files) */
|
||||
bdev_notdef(), /* 3: vax rk*/
|
||||
bdev_swap_init(), /* 4: swap pseudo-device*/
|
||||
bdev_notdef(), /* 5: vax tm */
|
||||
bdev_notdef(), /* 6: vax ts */
|
||||
bdev_notdef(), /* 7: vax mt */
|
||||
bdev_notdef(), /* 8: vax tu */
|
||||
bdev_notdef(), /* 9: ?? */
|
||||
bdev_notdef(), /*10: ut */
|
||||
bdev_notdef(), /*11: 11/730 idc */
|
||||
bdev_notdef(), /*12: rx */
|
||||
bdev_notdef(), /*13: uu */
|
||||
bdev_notdef(), /*14: rl */
|
||||
bdev_notdef(), /*15: tmscp */
|
||||
bdev_notdef(), /*16: cs */
|
||||
bdev_notdef(), /*17: md */
|
||||
bdev_notdef(), /*18: st */
|
||||
bdev_notdef(), /*19: sd */
|
||||
bdev_notdef(), /*20: tz */
|
||||
bdev_disk_init(NRZ,rz), /*21: SCSI disk */
|
||||
bdev_notdef(), /*22: ?? */
|
||||
bdev_notdef(), /*23: mscp */
|
||||
bdev_notdef(), /* 0: SCSI disk */
|
||||
bdev_notdef(), /* 1: vax ht */
|
||||
bdev_disk_init(NVND,vnd), /* 2: vnode disk driver */
|
||||
bdev_notdef(), /* 3: vax rk*/
|
||||
bdev_swap_init(), /* 4: swap pseudo-device*/
|
||||
bdev_notdef(), /* 5: vax tm */
|
||||
bdev_notdef(), /* 6: vax ts */
|
||||
bdev_notdef(), /* 7: vax mt */
|
||||
bdev_notdef(), /* 8: vax tu */
|
||||
bdev_notdef(), /* 9: ?? */
|
||||
bdev_notdef(), /*10: ut */
|
||||
bdev_notdef(), /*11: 11/730 idc */
|
||||
bdev_notdef(), /*12: rx */
|
||||
bdev_notdef(), /*13: uu */
|
||||
bdev_notdef(), /*14: rl */
|
||||
bdev_notdef(), /*15: tmscp */
|
||||
bdev_notdef(), /*16: cs */
|
||||
bdev_notdef(), /*17: md */
|
||||
bdev_notdef(), /*18: st */
|
||||
bdev_notdef(), /*19: sd */
|
||||
bdev_notdef(), /*20: tz */
|
||||
bdev_disk_init(NRZ,rz), /*21: SCSI disk */
|
||||
bdev_notdef(), /*22: ?? */
|
||||
bdev_notdef(), /*23: mscp */
|
||||
};
|
||||
|
||||
int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]);
|
||||
@ -250,9 +250,9 @@ cdev_decl(rz);
|
||||
#include "tz.h"
|
||||
cdev_decl(tz);
|
||||
|
||||
cdev_decl(vn);
|
||||
cdev_decl(vnd);
|
||||
/* open, read, write, ioctl -- XXX should be a disk */
|
||||
#define cdev_vn_init(c,n) { \
|
||||
#define cdev_vnd_init(c,n) { \
|
||||
dev_init(c,n,open), (dev_type_close((*))) nullop, dev_init(c,n,read), \
|
||||
dev_init(c,n,write), dev_init(c,n,ioctl), (dev_type_stop((*))) enodev, \
|
||||
(dev_type_reset((*))) nullop, 0, seltrue, (dev_type_map((*))) enodev, \
|
||||
@ -298,7 +298,7 @@ struct cdevsw cdevsw[] =
|
||||
cdev_pm_init(NPM,pm), /* 8: frame buffer */
|
||||
cdev_notdef(), /* 9: old slot for SCSI disk */
|
||||
cdev_tape_init(NTZ,tz), /* 10: SCSI tape */
|
||||
cdev_vn_init(NVN,vn), /* 11: vnode disk */
|
||||
cdev_vnd_init(NVND,vnd), /* 11: vnode disk */
|
||||
cdev_bpf_init(NBPFILTER,bpf), /* 12: berkeley packet filter */
|
||||
cdev_pm_init(NCFB,cfb), /* 13: color frame buffer */
|
||||
cdev_pm_init(NXCFB,xcfb), /* 14: maxine color frame buffer */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.20 1994/12/14 19:10:51 mycroft Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.21 1995/01/25 04:48:25 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -108,12 +108,12 @@ bdev_decl(no); /* dummy declarations */
|
||||
#include "sd.h"
|
||||
#include "st.h"
|
||||
#include "cd.h"
|
||||
#include "vn.h"
|
||||
#include "vnd.h"
|
||||
|
||||
bdev_decl(sd);
|
||||
bdev_decl(st);
|
||||
bdev_decl(cd);
|
||||
bdev_decl(vn);
|
||||
bdev_decl(vnd);
|
||||
|
||||
#ifdef LKM
|
||||
int lkmenodev(); /* lkm "nodev" routine */
|
||||
@ -128,30 +128,30 @@ int lkmenodev(); /* lkm "nodev" routine */
|
||||
|
||||
struct bdevsw bdevsw[] =
|
||||
{
|
||||
bdev_notdef(), /* 0 */
|
||||
bdev_notdef(), /* 1 */
|
||||
bdev_notdef(), /* 2 */
|
||||
bdev_swap_init(), /* 3 */
|
||||
bdev_notdef(), /* 4 */
|
||||
bdev_notdef(), /* 5 */
|
||||
bdev_notdef(), /* 6 */
|
||||
bdev_disk_init(NSD,sd), /* 7: scsi disk */
|
||||
bdev_disk_init(NVN,vn), /* 8: vnode */
|
||||
bdev_notdef(), /* 9: */
|
||||
bdev_notdef(), /* 10: */
|
||||
bdev_tape_init(NST,st), /* 11: SCSI tape */
|
||||
bdev_notdef(), /* 13: */
|
||||
bdev_notdef(), /* 14: */
|
||||
bdev_notdef(), /* 15: */
|
||||
bdev_notdef(), /* 16: */
|
||||
bdev_notdef(), /* 17: */
|
||||
bdev_disk_init(NCD,cd), /* 18: scsi cdrom */
|
||||
bdev_lkm_stub(), /* 19: LKM STUB */
|
||||
bdev_lkm_stub(), /* 20: LKM STUB */
|
||||
bdev_lkm_stub(), /* 21: LKM STUB */
|
||||
bdev_lkm_stub(), /* 22: LKM STUB */
|
||||
bdev_lkm_stub(), /* 23: LKM STUB */
|
||||
bdev_lkm_stub(), /* 24: LKM STUB */
|
||||
bdev_notdef(), /* 0 */
|
||||
bdev_notdef(), /* 1 */
|
||||
bdev_notdef(), /* 2 */
|
||||
bdev_swap_init(), /* 3 */
|
||||
bdev_notdef(), /* 4 */
|
||||
bdev_notdef(), /* 5 */
|
||||
bdev_notdef(), /* 6 */
|
||||
bdev_disk_init(NSD,sd), /* 7: scsi disk */
|
||||
bdev_disk_init(NVND,vnd), /* 8: vnode */
|
||||
bdev_notdef(), /* 9: */
|
||||
bdev_notdef(), /* 10: */
|
||||
bdev_tape_init(NST,st), /* 11: SCSI tape */
|
||||
bdev_notdef(), /* 13: */
|
||||
bdev_notdef(), /* 14: */
|
||||
bdev_notdef(), /* 15: */
|
||||
bdev_notdef(), /* 16: */
|
||||
bdev_notdef(), /* 17: */
|
||||
bdev_disk_init(NCD,cd), /* 18: scsi cdrom */
|
||||
bdev_lkm_stub(), /* 19: LKM STUB */
|
||||
bdev_lkm_stub(), /* 20: LKM STUB */
|
||||
bdev_lkm_stub(), /* 21: LKM STUB */
|
||||
bdev_lkm_stub(), /* 22: LKM STUB */
|
||||
bdev_lkm_stub(), /* 23: LKM STUB */
|
||||
bdev_lkm_stub(), /* 24: LKM STUB */
|
||||
};
|
||||
|
||||
int nblkdev = sizeof (bdevsw) / sizeof (bdevsw[0]);
|
||||
@ -275,7 +275,7 @@ cdev_decl(cgthree);
|
||||
cdev_decl(sd);
|
||||
cdev_decl(st);
|
||||
cdev_decl(cd);
|
||||
cdev_decl(vn);
|
||||
cdev_decl(vnd);
|
||||
|
||||
#ifdef LKM
|
||||
#define NLKM 1
|
||||
@ -433,7 +433,7 @@ struct cdevsw cdevsw[] =
|
||||
cdev_notdef(), /* 107 */
|
||||
cdev_notdef(), /* 108 */
|
||||
cdev_notdef(), /* 109 */
|
||||
cdev_disk_init(NVN,vn), /* 110: vnode */
|
||||
cdev_disk_init(NVND,vnd), /* 110: vnode disk */
|
||||
cdev_gen_init(NTUN,tun), /* 111: tunnel */
|
||||
cdev_lkm_init(NLKM,lkm), /* 112: loadable kernel modules */
|
||||
cdev_lkm_stub(), /* 113: LKM STUB */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: conf.c,v 1.29 1995/01/16 22:59:42 gwr Exp $ */
|
||||
/* $NetBSD: conf.c,v 1.30 1995/01/25 04:48:27 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 Adam Glass, Gordon W. Ross
|
||||
@ -197,24 +197,24 @@ decl_ioctl(chioctl);
|
||||
#define chioctl ndef_ioctl
|
||||
#endif
|
||||
|
||||
#define NVN 0 /* #include "vn.h" XXX */
|
||||
#if NVN > 0
|
||||
decl_open(vnopen);
|
||||
decl_close(vnclose);
|
||||
decl_strategy(vnstrategy);
|
||||
decl_ioctl(vnioctl);
|
||||
decl_dump(vndump);
|
||||
decl_psize(vnsize);
|
||||
decl_read(vnread);
|
||||
decl_write(vnwrite);
|
||||
#define NVND 0 /* #include "vn.h" XXX */
|
||||
#if NVND > 0
|
||||
decl_open(vndopen);
|
||||
decl_close(vndclose);
|
||||
decl_strategy(vndstrategy);
|
||||
decl_ioctl(vndioctl);
|
||||
decl_dump(vnddump);
|
||||
decl_psize(vndsize);
|
||||
decl_read(vndread);
|
||||
decl_write(vndwrite);
|
||||
#else
|
||||
#define vnopen ndef_open
|
||||
#define vnclose ndef_close
|
||||
#define vnread ndef_read
|
||||
#define vnwrite ndef_write
|
||||
#define vnstrategy ndef_strategy
|
||||
#define vnioctl ndef_ioctl
|
||||
#define vndump ndef_dump
|
||||
#define vndopen ndef_open
|
||||
#define vndclose ndef_close
|
||||
#define vndread ndef_read
|
||||
#define vndwrite ndef_write
|
||||
#define vndstrategy ndef_strategy
|
||||
#define vndioctl ndef_ioctl
|
||||
#define vnddump ndef_dump
|
||||
#define vnsize ndef_psize
|
||||
#endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: files,v 1.56 1994/08/15 16:37:37 cgd Exp $
|
||||
# $NetBSD: files,v 1.57 1995/01/25 04:48:07 cgd Exp $
|
||||
#
|
||||
adosfs/adlookup.c optional adosfs
|
||||
adosfs/adutil.c optional adosfs
|
||||
@ -20,7 +20,7 @@ ddb/db_trap.c optional ddb
|
||||
ddb/db_variables.c optional ddb
|
||||
ddb/db_watch.c optional ddb
|
||||
ddb/db_write_cmd.c optional ddb
|
||||
dev/vn.c optional vn device-driver
|
||||
dev/vnd.c optional vnd device-driver
|
||||
isofs/cd9660/cd9660_bmap.c optional cd9660
|
||||
isofs/cd9660/cd9660_lookup.c optional cd9660
|
||||
isofs/cd9660/cd9660_node.c optional cd9660
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: files.newconf,v 1.33 1994/08/15 16:37:39 cgd Exp $
|
||||
# $NetBSD: files.newconf,v 1.34 1995/01/25 04:48:09 cgd Exp $
|
||||
|
||||
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
|
||||
|
||||
@ -26,7 +26,7 @@ pseudo-device imp
|
||||
# device st at tg: tape -- not yet
|
||||
|
||||
# legitimate pseudo-devices
|
||||
pseudo-device vn: disk
|
||||
pseudo-device vnd: disk
|
||||
#pseudo-device cd: disk
|
||||
|
||||
pseudo-device pty: tty
|
||||
@ -59,7 +59,7 @@ file ddb/db_trap.c ddb
|
||||
file ddb/db_variables.c ddb
|
||||
file ddb/db_watch.c ddb
|
||||
file ddb/db_write_cmd.c ddb
|
||||
file dev/vn.c vn needs-flag
|
||||
file dev/vnd.c vnd needs-flag
|
||||
file isofs/cd9660/cd9660_bmap.c cd9660
|
||||
file isofs/cd9660/cd9660_lookup.c cd9660
|
||||
file isofs/cd9660/cd9660_node.c cd9660
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: files.oldconf,v 1.56 1994/08/15 16:37:37 cgd Exp $
|
||||
# $NetBSD: files.oldconf,v 1.57 1995/01/25 04:48:07 cgd Exp $
|
||||
#
|
||||
adosfs/adlookup.c optional adosfs
|
||||
adosfs/adutil.c optional adosfs
|
||||
@ -20,7 +20,7 @@ ddb/db_trap.c optional ddb
|
||||
ddb/db_variables.c optional ddb
|
||||
ddb/db_watch.c optional ddb
|
||||
ddb/db_write_cmd.c optional ddb
|
||||
dev/vn.c optional vn device-driver
|
||||
dev/vnd.c optional vnd device-driver
|
||||
isofs/cd9660/cd9660_bmap.c optional cd9660
|
||||
isofs/cd9660/cd9660_lookup.c optional cd9660
|
||||
isofs/cd9660/cd9660_node.c optional cd9660
|
||||
|
Loading…
Reference in New Issue
Block a user