summaryrefslogtreecommitdiff
path: root/sys/arch/amiga
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amiga')
-rw-r--r--sys/arch/amiga/amiga/conf.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/amiga/amiga/conf.c b/sys/arch/amiga/amiga/conf.c
index fc6ee3feb29..60c187c23ec 100644
--- a/sys/arch/amiga/amiga/conf.c
+++ b/sys/arch/amiga/amiga/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.27 2000/09/02 13:45:38 espie Exp $ */
+/* $OpenBSD: conf.c,v 1.28 2000/09/26 14:03:51 art Exp $ */
/* $NetBSD: conf.c,v 1.42 1997/01/07 11:35:03 mrg Exp $ */
/*-
@@ -234,6 +234,12 @@ iszerodev(dev)
return (major(dev) == mem_no && minor(dev) == 12);
}
+dev_t
+getnulldev()
+{
+ return makedev(mem_no, 2);
+}
+
static int chrtoblktab[] = {
/* XXXX This needs to be dynamic for LKMs. */
/*VCHR*/ /*VBLK*/