md.h revision 1.1
11.1Sdholland/*	$NetBSD: md.h,v 1.1 2014/07/26 19:30:47 dholland Exp $	*/
21.1Sdholland
31.1Sdholland/*
41.1Sdholland * Copyright 1997 Piermont Information Systems Inc.
51.1Sdholland * All rights reserved.
61.1Sdholland *
71.1Sdholland * Based on code written by Philip A. Nelson for Piermont Information
81.1Sdholland * Systems Inc.
91.1Sdholland *
101.1Sdholland * Redistribution and use in source and binary forms, with or without
111.1Sdholland * modification, are permitted provided that the following conditions
121.1Sdholland * are met:
131.1Sdholland * 1. Redistributions of source code must retain the above copyright
141.1Sdholland *    notice, this list of conditions and the following disclaimer.
151.1Sdholland * 2. Redistributions in binary form must reproduce the above copyright
161.1Sdholland *    notice, this list of conditions and the following disclaimer in the
171.1Sdholland *    documentation and/or other materials provided with the distribution.
181.1Sdholland * 3. The name of Piermont Information Systems Inc. may not be used to endorse
191.1Sdholland *    or promote products derived from this software without specific prior
201.1Sdholland *    written permission.
211.1Sdholland *
221.1Sdholland * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
231.1Sdholland * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
241.1Sdholland * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
251.1Sdholland * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
261.1Sdholland * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
271.1Sdholland * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
281.1Sdholland * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
291.1Sdholland * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
301.1Sdholland * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
311.1Sdholland * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
321.1Sdholland * THE POSSIBILITY OF SUCH DAMAGE.
331.1Sdholland *
341.1Sdholland */
351.1Sdholland
361.1Sdholland/* md.h -- Machine specific definitions for the vax */
371.1Sdholland
381.1Sdholland/* Constants and defines */
391.1Sdholland
401.1Sdholland/*
411.1Sdholland * Symbolic names for disk partitions.
421.1Sdholland */
431.1Sdholland#define PART_ROOT	PART_A
441.1Sdholland#define PART_SWAP	PART_B
451.1Sdholland#define PART_RAW	PART_C
461.1Sdholland#define PART_USR	PART_D	/* Can be after PART_FIRST_FREE */
471.1Sdholland#define PART_FIRST_FREE	PART_E
481.1Sdholland
491.1Sdholland#define DEFSWAPRAM	16	/* Assume at least this RAM for swap calc */
501.1Sdholland#define DEFROOTSIZE	32	/* Default root size */
511.1Sdholland#define DEFVARSIZE	32	/* Default /var size, if created */
521.1Sdholland#define DEFUSRSIZE	70	/* Default /usr size, if /home */
531.1Sdholland#define XNEEDMB		35	/* Extra megs for full X installation */
541.1Sdholland
551.1Sdholland/*
561.1Sdholland * Default filesets to fetch and install during installation
571.1Sdholland * or upgrade.
581.1Sdholland */
591.1Sdholland#define SET_KERNEL_1_NAME	"kern-GENERIC"
601.1Sdholland
611.1Sdholland/*
621.1Sdholland * Disk names accepted as valid targets for a from-scratch installation.
631.1Sdholland */
641.1Sdholland#define DISK_NAMES "sd", "ra", "rd", "hp"
651.1Sdholland
661.1Sdholland/*
671.1Sdholland * Machine-specific command to write a new label to a disk.
681.1Sdholland * If not defined, we assume the port does not support disklabels and
691.1Sdholland * the hand-edited disklabel will NOT be written by MI code.
701.1Sdholland */
711.1Sdholland#define	DISKLABEL_CMD	"disklabel -w -r"
721.1Sdholland
731.1Sdholland/* VAX can have cd* or racd* devices */
741.1Sdholland#ifdef CD_NAMES
751.1Sdholland#undef CD_NAMES
761.1Sdholland#endif
771.1Sdholland#define CD_NAMES "cd0a","racd0a"
78