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

Go to the source code of this file.

Macros

#define KN01_SLOT_BASE   0x10000000
 
#define KN01_SLOT_SIZE   0x01000000
 
#define KN01_PMASK   (0*KN01_SLOT_SIZE) /* color plane mask */
 
#define KN01_PCC   (1*KN01_SLOT_SIZE) /* PCC (DC503) cursor */
 
#define KN01_VDAC   (2*KN01_SLOT_SIZE) /* color map */
 
#define KN01_RES_3   (3*KN01_SLOT_SIZE) /* unused */
 
#define KN01_RES_4   (4*KN01_SLOT_SIZE) /* unused */
 
#define KN01_RES_5   (5*KN01_SLOT_SIZE) /* unused */
 
#define KN01_RES_6   (6*KN01_SLOT_SIZE) /* unused */
 
#define KN01_ERRADDR   (7*KN01_SLOT_SIZE) /* write error address */
 
#define KN01_LANCE   (8*KN01_SLOT_SIZE) /* LANCE (Am7990) Ethernet */
 
#define KN01_LANCE_MEM   (9*KN01_SLOT_SIZE) /* LANCE buffer memory */
 
#define KN01_SII   (10*KN01_SLOT_SIZE) /* SII (DC7061) SCSI */
 
#define KN01_SII_MEM   (11*KN01_SLOT_SIZE) /* SII buffer memory */
 
#define KN01_DZ11   (12*KN01_SLOT_SIZE) /* DZ11 (DC7085) serial */
 
#define KN01_RTC   (13*KN01_SLOT_SIZE) /* DS1287 RTC (bytes #0) */
 
#define KN01_ESAR   (13*KN01_SLOT_SIZE) /* MAC address (bytes #1) */
 
#define KN01_CSR   (14*KN01_SLOT_SIZE) /* system ctrl & status reg */
 
#define KN01_SYS_ROM   (15*KN01_SLOT_SIZE) /* system board ROM */
 
#define KN01_VFB_MEM   0x0fc00000
 
#define KN01_CPU_INR_BUS   6 /* memory, I/O bus read/write errors */
 
#define KN01_CPU_INR_VIDEO   6 /* PCC area detect #2 */
 
#define KN01_CPU_INR_RTC   5 /* DS1287 RTC */
 
#define KN01_CPU_INR_DZ11   4 /* DZ11 (DC7085) serial */
 
#define KN01_CPU_INR_LANCE   3 /* LANCE (Am7990) Ethernet */
 
#define KN01_CPU_INR_SII   2 /* SII (DC7061) SCSI */
 
#define KN01_CSR_MNFMOD   (1<<15) /* MNFMOD manufacturing jumper */
 
#define KN01_CSR_STATUS   (1<<14) /* self-test result status output */
 
#define KN01_CSR_PARDIS   (1<<13) /* parity error disable */
 
#define KN01_CSR_CRSRTST   (1<<12) /* PCC test output */
 
#define KN01_CSR_MONO   (1<<11) /* mono/color fb SIMM installed */
 
#define KN01_CSR_MEMERR   (1<<10) /* write timeout error status & ack*/
 
#define KN01_CSR_VINT   (1<<9) /* PCC area detect #2 status & ack */
 
#define KN01_CSR_TXDIS   (1<<8) /* DZ11 transmit disable */
 
#define KN01_CSR_VBGTRG   (1<<2) /* blue DAC voltage over green (r/o) */
 
#define KN01_CSR_VRGTRG   (1<<1) /* red DAC voltage over green (r/o) */
 
#define KN01_CSR_VRGTRB   (1<<0) /* red DAC voltage over blue (r/o) */
 
#define KN01_CSR_LEDS   (0xff<<0) /* ~diagnostic LEDs (w/o) */
 

Functions

void dec_kn01_be_init (void)
 
int dec_kn01_be_handler (struct pt_regs *regs, int is_fixup)
 
irqreturn_t dec_kn01_be_interrupt (int irq, void *dev_id)
 

Variables

u16 cached_kn01_csr
 

Macro Definition Documentation

#define KN01_CPU_INR_BUS   6 /* memory, I/O bus read/write errors */

Definition at line 49 of file kn01.h.

#define KN01_CPU_INR_DZ11   4 /* DZ11 (DC7085) serial */

Definition at line 52 of file kn01.h.

#define KN01_CPU_INR_LANCE   3 /* LANCE (Am7990) Ethernet */

Definition at line 53 of file kn01.h.

#define KN01_CPU_INR_RTC   5 /* DS1287 RTC */

Definition at line 51 of file kn01.h.

#define KN01_CPU_INR_SII   2 /* SII (DC7061) SCSI */

Definition at line 54 of file kn01.h.

#define KN01_CPU_INR_VIDEO   6 /* PCC area detect #2 */

Definition at line 50 of file kn01.h.

