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