autoconf.h revision 1.4
11.4Sscw/*	$NetBSD: autoconf.h,v 1.4 2000/03/18 22:33:05 scw Exp $	*/
21.1Schuck
31.1Schuck/*
41.1Schuck *
51.1Schuck * Copyright (c) 1996 Charles D. Cranor
61.1Schuck * All rights reserved.
71.1Schuck *
81.1Schuck * Redistribution and use in source and binary forms, with or without
91.1Schuck * modification, are permitted provided that the following conditions
101.1Schuck * are met:
111.1Schuck * 1. Redistributions of source code must retain the above copyright
121.1Schuck *    notice, this list of conditions and the following disclaimer.
131.1Schuck * 2. Redistributions in binary form must reproduce the above copyright
141.1Schuck *    notice, this list of conditions and the following disclaimer in the
151.1Schuck *    documentation and/or other materials provided with the distribution.
161.1Schuck * 3. All advertising materials mentioning features or use of this software
171.1Schuck *    must display the following acknowledgement:
181.1Schuck *      This product includes software developed by Charles D. Cranor.
191.1Schuck * 4. The name of the author may not be used to endorse or promote products
201.1Schuck *    derived from this software without specific prior written permission.
211.1Schuck *
221.1Schuck * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
231.1Schuck * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
241.1Schuck * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
251.1Schuck * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
261.1Schuck * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
271.1Schuck * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
281.1Schuck * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
291.1Schuck * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
301.1Schuck * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
311.1Schuck * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
321.1Schuck */
331.1Schuck
341.1Schuck/*
351.1Schuck * autoconf.h
361.1Schuck */
371.4Sscw#ifndef _MVME68K_AUTOCONF_H
381.4Sscw#define _MVME68K_AUTOCONF_H
391.1Schuck
401.1Schuck/* the following are from the prom/bootblocks */
411.2Sthorpejextern void	*bootaddr;	/* PA of boot device */
421.2Sthorpejextern int	bootctrllun;	/* ctrl_lun of boot device */
431.2Sthorpejextern int	bootdevlun;	/* dev_lun of boot device */
441.2Sthorpejextern int	bootpart;	/* boot partition (disk) */
451.1Schuck
461.3Sthorpejextern struct device *booted_device;	/* boot device */
471.1Schuck
481.1Schuck/* PARTITIONSHIFT from disklabel.h */
491.1Schuck#define	PARTITIONMASK	((1 << PARTITIONSHIFT) - 1)
501.4Sscw
511.4Sscw#endif /* _MVME68K_AUTOCONF_H */
52