xref: /netbsd-src/usr.sbin/sysinst/arch/dummy/md.h (revision c063bdda5f3d770f6540f742b354f340b9b4716b)
1*c063bddaSmartin /*	$NetBSD: md.h,v 1.2 2019/06/20 18:32:33 martin Exp $	*/
24808d892Sdholland 
34808d892Sdholland /*
44808d892Sdholland  * Copyright 1997 Piermont Information Systems Inc.
54808d892Sdholland  * All rights reserved.
64808d892Sdholland  *
74808d892Sdholland  * Based on code written by Philip A. Nelson for Piermont Information
84808d892Sdholland  * Systems Inc.
94808d892Sdholland  *
104808d892Sdholland  * Redistribution and use in source and binary forms, with or without
114808d892Sdholland  * modification, are permitted provided that the following conditions
124808d892Sdholland  * are met:
134808d892Sdholland  * 1. Redistributions of source code must retain the above copyright
144808d892Sdholland  *    notice, this list of conditions and the following disclaimer.
154808d892Sdholland  * 2. Redistributions in binary form must reproduce the above copyright
164808d892Sdholland  *    notice, this list of conditions and the following disclaimer in the
174808d892Sdholland  *    documentation and/or other materials provided with the distribution.
184808d892Sdholland  * 3. The name of Piermont Information Systems Inc. may not be used to endorse
194808d892Sdholland  *    or promote products derived from this software without specific prior
204808d892Sdholland  *    written permission.
214808d892Sdholland  *
224808d892Sdholland  * THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
234808d892Sdholland  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
244808d892Sdholland  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
254808d892Sdholland  * ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
264808d892Sdholland  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
274808d892Sdholland  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
284808d892Sdholland  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
294808d892Sdholland  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
304808d892Sdholland  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
314808d892Sdholland  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
324808d892Sdholland  * THE POSSIBILITY OF SUCH DAMAGE.
334808d892Sdholland  */
344808d892Sdholland 
354808d892Sdholland #define XNEEDMB		100
36*c063bddaSmartin 
37*c063bddaSmartin #ifdef __sun__
38*c063bddaSmartin /* sunlabels force track alignment (true = no further processing) */
39*c063bddaSmartin #define	MD_DISKLABEL_SET_ALIGN_PRE(align, track)	\
40*c063bddaSmartin 	(align) = (track), true
41*c063bddaSmartin #endif
42