Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
macintosh.h File Reference
#include <linux/seq_file.h>
#include <linux/interrupt.h>

Go to the source code of this file.

Data Structures

struct  mac_model
 

Macros

#define MAC_ADB_NONE   0
 
#define MAC_ADB_II   1
 
#define MAC_ADB_IISI   2
 
#define MAC_ADB_CUDA   3
 
#define MAC_ADB_PB1   4
 
#define MAC_ADB_PB2   5
 
#define MAC_ADB_IOP   6
 
#define MAC_VIA_II   1
 
#define MAC_VIA_IICI   2
 
#define MAC_VIA_QUADRA   3
 
#define MAC_SCSI_NONE   0
 
#define MAC_SCSI_OLD   1
 
#define MAC_SCSI_QUADRA   2
 
#define MAC_SCSI_QUADRA2   3
 
#define MAC_SCSI_QUADRA3   4
 
#define MAC_IDE_NONE   0
 
#define MAC_IDE_QUADRA   1
 
#define MAC_IDE_PB   2
 
#define MAC_IDE_BABOON   3
 
#define MAC_SCC_II   1
 
#define MAC_SCC_IOP   2
 
#define MAC_SCC_QUADRA   3
 
#define MAC_SCC_PSC   4
 
#define MAC_ETHER_NONE   0
 
#define MAC_ETHER_SONIC   1
 
#define MAC_ETHER_MACE   2
 
#define MAC_NO_NUBUS   0
 
#define MAC_NUBUS   1
 
#define MAC_FLOPPY_IWM   0
 
#define MAC_FLOPPY_SWIM_ADDR1   1
 
#define MAC_FLOPPY_SWIM_ADDR2   2
 
#define MAC_FLOPPY_SWIM_IOP   3
 
#define MAC_FLOPPY_AV   4
 
#define MAC_MODEL_II   6
 
#define MAC_MODEL_IIX   7
 
#define MAC_MODEL_IICX   8
 
#define MAC_MODEL_SE30   9
 
#define MAC_MODEL_IICI   11
 
#define MAC_MODEL_IIFX   13 /* And well numbered it is too */
 
#define MAC_MODEL_IISI   18
 
#define MAC_MODEL_LC   19
 
#define MAC_MODEL_Q900   20
 
#define MAC_MODEL_PB170   21
 
#define MAC_MODEL_Q700   22
 
#define MAC_MODEL_CLII   23 /* aka: P200 */
 
#define MAC_MODEL_PB140   25
 
#define MAC_MODEL_Q950   26 /* aka: WGS95 */
 
#define MAC_MODEL_LCIII   27 /* aka: P450 */
 
#define MAC_MODEL_PB210   29
 
#define MAC_MODEL_C650   30
 
#define MAC_MODEL_PB230   32
 
#define MAC_MODEL_PB180   33
 
#define MAC_MODEL_PB160   34
 
#define MAC_MODEL_Q800   35 /* aka: WGS80 */
 
#define MAC_MODEL_Q650   36
 
#define MAC_MODEL_LCII   37 /* aka: P400/405/410/430 */
 
#define MAC_MODEL_PB250   38
 
#define MAC_MODEL_IIVI   44
 
#define MAC_MODEL_P600   45 /* aka: P600CD */
 
#define MAC_MODEL_IIVX   48
 
#define MAC_MODEL_CCL   49 /* aka: P250 */
 
#define MAC_MODEL_PB165C   50
 
#define MAC_MODEL_C610   52 /* aka: WGS60 */
 
#define MAC_MODEL_Q610   53
 
#define MAC_MODEL_PB145   54 /* aka: PB145B */
 
#define MAC_MODEL_P520   56 /* aka: LC520 */
 
#define MAC_MODEL_C660   60
 
#define MAC_MODEL_P460   62 /* aka: LCIII+, P466/P467 */
 
#define MAC_MODEL_PB180C   71
 
#define MAC_MODEL_PB520   72 /* aka: PB520C, PB540, PB540C, PB550C */
 
#define MAC_MODEL_PB270C   77
 
#define MAC_MODEL_Q840   78
 
#define MAC_MODEL_P550   80 /* aka: LC550, P560 */
 
#define MAC_MODEL_CCLII   83 /* aka: P275 */
 
#define MAC_MODEL_PB165   84
 
#define MAC_MODEL_PB190   85 /* aka: PB190CS */
 
#define MAC_MODEL_TV   88
 
#define MAC_MODEL_P475   89 /* aka: LC475, P476 */
 
#define MAC_MODEL_P475F   90 /* aka: P475 w/ FPU (no LC040) */
 
#define MAC_MODEL_P575   92 /* aka: LC575, P577/P578 */
 
#define MAC_MODEL_Q605   94
 
#define MAC_MODEL_Q605_ACC   95 /* Q605 accelerated to 33 MHz */
 
