diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c index d3066c3b6857..f3447dbeb0e1 100644 --- a/sys/arch/sparc/sparc/conf.c +++ b/sys/arch/sparc/sparc/conf.c @@ -42,7 +42,7 @@ * @(#)conf.c 8.1 (Berkeley) 6/11/93 * * from: Header: conf.c,v 1.15 93/05/05 09:43:29 torek Exp (LBL) - * $Id: conf.c,v 1.10 1994/03/02 20:05:58 deraadt Exp $ + * $Id: conf.c,v 1.11 1994/05/12 08:22:03 deraadt Exp $ */ #include @@ -262,10 +262,6 @@ cdev_decl(bwtwo); cdev_decl(cgthree); cdev_decl(vn); -#define cdev_vn_init(c,n) { \ - dev_init(c,n,open), dev_init(c,n,close), dev_init(c,n,read), \ - dev_init(c,n,write), dev_init(c,n,ioctl), 0, 0, 0, seltrue, 0, \ - dev_init(c,n,strategy) } #ifdef LKM #define NLKM 1 @@ -416,7 +412,7 @@ struct cdevsw cdevsw[] = cdev_notdef(), /* 107 */ cdev_notdef(), /* 108 */ cdev_notdef(), /* 109 */ - cdev_vn_init(NVN,vn), /* 110: vnode */ + cdev_disk_init(NVN,vn), /* 110: vnode */ cdev_gen_init(NTUN,tun), /* 111: tunnel */ cdev_lkm_init(NLKM,lkm), /* 112: loadable kernel modules */ cdev_lkm_stub(), /* 113: LKM STUB */