XXX set up alldevs and allevents so that vmstat -i will work.

This commit is contained in:
thorpej 1996-05-18 01:39:57 +00:00
parent 268e6edf33
commit a8c7148dd2
1 changed files with 10 additions and 2 deletions

View File

@ -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. * Copyright (c) 1996 Jason R. Thorpe. All rights reserved.
@ -59,6 +59,7 @@
#include <sys/conf.h> #include <sys/conf.h>
#include <sys/dmap.h> #include <sys/dmap.h>
#include <sys/reboot.h> #include <sys/reboot.h>
#include <sys/device.h>
#include <dev/cons.h> #include <dev/cons.h>
@ -91,6 +92,11 @@ extern char *extiobase;
int acdebug = 0; int acdebug = 0;
#endif #endif
#ifndef NEWCONFIG /* XXX */
struct devicelist alldevs;
struct evcntlist allevents;
#endif
/* /*
* Determine mass storage and memory configuration for a machine. * Determine mass storage and memory configuration for a machine.
*/ */
@ -1194,6 +1200,8 @@ setroot()
void void
config_init() config_init()
{ {
/* Stub, so kernel will link. */
TAILQ_INIT(&alldevs);
TAILQ_INIT(&allevents);
} }
#endif #endif