3 * Copyright (c) 1997 by Matthew Jacob
4 * NASA AMES Research Center.
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
10 * 1. Redistributions of source code must retain the above copyright
11 * notice immediately at the beginning of the file, without modification,
12 * this list of conditions, and the following disclaimer.
13 * 2. Redistributions in binary form must reproduce the above copyright
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
16 * 3. The name of the author may not be used to endorse or promote products
17 * derived from this software without specific prior written permission.
19 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
23 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 #include <sys/param.h>
35 #include <sys/systm.h>
36 #include <sys/termios.h>
38 #include <machine/rpb.h>
39 #include <machine/cpuconf.h>
41 #include <alpha/tlsb/tlsbreg.h>
42 #include <alpha/tlsb/gbusreg.h>
43 #include <alpha/tlsb/zsvar.h>
45 void dec_3000_300_init(int);
46 static void dec_3000_300_cons_init(void);
48 static const struct alpha_variation_table dec_3000_300_variations[] = {
49 { SV_ST_PELICAN, "DEC 3000/300 (\"Pelican\")" },
50 { SV_ST_PELICA, "DEC 3000/300L (\"Pelica\")" },
51 { SV_ST_PELICANPLUS, "DEC 3000/300X (\"Pelican+\")" },
52 { SV_ST_PELICAPLUS, "DEC 3000/300LX (\"Pelica+\")" },
57 dec_3000_300_init(int cputype)
61 platform.family = "DEC 3000/300 (\"Pelican\")";
63 if ((platform.model = alpha_dsr_sysname()) == NULL) {
64 variation = hwrpb->rpb_variation & SV_ST_MASK;
65 if ((platform.model = alpha_variation_name(variation,
66 dec_3000_300_variations)) == NULL)
67 platform.model = alpha_unknown_sysname();
70 platform.iobus = "tcasic";
71 platform.cons_init = dec_3000_300_cons_init;
75 * dec_3000_300_cons_init- not needed right now.
79 dec_3000_300_cons_init(void)