aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/pmac.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-10 08:58:41 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-10 08:58:41 -0400
commit3c3f42d63a11f2e22dbff6bb4d170f92dbd39316 (patch)
tree2619d63e6d49480b55de02044a75f8c843dbd811 /arch/powerpc/platforms/powermac/pmac.h
parente574d238ab907963ae6f97cb6bf12bb8fd48c376 (diff)
powerpc: Start merging 64-bit support into powermac files
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/powermac/pmac.h')
-rw-r--r--arch/powerpc/platforms/powermac/pmac.h25
1 files changed, 21 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/powermac/pmac.h b/arch/powerpc/platforms/powermac/pmac.h
index 40e1c5030f74..81f52512b046 100644
--- a/arch/powerpc/platforms/powermac/pmac.h
+++ b/arch/powerpc/platforms/powermac/pmac.h
@@ -3,19 +3,31 @@
3 3
4#include <linux/pci.h> 4#include <linux/pci.h>
5#include <linux/ide.h> 5#include <linux/ide.h>
6#include <linux/irq.h>
6 7
7/* 8/*
8 * Declaration for the various functions exported by the 9 * Declaration for the various functions exported by the
9 * pmac_* files. Mostly for use by pmac_setup 10 * pmac_* files. Mostly for use by pmac_setup
10 */ 11 */
11 12
12extern void pmac_get_boot_time(struct rtc_time *tm); 13extern long pmac_time_init(void);
13extern void pmac_get_rtc_time(struct rtc_time *tm); 14extern unsigned long pmac_get_rtc_time(void);
14extern int pmac_set_rtc_time(struct rtc_time *tm); 15extern int pmac_set_rtc_time(unsigned long nowtime);
15extern void pmac_read_rtc_time(void); 16extern void pmac_read_rtc_time(void);
16extern void pmac_calibrate_decr(void); 17extern void pmac_calibrate_decr(void);
17
18extern void pmac_pcibios_fixup(void); 18extern void pmac_pcibios_fixup(void);
19extern void pmac_find_bridges(void);
20extern unsigned long pmac_ide_get_base(int index);
21extern void pmac_ide_init_hwif_ports(hw_regs_t *hw,
22 unsigned long data_port, unsigned long ctrl_port, int *irq);
23
24extern void pmac_nvram_update(void);
25extern unsigned char pmac_nvram_read_byte(int addr);
26extern void pmac_nvram_write_byte(int addr, unsigned char val);
27extern int pmac_pci_enable_device_hook(struct pci_dev *dev, int initial);
28extern void pmac_pcibios_after_init(void);
29extern int of_show_percpuinfo(struct seq_file *m, int i);
30
19extern void pmac_pci_init(void); 31extern void pmac_pci_init(void);
20extern void pmac_setup_pci_dma(void); 32extern void pmac_setup_pci_dma(void);
21extern void pmac_check_ht_link(void); 33extern void pmac_check_ht_link(void);
@@ -28,4 +40,9 @@ extern void pmac_ide_init_hwif_ports(hw_regs_t *hw,
28 40
29extern void pmac_nvram_init(void); 41extern void pmac_nvram_init(void);
30 42
43extern struct hw_interrupt_type pmac_pic;
44
45void pmac_pic_init(void);
46int pmac_get_irq(struct pt_regs *regs);
47
31#endif /* __PMAC_H__ */ 48#endif /* __PMAC_H__ */