diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-30 15:24:08 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-04-30 15:24:08 +0000 |
commit | 2c859686c0183d3349fd59eea4d0b94042c2e57c (patch) | |
tree | 263765a11a9e36f7a43ecbce811bedf7158f3e00 /sys | |
parent | 31d435bde20ef5d8d503bea682646c810fec14aa (diff) |
Plug holes in cdevsw[] to make vscsi, diskmap and pppx entries match the
numbers in comments and the MAKEDEV majors.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/sparc/conf.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/vax/conf.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/sparc/sparc/conf.c b/sys/arch/sparc/sparc/conf.c index 1a7c8ca4885..a52c7380a65 100644 --- a/sys/arch/sparc/sparc/conf.c +++ b/sys/arch/sparc/sparc/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.56 2011/01/14 19:04:08 jasper Exp $ */ +/* $OpenBSD: conf.c,v 1.57 2011/04/30 15:24:07 miod Exp $ */ /* $NetBSD: conf.c,v 1.40 1996/04/11 19:20:03 thorpej Exp $ */ /* @@ -268,6 +268,8 @@ struct cdevsw cdevsw[] = cdev_disk_init(NRAID,raid), /* 123: RAIDframe disk driver */ cdev_bio_init(NBIO,bio), /* 124: ioctl tunnel */ cdev_ptm_init(NPTY,ptm), /* 125: pseudo-tty ptm device */ + cdev_notdef(), /* 126 */ + cdev_notdef(), /* 127 */ cdev_vscsi_init(NVSCSI,vscsi), /* 128: vscsi */ cdev_disk_init(1,diskmap), /* 129: disk mapper */ cdev_pppx_init(NPPPX,pppx), /* 130: pppx */ diff --git a/sys/arch/vax/vax/conf.c b/sys/arch/vax/vax/conf.c index b59e49dd43b..3744271b5b3 100644 --- a/sys/arch/vax/vax/conf.c +++ b/sys/arch/vax/vax/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.62 2011/01/14 19:04:08 jasper Exp $ */ +/* $OpenBSD: conf.c,v 1.63 2011/04/30 15:24:07 miod Exp $ */ /* $NetBSD: conf.c,v 1.44 1999/10/27 16:38:54 ragge Exp $ */ /*- @@ -439,6 +439,8 @@ struct cdevsw cdevsw[] = cdev_notdef(), /* 74 */ #endif cdev_ptm_init(NPTY,ptm), /* 75: pseudo-tty ptm device */ + cdev_notdef(), /* 76 */ + cdev_notdef(), /* 77 */ cdev_vscsi_init(NVSCSI,vscsi), /* 78: vscsi */ cdev_disk_init(1,diskmap), /* 79: disk mapper */ cdev_pppx_init(NPPPX,pppx), /* 80: pppx */ |