2 * linux/include/asm-mips/txx9/generic.h
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
8 #ifndef __ASM_TXX9_GENERIC_H
9 #define __ASM_TXX9_GENERIC_H
11 #include <linux/init.h>
12 #include <linux/ioport.h> /* for struct resource */
14 extern struct resource txx9_ce_res[];
15 extern char txx9_pcode_str[8];
16 void txx9_reg_res_init(unsigned int pcode, unsigned long base,
19 extern unsigned int txx9_master_clock;
20 extern unsigned int txx9_cpu_clock;
21 extern unsigned int txx9_gbus_clock;
24 struct txx9_board_vec {
26 void (*prom_init)(void);
27 void (*mem_setup)(void);
28 void (*irq_setup)(void);
29 void (*time_init)(void);
30 void (*arch_init)(void);
31 void (*device_init)(void);
33 int (*pci_map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
36 extern struct txx9_board_vec *txx9_board_vec;
37 extern int (*txx9_irq_dispatch)(int pending);
38 void prom_init_cmdline(void);
39 char *prom_getcmdline(void);
41 #endif /* __ASM_TXX9_GENERIC_H */