define(MACHINE,powerpc64)dnl
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.8 2021/02/12 10:26:34 jsg Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.9 2021/10/05 04:55:51 deraadt Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org>
_DEV(rd, 25, 2)
_DEV(sd, 26, 3)
_DEV(cd, 27, 4)
+_DEV(wd, 17, 5)
_TITLE(tap)
_DEV(ch, 68)
_DEV(st, 69)
-# $OpenBSD: files.powerpc64,v 1.26 2021/01/23 12:10:08 kettenis Exp $
+# $OpenBSD: files.powerpc64,v 1.27 2021/10/05 04:55:53 deraadt Exp $
maxpartitions 16
maxusers 2 8 128
major {rd = 2}
major {sd = 3}
major {cd = 4}
+major {wd = 5}
file arch/powerpc64/powerpc64/locore.S
file arch/powerpc64/powerpc64/autoconf.c
-/* $OpenBSD: conf.c,v 1.11 2021/01/23 05:08:36 thfr Exp $ */
+/* $OpenBSD: conf.c,v 1.12 2021/10/05 04:55:53 deraadt Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
#include <machine/conf.h>
+#include "wd.h"
+bdev_decl(wd);
#include "cd.h"
#include "rd.h"
#include "sd.h"
bdev_disk_init(NRD,rd), /* 2: ram disk driver */
bdev_disk_init(NSD,sd), /* 3: SCSI disk */
bdev_disk_init(NCD,cd), /* 4: SCSI CD-ROM */
+ bdev_disk_init(NWD,wd), /* 5: ST506/ESDI/IDE disk */
bdev_notdef(),
};
int nblkdev = nitems(bdevsw);
#include "audio.h"
+cdev_decl(wd);
#include "bio.h"
#include "bpfilter.h"
#include "ch.h"
cdev_kcov_init(NKCOV,kcov), /* 14: kcov */
cdev_kstat_init(NKSTAT,kstat), /* 15: kernel statistics */
cdev_kexec_init(NKEXEC,kexec), /* 16: kexec */
- cdev_notdef(), /* 17 */
+ cdev_disk_init(NWD,wd), /* 17: ST506/ESDI/IDE disk */
cdev_notdef(), /* 18 */
cdev_notdef(), /* 19 */
cdev_notdef(), /* 20 */
/* 14 */ NODEV,
/* 15 */ NODEV,
/* 16 */ NODEV,
- /* 17 */ NODEV,
+ /* 17 */ 5, /* wd */
/* 18 */ NODEV,
/* 19 */ NODEV,
/* 20 */ NODEV,