1*95e1ffb1Schristos /* $NetBSD: nvram.h,v 1.3 2005/12/11 12:17:06 christos Exp $ */ 24c547143Ssoren 34c547143Ssoren /* 44c547143Ssoren * Copyright (c) 2000 Soren S. Jorvang. All rights reserved. 54c547143Ssoren * 64c547143Ssoren * Redistribution and use in source and binary forms, with or without 74c547143Ssoren * modification, are permitted provided that the following conditions 84c547143Ssoren * are met: 94c547143Ssoren * 1. Redistributions of source code must retain the above copyright 104c547143Ssoren * notice, this list of conditions, and the following disclaimer. 114c547143Ssoren * 2. Redistributions in binary form must reproduce the above copyright 124c547143Ssoren * notice, this list of conditions and the following disclaimer in the 134c547143Ssoren * documentation and/or other materials provided with the distribution. 144c547143Ssoren * 154c547143Ssoren * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 164c547143Ssoren * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 174c547143Ssoren * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 184c547143Ssoren * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 194c547143Ssoren * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 204c547143Ssoren * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 214c547143Ssoren * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 224c547143Ssoren * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 234c547143Ssoren * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 244c547143Ssoren * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 254c547143Ssoren * SUCH DAMAGE. 264c547143Ssoren */ 274c547143Ssoren 284c547143Ssoren /* 294c547143Ssoren * Console enable and speed 304c547143Ssoren */ 314c547143Ssoren 324c547143Ssoren #define CONS_ENABLE 0x01 334c547143Ssoren #define CONS_9600 0x02 344c547143Ssoren #define CONS_115200 0x05 354c547143Ssoren 364c547143Ssoren /* 374c547143Ssoren * Board revision 384c547143Ssoren */ 394c547143Ssoren 404c547143Ssoren #define VIA_BOARD 0x94 414c547143Ssoren 424c547143Ssoren #define BOARD_MASK 0xf0 434c547143Ssoren #define BOARD_SHIFT 4 444c547143Ssoren 454c547143Ssoren #define BOARD_QUBE1 3 464c547143Ssoren #define BOARD_RAQ1 4 474c547143Ssoren #define BOARD_QUBE2 5 484c547143Ssoren #define BOARD_RAQ2 6 49