diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1999-06-13 06:29:09 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1999-06-13 06:29:09 +0000 |
commit | a2ce0db23a6bb45c75d4c96df3c77d1cd6048851 (patch) | |
tree | 56ff6ea2d4610b2d062c032be4306fbfb082bf1d /sys/arch/mac68k/dev | |
parent | 30e38706b6bbad87e5cdfef860fe14ff0f6e1206 (diff) |
Update.
Diffstat (limited to 'sys/arch/mac68k/dev')
-rw-r--r-- | sys/arch/mac68k/dev/rd_root.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/arch/mac68k/dev/rd_root.c b/sys/arch/mac68k/dev/rd_root.c index 8beeff168b4..6a7a3b43caa 100644 --- a/sys/arch/mac68k/dev/rd_root.c +++ b/sys/arch/mac68k/dev/rd_root.c @@ -1,5 +1,5 @@ -/* $OpenBSD: rd_root.c,v 1.4 1998/07/19 16:08:13 deraadt Exp $ */ -/* $NetBSD: rd_root.c,v 1.3 1996/05/05 06:17:09 briggs Exp $ */ +/* $OpenBSD: rd_root.c,v 1.5 1999/06/13 06:29:08 downsj Exp $ */ +/* $NetBSD: rd_root.c,v 1.1 1996/05/20 01:17:31 chuck Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -30,6 +30,7 @@ #include <sys/param.h> #include <sys/reboot.h> +#include <sys/systm.h> #include <dev/ramdisk.h> @@ -48,6 +49,9 @@ extern int boothowto; int rd_root_size = ROOTBYTES; char rd_root_image[ROOTBYTES] = "|This is the root ramdisk!\n"; +/* + * This is called during autoconfig. + */ void rd_attach_hook(unit, rd) int unit; @@ -58,7 +62,7 @@ rd_attach_hook(unit, rd) rd->rd_addr = (caddr_t) rd_root_image; rd->rd_size = (size_t) rd_root_size; rd->rd_type = RD_KMEM_FIXED; - printf(" fixed, %d blocks", MINIROOTSIZE); + printf("rd%d: fixed, %d blocks\n", unit, MINIROOTSIZE); } } |