default ncylinders to 1 for disklabel
[unix-history] / usr / src / sys / hp300 / dev / cons_conf.c
CommitLineData
9acfa6cd
MH
1/*
2 * Copyright (c) 1988 University of Utah.
3 * Copyright (c) 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * the Systems Programming Group of the University of Utah Computer
8 * Science Department.
9 *
10 * %sccs.include.redist.c%
11 *
12 * from: Utah $Hdr: cons_conf.c 1.1 92/01/21
13 *
38a01dbe 14 * @(#)cons_conf.c 7.2 (Berkeley) %G%
9acfa6cd
MH
15 */
16
17/*
18 * This entire table could be autoconfig()ed but that would mean that
19 * the kernel's idea of the console would be out of sync with that of
20 * the standalone boot. I think it best that they both use the same
21 * known algorithm unless we see a pressing need otherwise.
22 */
38a01dbe
KB
23#include <sys/types.h>
24
25#include <hp/dev/cons.h>
9acfa6cd
MH
26
27#include "ite.h"
28#include "dca.h"
29#include "dcm.h"
30
31#if NITE > 0
32extern int itecnprobe(), itecninit(), itecngetc(), itecnputc();
33#endif
34#if NDCA > 0
35extern int dcacnprobe(), dcacninit(), dcacngetc(), dcacnputc();
36#endif
37#if NDCM > 0
38extern int dcmcnprobe(), dcmcninit(), dcmcngetc(), dcmcnputc();
39#endif
40
41struct consdev constab[] = {
42#if NITE > 0
43 { itecnprobe, itecninit, itecngetc, itecnputc },
44#endif
45#if NDCA > 0
46 { dcacnprobe, dcacninit, dcacngetc, dcacnputc },
47#endif
48#if NDCM > 0
49 { dcmcnprobe, dcmcninit, dcmcngetc, dcmcnputc },
50#endif
51 { 0 },
52};