1 #ifndef __ASM_MACINTOSH_H
2 #define __ASM_MACINTOSH_H
4 #include <linux/seq_file.h>
5 #include <linux/interrupt.h>
7 #include <asm/bootinfo-mac.h>
14 extern void mac_reset(void);
15 extern void mac_poweroff(void);
16 extern void mac_init_IRQ(void);
18 extern void mac_irq_enable(struct irq_data
*data
);
19 extern void mac_irq_disable(struct irq_data
*data
);
39 #define MAC_ADB_NONE 0
41 #define MAC_ADB_IISI 2
42 #define MAC_ADB_CUDA 3
48 #define MAC_VIA_IICI 2
49 #define MAC_VIA_QUADRA 3
51 #define MAC_SCSI_NONE 0
52 #define MAC_SCSI_OLD 1
53 #define MAC_SCSI_QUADRA 2
54 #define MAC_SCSI_QUADRA2 3
55 #define MAC_SCSI_QUADRA3 4
56 #define MAC_SCSI_IIFX 5
57 #define MAC_SCSI_DUO 6
59 #define MAC_SCSI_LATE 8
61 #define MAC_IDE_NONE 0
62 #define MAC_IDE_QUADRA 1
64 #define MAC_IDE_BABOON 3
68 #define MAC_SCC_QUADRA 3
71 #define MAC_ETHER_NONE 0
72 #define MAC_ETHER_SONIC 1
73 #define MAC_ETHER_MACE 2
75 #define MAC_NO_NUBUS 0
78 #define MAC_FLOPPY_IWM 0
79 #define MAC_FLOPPY_SWIM_ADDR1 1
80 #define MAC_FLOPPY_SWIM_ADDR2 2
81 #define MAC_FLOPPY_SWIM_IOP 3
82 #define MAC_FLOPPY_AV 4
84 extern struct mac_model
*macintosh_config
;
88 * Internal representation of the Mac hardware, filled in from bootinfo
91 struct mac_booter_data
93 unsigned long videoaddr
;
94 unsigned long videorow
;
95 unsigned long videodepth
;
96 unsigned long dimensions
;
97 unsigned long boottime
;
98 unsigned long gmtbias
;
99 unsigned long videological
;
100 unsigned long sccbase
;
102 unsigned long memsize
;
104 unsigned long rombase
;
107 extern struct mac_booter_data mac_bi_data
;