0ed1ac8d35
managed by kern_devconf.c. A useful feature is that the following script generates almost well-formed config-file lines for all ISA devices in the system: lsdev -t isa | awk '{ print "device $0" }' lsdev -t disk | awk '{ print "disk $0" }'
17 lines
415 B
C
17 lines
415 B
C
/*
|
|
* Declarations for lsdev(8).
|
|
*/
|
|
#include <sys/types.h>
|
|
#include <sys/param.h>
|
|
#include <sys/time.h>
|
|
#include <sys/proc.h>
|
|
#include <vm/vm.h>
|
|
#include <sys/sysctl.h>
|
|
#include <sys/devconf.h>
|
|
|
|
extern const char *const devtypes[]; /* device type array */
|
|
extern void print(struct devconf *); /* machine-specific print routine */
|
|
extern int vflag;
|
|
|
|
extern int findtype(const char *); /* get device type by name */
|