]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-mips/txx9/generic.h
[MIPS] TXx9: Make single kernel can support multiple boards
[linux-2.6-omap-h63xx.git] / include / asm-mips / txx9 / generic.h
index 2ff6c20022048dce746c1e6a51c94a650846454b..6cd147764f19e6bd3d4dcf0ab75a8f8da6c1f72d 100644 (file)
@@ -20,4 +20,22 @@ extern unsigned int txx9_master_clock;
 extern unsigned int txx9_cpu_clock;
 extern unsigned int txx9_gbus_clock;
 
+struct pci_dev;
+struct txx9_board_vec {
+       unsigned long type;
+       const char *system;
+       void (*prom_init)(void);
+       void (*mem_setup)(void);
+       void (*irq_setup)(void);
+       void (*time_init)(void);
+       void (*arch_init)(void);
+       void (*device_init)(void);
+#ifdef CONFIG_PCI
+       int (*pci_map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
+#endif
+};
+extern struct txx9_board_vec *txx9_board_vec;
+extern int (*txx9_irq_dispatch)(int pending);
+void prom_init_cmdline(void);
+
 #endif /* __ASM_TXX9_GENERIC_H */