#define MAC_MODEL_Q630   98 /* aka: LC630, P630/631/635/636/637/638/640 */
 
#define MAC_MODEL_P588   99 /* aka: LC580, P580 */
 
#define MAC_MODEL_PB280   102
 
#define MAC_MODEL_PB280C   103
 
#define MAC_MODEL_PB150   115
 

Functions

void mac_reset (void)
 
void mac_poweroff (void)
 
void mac_init_IRQ (void)
 
void mac_irq_enable (struct irq_data *data)
 
void mac_irq_disable (struct irq_data *data)
 

Variables

struct mac_modelmacintosh_config
 

Macro Definition Documentation

#define MAC_ADB_CUDA   3

Definition at line 39 of file macintosh.h.

#define MAC_ADB_II   1

Definition at line 37 of file macintosh.h.

#define MAC_ADB_IISI   2

Definition at line 38 of file macintosh.h.

#define MAC_ADB_IOP   6

Definition at line 42 of file macintosh.h.

#define MAC_ADB_NONE   0

Definition at line 36 of file macintosh.h.

#define MAC_ADB_PB1   4

Definition at line 40 of file macintosh.h.

#define MAC_ADB_PB2   5

Definition at line 41 of file macintosh.h.

#define MAC_ETHER_MACE   2

Definition at line 66 of file macintosh.h.

#define MAC_ETHER_NONE   0

Definition at line 64 of file macintosh.h.

#define MAC_ETHER_SONIC   1

Definition at line 65 of file macintosh.h.

#define MAC_FLOPPY_AV   4

Definition at line 75 of file macintosh.h.

#define MAC_FLOPPY_IWM   0

Definition at line 71 of file macintosh.h.

#define MAC_FLOPPY_SWIM_ADDR1   1

Definition at line 72 of file macintosh.h.

#define MAC_FLOPPY_SWIM_ADDR2   2

Definition at line 73 of file macintosh.h.

#define MAC_FLOPPY_SWIM_IOP   3

Definition at line 74 of file macintosh.h.

#define MAC_IDE_BABOON   3

Definition at line 57 of file macintosh.h.

#define MAC_IDE_NONE   0

Definition at line 54 of file macintosh.h.

#define MAC_IDE_PB   2

Definition at line 56 of file macintosh.h.

#define MAC_IDE_QUADRA   1

Definition at line 55 of file macintosh.h.

#define MAC_MODEL_C610   52 /* aka: WGS60 */

Definition at line 110 of file macintosh.h.

#define MAC_MODEL_C650   30

Definition at line 97 of file macintosh.h.

#define MAC_MODEL_C660   60

Definition at line 114 of file macintosh.h.

#define MAC_MODEL_CCL   49 /* aka: P250 */

Definition at line 108 of file macintosh.h.

#define MAC_MODEL_CCLII   83 /* aka: P275 */

Definition at line 121 of file macintosh.h.

#define MAC_MODEL_CLII   23 /* aka: P200 */

Definition at line 92 of file macintosh.h.

#define MAC_MODEL_II   6

Definition at line 81 of file macintosh.h.

#define MAC_MODEL_IICI   11

Definition at line 85 of file macintosh.h.

#define MAC_MODEL_IICX   8

Definition at line 83 of file macintosh.h.

#define MAC_MODEL_IIFX   13 /* And well numbered it is too */

Definition at line 86 of file macintosh.h.

#define MAC_MODEL_IISI   18

Definition at line 87 of file macintosh.h.

#define MAC_MODEL_IIVI   44

Definition at line 105 of file macintosh.h.

#define MAC_MODEL_IIVX   48

Definition at line 107 of file macintosh.h.

#define MAC_MODEL_IIX   7

Definition at line 82 of file macintosh.h.

#define MAC_MODEL_LC   19

Definition at line 88 of file macintosh.h.

#define MAC_MODEL_LCII   37 /* aka: P400/405/410/430 */

Definition at line 103 of file macintosh.h.

#define MAC_MODEL_LCIII   27 /* aka: P450 */

Definition at line 95 of file macintosh.h.

#define MAC_MODEL_P460   62 /* aka: LCIII+, P466/P467 */

Definition at line 115 of file macintosh.h.

#define MAC_MODEL_P475   89 /* aka: LC475, P476 */

Definition at line 125 of file macintosh.h.

#define MAC_MODEL_P475F   90 /* aka: P475 w/ FPU (no LC040) */

Definition at line 126 of file macintosh.h.

#define MAC_MODEL_P520   56 /* aka: LC520 */

Definition at line 113 of file macintosh.h.

#define MAC_MODEL_P550   80 /* aka: LC550, P560 */

Definition at line 120 of file macintosh.h.

#define MAC_MODEL_P575   92 /* aka: LC575, P577/P578 */

Definition at line 127 of file macintosh.h.

