autoconf.h revision 1.2
11.2Sthorpej/*	$NetBSD: autoconf.h,v 1.2 2001/06/01 16:00:04 thorpej Exp $	*/
21.1Sthorpej
31.1Sthorpej/*
41.1Sthorpej * Copyright (c) 1994, 1995 Carnegie-Mellon University.
51.1Sthorpej * All rights reserved.
61.1Sthorpej *
71.1Sthorpej * Author: Chris G. Demetriou
81.1Sthorpej *
91.1Sthorpej * Permission to use, copy, modify and distribute this software and
101.1Sthorpej * its documentation is hereby granted, provided that both the copyright
111.1Sthorpej * notice and this permission notice appear in all copies of the
121.1Sthorpej * software, derivative works or modified versions, and any portions
131.1Sthorpej * thereof, and that both notices appear in supporting documentation.
141.1Sthorpej *
151.1Sthorpej * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
161.1Sthorpej * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
171.1Sthorpej * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
181.1Sthorpej *
191.1Sthorpej * Carnegie Mellon requests users of this software to return to
201.1Sthorpej *
211.1Sthorpej *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
221.1Sthorpej *  School of Computer Science
231.1Sthorpej *  Carnegie Mellon University
241.1Sthorpej *  Pittsburgh PA 15213-3890
251.1Sthorpej *
261.1Sthorpej * any improvements or extensions that they make and grant Carnegie the
271.1Sthorpej * rights to redistribute these changes.
281.1Sthorpej */
291.1Sthorpej
301.1Sthorpej#ifndef _ALGOR_AUTOCONF_H_
311.1Sthorpej#define	_ALGOR_AUTOCONF_H_
321.1Sthorpej
331.1Sthorpej#include <machine/bus.h>
341.1Sthorpej
351.1Sthorpej/*
361.1Sthorpej * Machine-dependent structures of autoconfiguration
371.1Sthorpej */
381.1Sthorpejstruct mainbus_attach_args {
391.1Sthorpej	const char *ma_name;		/* device name */
401.2Sthorpej	bus_space_tag_t ma_st;		/* the space tag to use */
411.1Sthorpej	bus_addr_t ma_addr;		/* system bus address */
421.2Sthorpej	int	   ma_irq;		/* IRQ index */
431.1Sthorpej};
441.1Sthorpej
451.1Sthorpej#ifdef _KERNEL
461.1Sthorpejextern char algor_ethaddr[];
471.1Sthorpej
481.1Sthorpejvoid	(*algor_init_clock_intr)(void);
491.1Sthorpejvoid	(*algor_iointr)(u_int32_t, u_int32_t, u_int32_t, u_int32_t);
501.1Sthorpej
511.1Sthorpejvoid	led_display(u_int8_t, u_int8_t, u_int8_t, u_int8_t);
521.1Sthorpej#endif /* _KERNEL */
531.1Sthorpej
541.1Sthorpej#endif	/* !_ALGOR_AUTOCONF_H_ */
55