Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
mac_oss.h File Reference

Go to the source code of this file.

Data Structures

struct  mac_oss
 

Macros

#define OSS_BASE   (0x50f1a000)
 
#define OSS_NUBUS0   0
 
#define OSS_NUBUS1   1
 
#define OSS_NUBUS2   2
 
#define OSS_NUBUS3   3
 
#define OSS_NUBUS4   4
 
#define OSS_NUBUS5   5
 
#define OSS_IOPISM   6
 
#define OSS_IOPSCC   7
 
#define OSS_SOUND   8
 
#define OSS_SCSI   9
 
#define OSS_60HZ   10
 
#define OSS_VIA1   11
 
#define OSS_UNUSED1   12
 
#define OSS_UNUSED2   13
 
#define OSS_PARITY   14
 
#define OSS_UNUSED3   15
 
#define OSS_NUM_SOURCES   16
 
#define OSS_IP_NUBUS0   0x0001
 
#define OSS_IP_NUBUS1   0x0002
 
#define OSS_IP_NUBUS2   0x0004
 
#define OSS_IP_NUBUS3   0x0008
 
#define OSS_IP_NUBUS4   0x0010
 
#define OSS_IP_NUBUS5   0x0020
 
#define OSS_IP_IOPISM   0x0040
 
#define OSS_IP_IOPSCC   0x0080
 
#define OSS_IP_SOUND   0x0100
 
#define OSS_IP_SCSI   0x0200
 
#define OSS_IP_60HZ   0x0400
 
#define OSS_IP_VIA1   0x0800
 
#define OSS_IP_UNUSED1   0x1000
 
#define OSS_IP_UNUSED2   0x2000
 
#define OSS_IP_PARITY   0x4000
 
#define OSS_IP_UNUSED3   0x8000
 
#define OSS_IP_NUBUS   (OSS_IP_NUBUS0|OSS_IP_NUBUS1|OSS_IP_NUBUS2|OSS_IP_NUBUS3|OSS_IP_NUBUS4|OSS_IP_NUBUS5)
 
#define OSS_POWEROFF   0x80
 

Functions

void oss_register_interrupts (void)
 
void oss_irq_enable (int)
 
void oss_irq_disable (int)
 

Variables

struct mac_ossoss
 
int oss_present
 

Macro Definition Documentation

#define OSS_60HZ   10

Definition at line 23 of file mac_oss.h.

#define OSS_BASE   (0x50f1a000)

Definition at line 7 of file mac_oss.h.

#define OSS_IOPISM   6

Definition at line 19 of file mac_oss.h.

#define OSS_IOPSCC   7

Definition at line 20 of file mac_oss.h.

#define OSS_IP_60HZ   0x0400

Definition at line 46 of file mac_oss.h.

#define OSS_IP_IOPISM   0x0040

Definition at line 42 of file mac_oss.h.

#define OSS_IP_IOPSCC   0x0080

Definition at line 43 of file mac_oss.h.

Definition at line 53 of file mac_oss.h.

#define OSS_IP_NUBUS0   0x0001

Definition at line 36 of file mac_oss.h.

#define OSS_IP_NUBUS1   0x0002

Definition at line 37 of file mac_oss.h.

#define OSS_IP_NUBUS2   0x0004

Definition at line 38 of file mac_oss.h.

#define OSS_IP_NUBUS3   0x0008

Definition at line 39 of file mac_oss.h.

#define OSS_IP_NUBUS4   0x0010

Definition at line 40 of file mac_oss.h.

#define OSS_IP_NUBUS5   0x0020

Definition at line 41 of file mac_oss.h.

#define OSS_IP_PARITY   0x4000

Definition at line 50 of file mac_oss.h.

#define OSS_IP_SCSI   0x0200

Definition at line 45 of file mac_oss.h.

#define OSS_IP_SOUND   0x0100

Definition at line 44 of file mac_oss.h.

#define OSS_IP_UNUSED1   0x1000

Definition at line 48 of file mac_oss.h.

#define OSS_IP_UNUSED2   0x2000

Definition at line 49 of file mac_oss.h.

#define OSS_IP_UNUSED3   0x8000

Definition at line 51 of file mac_oss.h.

#define OSS_IP_VIA1   0x0800

Definition at line 47 of file mac_oss.h.

#define OSS_NUBUS0   0

Definition at line 13 of file mac_oss.h.

#define OSS_NUBUS1   1

Definition at line 14 of file mac_oss.h.

#define OSS_NUBUS2   2

Definition at line 15 of file mac_oss.h.

#define OSS_NUBUS3   3

Definition at line 16 of file mac_oss.h.

#define OSS_NUBUS4   4

Definition at line 17 of file mac_oss.h.

#define OSS_NUBUS5   5

Definition at line 18 of file mac_oss.h.

#define OSS_NUM_SOURCES   16

Definition at line 30 of file mac_oss.h.

#define OSS_PARITY   14

Definition at line 27 of file mac_oss.h.

#define OSS_POWEROFF   0x80

Definition at line 59 of file mac_oss.h.

#define OSS_SCSI   9

Definition at line 22 of file mac_oss.h.

#define OSS_SOUND   8

Definition at line 21 of file mac_oss.h.

#define OSS_UNUSED1   12

Definition at line 25 of file mac_oss.h.

#define OSS_UNUSED2   13

Definition at line 26 of file mac_oss.h.

#define OSS_UNUSED3   15

Definition at line 28 of file mac_oss.h.

#define OSS_VIA1   11

Definition at line 24 of file mac_oss.h.

Function Documentation

void oss_irq_disable ( int  )

Definition at line 201 of file oss.c.

void oss_irq_enable ( int  )

Definition at line 165 of file oss.c.

void oss_register_interrupts ( void  )

Definition at line 144 of file oss.c.

Variable Documentation

Definition at line 31 of file oss.c.

int oss_present

Definition at line 30 of file oss.c.