#define MAC_MODEL_P588   99 /* aka: LC580, P580 */

Definition at line 131 of file macintosh.h.

#define MAC_MODEL_P600   45 /* aka: P600CD */

Definition at line 106 of file macintosh.h.

#define MAC_MODEL_PB140   25

Definition at line 93 of file macintosh.h.

#define MAC_MODEL_PB145   54 /* aka: PB145B */

Definition at line 112 of file macintosh.h.

#define MAC_MODEL_PB150   115

Definition at line 134 of file macintosh.h.

#define MAC_MODEL_PB160   34

Definition at line 100 of file macintosh.h.

#define MAC_MODEL_PB165   84

Definition at line 122 of file macintosh.h.

#define MAC_MODEL_PB165C   50

Definition at line 109 of file macintosh.h.

#define MAC_MODEL_PB170   21

Definition at line 90 of file macintosh.h.

#define MAC_MODEL_PB180   33

Definition at line 99 of file macintosh.h.

#define MAC_MODEL_PB180C   71

Definition at line 116 of file macintosh.h.

#define MAC_MODEL_PB190   85 /* aka: PB190CS */

Definition at line 123 of file macintosh.h.

#define MAC_MODEL_PB210   29

Definition at line 96 of file macintosh.h.

#define MAC_MODEL_PB230   32

Definition at line 98 of file macintosh.h.

#define MAC_MODEL_PB250   38

Definition at line 104 of file macintosh.h.

#define MAC_MODEL_PB270C   77

Definition at line 118 of file macintosh.h.

#define MAC_MODEL_PB280   102

Definition at line 132 of file macintosh.h.

#define MAC_MODEL_PB280C   103

Definition at line 133 of file macintosh.h.

#define MAC_MODEL_PB520   72 /* aka: PB520C, PB540, PB540C, PB550C */

Definition at line 117 of file macintosh.h.

#define MAC_MODEL_Q605   94

Definition at line 128 of file macintosh.h.

#define MAC_MODEL_Q605_ACC   95 /* Q605 accelerated to 33 MHz */

Definition at line 129 of file macintosh.h.

#define MAC_MODEL_Q610   53

Definition at line 111 of file macintosh.h.

#define MAC_MODEL_Q630   98 /* aka: LC630, P630/631/635/636/637/638/640 */

Definition at line 130 of file macintosh.h.

#define MAC_MODEL_Q650   36

Definition at line 102 of file macintosh.h.

#define MAC_MODEL_Q700   22

Definition at line 91 of file macintosh.h.

#define MAC_MODEL_Q800   35 /* aka: WGS80 */

Definition at line 101 of file macintosh.h.

#define MAC_MODEL_Q840   78

Definition at line 119 of file macintosh.h.

#define MAC_MODEL_Q900   20

Definition at line 89 of file macintosh.h.

#define MAC_MODEL_Q950   26 /* aka: WGS95 */

Definition at line 94 of file macintosh.h.

#define MAC_MODEL_SE30   9

Definition at line 84 of file macintosh.h.

#define MAC_MODEL_TV   88

Definition at line 124 of file macintosh.h.

#define MAC_NO_NUBUS   0

Definition at line 68 of file macintosh.h.

#define MAC_NUBUS   1

Definition at line 69 of file macintosh.h.

#define MAC_SCC_II   1

Definition at line 59 of file macintosh.h.

#define MAC_SCC_IOP   2

Definition at line 60 of file macintosh.h.

#define MAC_SCC_PSC   4

Definition at line 62 of file macintosh.h.

#define MAC_SCC_QUADRA   3

Definition at line 61 of file macintosh.h.

#define MAC_SCSI_NONE   0

Definition at line 48 of file macintosh.h.

#define MAC_SCSI_OLD   1

Definition at line 49 of file macintosh.h.

#define MAC_SCSI_QUADRA   2

Definition at line 50 of file macintosh.h.

#define MAC_SCSI_QUADRA2   3

Definition at line 51 of file macintosh.h.

#define MAC_SCSI_QUADRA3   4

Definition at line 52 of file macintosh.h.

#define MAC_VIA_II   1

Definition at line 44 of file macintosh.h.

#define MAC_VIA_IICI   2

Definition at line 45 of file macintosh.h.

#define MAC_VIA_QUADRA   3

Definition at line 46 of file macintosh.h.

Function Documentation

void mac_init_IRQ ( void  )

Definition at line 150 of file macints.c.

void mac_irq_disable ( struct irq_data data)

Definition at line 227 of file macints.c.

void mac_irq_enable ( struct irq_data data)

Definition at line 197 of file macints.c.

void mac_poweroff ( void  )

Definition at line 504 of file misc.c.

void mac_reset ( void  )

Definition at line 530 of file misc.c.

Variable Documentation

struct mac_model* macintosh_config

Definition at line 226 of file config.c.