Ramdisk device now defaults to a size of zero if RAMDISK_SIZE is
undefined.
This commit is contained in:
parent
6a334da2bd
commit
b32ae66ae6
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: md_hooks.c,v 1.1 1996/01/31 23:19:31 mark Exp $ */
|
||||
/* $NetBSD: md_hooks.c,v 1.2 1996/02/02 20:23:00 mark Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Gordon W. Ross
|
||||
|
@ -36,6 +36,10 @@
|
|||
|
||||
#include <dev/ramdisk.h>
|
||||
|
||||
#ifndef RAMDISK_SIZE
|
||||
#define RAMDISK_SIZE 0
|
||||
#endif
|
||||
|
||||
/*extern int boothowto;*/
|
||||
extern u_int ramdisc_size;
|
||||
struct rd_conf *bootrd = NULL;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rd_hooks.c,v 1.1 1996/01/31 23:19:31 mark Exp $ */
|
||||
/* $NetBSD: rd_hooks.c,v 1.2 1996/02/02 20:23:00 mark Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Gordon W. Ross
|
||||
|
@ -36,6 +36,10 @@
|
|||
|
||||
#include <dev/ramdisk.h>
|
||||
|
||||
#ifndef RAMDISK_SIZE
|
||||
#define RAMDISK_SIZE 0
|
||||
#endif
|
||||
|
||||
/*extern int boothowto;*/
|
||||
extern u_int ramdisc_size;
|
||||
struct rd_conf *bootrd = NULL;
|
||||
|
|
Loading…
Reference in New Issue