diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:58:41 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:58:41 -0400 |
commit | 3c3f42d63a11f2e22dbff6bb4d170f92dbd39316 (patch) | |
tree | 2619d63e6d49480b55de02044a75f8c843dbd811 /arch/powerpc/platforms/powermac/pmac.h | |
parent | e574d238ab907963ae6f97cb6bf12bb8fd48c376 (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.h | 25 |
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 | ||
12 | extern void pmac_get_boot_time(struct rtc_time *tm); | 13 | extern long pmac_time_init(void); |
13 | extern void pmac_get_rtc_time(struct rtc_time *tm); | 14 | extern unsigned long pmac_get_rtc_time(void); |
14 | extern int pmac_set_rtc_time(struct rtc_time *tm); | 15 | extern int pmac_set_rtc_time(unsigned long nowtime); |
15 | extern void pmac_read_rtc_time(void); | 16 | extern void pmac_read_rtc_time(void); |
16 | extern void pmac_calibrate_decr(void); | 17 | extern void pmac_calibrate_decr(void); |
17 | |||
18 | extern void pmac_pcibios_fixup(void); | 18 | extern void pmac_pcibios_fixup(void); |
19 | extern void pmac_find_bridges(void); | ||
20 | extern unsigned long pmac_ide_get_base(int index); | ||
21 | extern void pmac_ide_init_hwif_ports(hw_regs_t *hw, | ||
22 | unsigned long data_port, unsigned long ctrl_port, int *irq); | ||
23 | |||
24 | extern void pmac_nvram_update(void); | ||
25 | extern unsigned char pmac_nvram_read_byte(int addr); | ||
26 | extern void pmac_nvram_write_byte(int addr, unsigned char val); | ||
27 | extern int pmac_pci_enable_device_hook(struct pci_dev *dev, int initial); | ||
28 | extern void pmac_pcibios_after_init(void); | ||
29 | extern int of_show_percpuinfo(struct seq_file *m, int i); | ||
30 | |||
19 | extern void pmac_pci_init(void); | 31 | extern void pmac_pci_init(void); |
20 | extern void pmac_setup_pci_dma(void); | 32 | extern void pmac_setup_pci_dma(void); |
21 | extern void pmac_check_ht_link(void); | 33 | extern void pmac_check_ht_link(void); |
@@ -28,4 +40,9 @@ extern void pmac_ide_init_hwif_ports(hw_regs_t *hw, | |||
28 | 40 | ||
29 | extern void pmac_nvram_init(void); | 41 | extern void pmac_nvram_init(void); |
30 | 42 | ||
43 | extern struct hw_interrupt_type pmac_pic; | ||
44 | |||
45 | void pmac_pic_init(void); | ||
46 | int pmac_get_irq(struct pt_regs *regs); | ||
47 | |||
31 | #endif /* __PMAC_H__ */ | 48 | #endif /* __PMAC_H__ */ |