1 /* $NetBSD: autoconf.h,v 1.12 2008/02/11 17:32:18 garbled Exp $ */
3 #ifndef _OFPPC_AUTOCONF_H_
4 #define _OFPPC_AUTOCONF_H_
6 #include <machine/bus.h>
16 bus_addr_t ca_baseaddr
;
17 bus_space_tag_t ca_tag
;
25 /* to support machines with more than 4 busses, change the below */
26 #define MAX_PCI_BUSSES 4
29 struct pciio_info pciiodata
[MAX_PCI_BUSSES
];
32 extern int console_node
;
33 extern char model_name
[64];
36 void initppc(u_int
, u_int
, char *);
37 void model_init(void);
41 void inittodr(time_t);
43 void cpu_initclocks(void);
44 void decr_intr(struct clockframe
*);
45 void setstatclockrate(int);
46 void init_interrupt(void);
47 void init_ofppc_interrupt(void);
48 void ofppc_init_comcons(int);
49 void copy_disp_props(struct device
*, int, prop_dictionary_t
);
51 void OF_start_cpu(int, u_int
, int);
53 int rascons_cnattach(void);
56 #endif /* _OFPPC_AUTOCONF_H_ */