153931Shibler /* 253931Shibler * Copyright (c) 1988 University of Utah. 3*63151Sbostic * Copyright (c) 1990, 1993 4*63151Sbostic * The Regents of the University of California. All rights reserved. 553931Shibler * 653931Shibler * This code is derived from software contributed to Berkeley by 753931Shibler * the Systems Programming Group of the University of Utah Computer 853931Shibler * Science Department. 953931Shibler * 1053931Shibler * %sccs.include.redist.c% 1153931Shibler * 1253931Shibler * from: Utah $Hdr: cons_conf.c 1.1 92/01/21 1353931Shibler * 14*63151Sbostic * @(#)cons_conf.c 8.1 (Berkeley) 06/10/93 1553931Shibler */ 1653931Shibler 1753931Shibler /* 1853931Shibler * This entire table could be autoconfig()ed but that would mean that 1953931Shibler * the kernel's idea of the console would be out of sync with that of 2053931Shibler * the standalone boot. I think it best that they both use the same 2153931Shibler * known algorithm unless we see a pressing need otherwise. 2253931Shibler */ 2356507Sbostic #include <sys/types.h> 2453931Shibler 2556507Sbostic #include <hp/dev/cons.h> 2656507Sbostic 2753931Shibler #include "ite.h" 2853931Shibler #include "dca.h" 2953931Shibler #include "dcm.h" 3053931Shibler 3153931Shibler #if NITE > 0 3253931Shibler extern int itecnprobe(), itecninit(), itecngetc(), itecnputc(); 3353931Shibler #endif 3453931Shibler #if NDCA > 0 3553931Shibler extern int dcacnprobe(), dcacninit(), dcacngetc(), dcacnputc(); 3653931Shibler #endif 3753931Shibler #if NDCM > 0 3853931Shibler extern int dcmcnprobe(), dcmcninit(), dcmcngetc(), dcmcnputc(); 3953931Shibler #endif 4053931Shibler 4153931Shibler struct consdev constab[] = { 4253931Shibler #if NITE > 0 4353931Shibler { itecnprobe, itecninit, itecngetc, itecnputc }, 4453931Shibler #endif 4553931Shibler #if NDCA > 0 4653931Shibler { dcacnprobe, dcacninit, dcacngetc, dcacnputc }, 4753931Shibler #endif 4853931Shibler #if NDCM > 0 4953931Shibler { dcmcnprobe, dcmcninit, dcmcngetc, dcmcnputc }, 5053931Shibler #endif 5153931Shibler { 0 }, 5253931Shibler }; 53