#define KN01_CSR   (14*KN01_SLOT_SIZE) /* system ctrl & status reg */

Definition at line 37 of file kn01.h.

#define KN01_CSR_CRSRTST   (1<<12) /* PCC test output */

Definition at line 63 of file kn01.h.

#define KN01_CSR_LEDS   (0xff<<0) /* ~diagnostic LEDs (w/o) */

Definition at line 71 of file kn01.h.

#define KN01_CSR_MEMERR   (1<<10) /* write timeout error status & ack*/

Definition at line 65 of file kn01.h.

#define KN01_CSR_MNFMOD   (1<<15) /* MNFMOD manufacturing jumper */

Definition at line 60 of file kn01.h.

#define KN01_CSR_MONO   (1<<11) /* mono/color fb SIMM installed */

Definition at line 64 of file kn01.h.

#define KN01_CSR_PARDIS   (1<<13) /* parity error disable */

Definition at line 62 of file kn01.h.

#define KN01_CSR_STATUS   (1<<14) /* self-test result status output */

Definition at line 61 of file kn01.h.

#define KN01_CSR_TXDIS   (1<<8) /* DZ11 transmit disable */

Definition at line 67 of file kn01.h.

#define KN01_CSR_VBGTRG   (1<<2) /* blue DAC voltage over green (r/o) */

Definition at line 68 of file kn01.h.

#define KN01_CSR_VINT   (1<<9) /* PCC area detect #2 status & ack */

Definition at line 66 of file kn01.h.

#define KN01_CSR_VRGTRB   (1<<0) /* red DAC voltage over blue (r/o) */

Definition at line 70 of file kn01.h.

#define KN01_CSR_VRGTRG   (1<<1) /* red DAC voltage over green (r/o) */

Definition at line 69 of file kn01.h.

#define KN01_DZ11   (12*KN01_SLOT_SIZE) /* DZ11 (DC7085) serial */

Definition at line 34 of file kn01.h.

#define KN01_ERRADDR   (7*KN01_SLOT_SIZE) /* write error address */

Definition at line 29 of file kn01.h.

#define KN01_ESAR   (13*KN01_SLOT_SIZE) /* MAC address (bytes #1) */

Definition at line 36 of file kn01.h.

#define KN01_LANCE   (8*KN01_SLOT_SIZE) /* LANCE (Am7990) Ethernet */

Definition at line 30 of file kn01.h.

#define KN01_LANCE_MEM   (9*KN01_SLOT_SIZE) /* LANCE buffer memory */

Definition at line 31 of file kn01.h.

#define KN01_PCC   (1*KN01_SLOT_SIZE) /* PCC (DC503) cursor */

Definition at line 23 of file kn01.h.

#define KN01_PMASK   (0*KN01_SLOT_SIZE) /* color plane mask */

Definition at line 22 of file kn01.h.

#define KN01_RES_3   (3*KN01_SLOT_SIZE) /* unused */

Definition at line 25 of file kn01.h.

#define KN01_RES_4   (4*KN01_SLOT_SIZE) /* unused */

Definition at line 26 of file kn01.h.

#define KN01_RES_5   (5*KN01_SLOT_SIZE) /* unused */

Definition at line 27 of file kn01.h.

#define KN01_RES_6   (6*KN01_SLOT_SIZE) /* unused */

Definition at line 28 of file kn01.h.

#define KN01_RTC   (13*KN01_SLOT_SIZE) /* DS1287 RTC (bytes #0) */

Definition at line 35 of file kn01.h.

#define KN01_SII   (10*KN01_SLOT_SIZE) /* SII (DC7061) SCSI */

Definition at line 32 of file kn01.h.

#define KN01_SII_MEM   (11*KN01_SLOT_SIZE) /* SII buffer memory */

Definition at line 33 of file kn01.h.

#define KN01_SLOT_BASE   0x10000000

Definition at line 16 of file kn01.h.

#define KN01_SLOT_SIZE   0x01000000

Definition at line 17 of file kn01.h.

#define KN01_SYS_ROM   (15*KN01_SLOT_SIZE) /* system board ROM */

Definition at line 38 of file kn01.h.

#define KN01_VDAC   (2*KN01_SLOT_SIZE) /* color map */

Definition at line 24 of file kn01.h.

#define KN01_VFB_MEM   0x0fc00000

Definition at line 44 of file kn01.h.

Function Documentation

int dec_kn01_be_handler ( struct pt_regs regs,
int  is_fixup 
)

Definition at line 147 of file kn01-berr.c.

void dec_kn01_be_init ( void  )

Definition at line 179 of file kn01-berr.c.

irqreturn_t dec_kn01_be_interrupt ( int  irq,
void dev_id 
)

Definition at line 152 of file kn01-berr.c.

Variable Documentation

u16 cached_kn01_csr

Definition at line 47 of file kn01-berr.c.