XXX set up alldevs and allevents so that vmstat -i will work.
This commit is contained in:
parent
268e6edf33
commit
a8c7148dd2
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: autoconf.c,v 1.19 1996/05/17 15:19:02 thorpej Exp $ */
|
||||
/* $NetBSD: autoconf.c,v 1.20 1996/05/18 01:39:57 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Jason R. Thorpe. All rights reserved.
|
||||
|
@ -59,6 +59,7 @@
|
|||
#include <sys/conf.h>
|
||||
#include <sys/dmap.h>
|
||||
#include <sys/reboot.h>
|
||||
#include <sys/device.h>
|
||||
|
||||
#include <dev/cons.h>
|
||||
|
||||
|
@ -91,6 +92,11 @@ extern char *extiobase;
|
|||
int acdebug = 0;
|
||||
#endif
|
||||
|
||||
#ifndef NEWCONFIG /* XXX */
|
||||
struct devicelist alldevs;
|
||||
struct evcntlist allevents;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Determine mass storage and memory configuration for a machine.
|
||||
*/
|
||||
|
@ -1194,6 +1200,8 @@ setroot()
|
|||
void
|
||||
config_init()
|
||||
{
|
||||
/* Stub, so kernel will link. */
|
||||
|
||||
TAILQ_INIT(&alldevs);
|
||||
TAILQ_INIT(&allevents);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue