1 1.3.2.2 bouyer /* $NetBSD: autoconf.h,v 1.3.2.2 2000/11/20 20:14:02 bouyer Exp $ */ 2 1.3.2.2 bouyer 3 1.3.2.2 bouyer /* 4 1.3.2.2 bouyer * Copyright (c) 1994, 1995 Carnegie-Mellon University. 5 1.3.2.2 bouyer * All rights reserved. 6 1.3.2.2 bouyer * 7 1.3.2.2 bouyer * Author: Chris G. Demetriou 8 1.3.2.2 bouyer * 9 1.3.2.2 bouyer * Permission to use, copy, modify and distribute this software and 10 1.3.2.2 bouyer * its documentation is hereby granted, provided that both the copyright 11 1.3.2.2 bouyer * notice and this permission notice appear in all copies of the 12 1.3.2.2 bouyer * software, derivative works or modified versions, and any portions 13 1.3.2.2 bouyer * thereof, and that both notices appear in supporting documentation. 14 1.3.2.2 bouyer * 15 1.3.2.2 bouyer * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" 16 1.3.2.2 bouyer * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND 17 1.3.2.2 bouyer * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. 18 1.3.2.2 bouyer * 19 1.3.2.2 bouyer * Carnegie Mellon requests users of this software to return to 20 1.3.2.2 bouyer * 21 1.3.2.2 bouyer * Software Distribution Coordinator or Software.Distribution (at) CS.CMU.EDU 22 1.3.2.2 bouyer * School of Computer Science 23 1.3.2.2 bouyer * Carnegie Mellon University 24 1.3.2.2 bouyer * Pittsburgh PA 15213-3890 25 1.3.2.2 bouyer * 26 1.3.2.2 bouyer * any improvements or extensions that they make and grant Carnegie the 27 1.3.2.2 bouyer * rights to redistribute these changes. 28 1.3.2.2 bouyer */ 29 1.3.2.2 bouyer 30 1.3.2.2 bouyer #ifndef _MIPSCO_AUTOCONF_H_ 31 1.3.2.2 bouyer #define _MIPSCO_AUTOCONF_H_ 32 1.3.2.2 bouyer 33 1.3.2.2 bouyer /* 34 1.3.2.2 bouyer * Machine-dependent structures of autoconfiguration 35 1.3.2.2 bouyer */ 36 1.3.2.2 bouyer 37 1.3.2.2 bouyer #include <machine/bus.h> 38 1.3.2.2 bouyer 39 1.3.2.2 bouyer struct confargs; 40 1.3.2.2 bouyer 41 1.3.2.2 bouyer struct confargs { 42 1.3.2.2 bouyer const char *ca_name; /* Device name. */ 43 1.3.2.2 bouyer int ca_addr; /* Device address. */ 44 1.3.2.2 bouyer int ca_intr; /* Device interrupt level */ 45 1.3.2.2 bouyer bus_space_tag_t ca_bustag; /* parent bus tag */ 46 1.3.2.2 bouyer bus_dma_tag_t ca_dmatag; /* parent bus dma */ 47 1.3.2.2 bouyer }; 48 1.3.2.2 bouyer 49 1.3.2.2 bouyer /* Locator aliases */ 50 1.3.2.2 bouyer #define cf_addr cf_loc[0] 51 1.3.2.2 bouyer 52 1.3.2.2 bouyer int badaddr __P((void *, u_int)); 53 1.3.2.2 bouyer void makebootdev __P((char *)); 54 1.3.2.2 bouyer 55 1.3.2.2 bouyer #endif /* !_MIPSCO_AUTOCONF_H_ */ 56