Home | History | Annotate | Line # | Download | only in include
autoconf.h revision 1.5.22.2
      1  1.5.22.2  yamt /*	$NetBSD: autoconf.h,v 1.5.22.2 2007/11/15 11:43:13 yamt Exp $	*/
      2       1.5   chs 
      3       1.5   chs #ifndef _OFPPC_AUTOCONF_H_
      4       1.5   chs #define _OFPPC_AUTOCONF_H_
      5       1.5   chs 
      6  1.5.22.1  yamt #include <machine/bus.h>
      7  1.5.22.1  yamt 
      8       1.5   chs struct confargs {
      9       1.5   chs 	const char	*ca_name;
     10       1.5   chs 	u_int		ca_node;
     11       1.5   chs 	int		ca_nreg;
     12       1.5   chs 	u_int		*ca_reg;
     13       1.5   chs 	int		ca_nintr;
     14       1.5   chs 	int		*ca_intr;
     15       1.5   chs 
     16  1.5.22.1  yamt 	bus_addr_t	ca_baseaddr;
     17  1.5.22.1  yamt 	bus_space_tag_t	ca_tag;
     18       1.5   chs };
     19       1.1  matt 
     20  1.5.22.1  yamt extern int console_node;
     21  1.5.22.1  yamt 
     22       1.1  matt #ifdef _KERNEL
     23       1.5   chs void initppc(u_int, u_int, char *);
     24       1.5   chs void strayintr(int);
     25  1.5.22.1  yamt void dumpsys(void);
     26       1.1  matt 
     27       1.5   chs void inittodr(time_t);
     28       1.5   chs void resettodr(void);
     29       1.5   chs void cpu_initclocks(void);
     30       1.5   chs void decr_intr(struct clockframe *);
     31       1.5   chs void setstatclockrate(int);
     32  1.5.22.2  yamt void init_interrupt(void);
     33  1.5.22.2  yamt void ofppc_init_comcons(void);
     34  1.5.22.1  yamt 
     35  1.5.22.1  yamt int ofb_cnattach(void);
     36       1.1  matt #endif /* _KERNEL */
     37       1.1  matt 
     38       1.5   chs #endif /* _OFPPC_AUTOCONF_H_ */
     39