Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
malta.h File Reference
#include <asm/addrspace.h>
#include <asm/io.h>
#include <asm/mips-boards/msc01_pci.h>
#include <asm/gt64120.h>

Go to the source code of this file.

Macros

#define MIPS_MSC01_IC_REG_BASE   0x1bc40000
 
#define MIPS_SOCITSC_IC_REG_BASE   0x1ffa0000
 
#define MALTA_GT_PORT_BASE   get_gt_port_base(GT_PCI0IOLD_OFS)
 
#define MALTA_BONITO_PORT_BASE   ((unsigned long)ioremap (0x1fd00000, 0x10000))
 
#define MALTA_MSC_PORT_BASE   get_msc_port_base(MSC01_PCI_SC2PIOBASL)
 
#define GCMP_BASE_ADDR   0x1fbf8000
 
#define GCMP_ADDRSPACE_SZ   (256 * 1024)
 
#define GIC_BASE_ADDR   0x1bdc0000
 
#define GIC_ADDRSPACE_SZ   (128 * 1024)
 
#define MSC01_BIU_REG_BASE   0x1bc80000
 
#define MSC01_BIU_ADDRSPACE_SZ   (256 * 1024)
 
#define MSC01_SC_CFG_OFS   0x0110
 
#define MSC01_SC_CFG_GICPRES_MSK   0x00000004
 
#define MSC01_SC_CFG_GICPRES_SHF   2
 
#define MSC01_SC_CFG_GICENA_SHF   3
 
#define MALTA_RTC_ADR_REG   0x70
 
#define MALTA_RTC_DAT_REG   0x71
 
#define SMSC_CONFIG_REG   0x3f0
 
#define SMSC_DATA_REG   0x3f1
 
#define SMSC_CONFIG_DEVNUM   0x7
 
#define SMSC_CONFIG_ACTIVATE   0x30
 
#define SMSC_CONFIG_ENTER   0x55
 
#define SMSC_CONFIG_EXIT   0xaa
 
#define SMSC_CONFIG_DEVNUM_FLOPPY   0
 
#define SMSC_CONFIG_ACTIVATE_ENABLE   1
 
#define SMSC_WRITE(x, a)   outb(x, a)
 
#define MALTA_JMPRS_REG   0x1f000210
 

Macro Definition Documentation

#define GCMP_ADDRSPACE_SZ   (256 * 1024)

Definition at line 58 of file malta.h.

#define GCMP_BASE_ADDR   0x1fbf8000

Definition at line 57 of file malta.h.

#define GIC_ADDRSPACE_SZ   (128 * 1024)

Definition at line 64 of file malta.h.

#define GIC_BASE_ADDR   0x1bdc0000

Definition at line 63 of file malta.h.

#define MALTA_BONITO_PORT_BASE   ((unsigned long)ioremap (0x1fd00000, 0x10000))

Definition at line 37 of file malta.h.

#define MALTA_GT_PORT_BASE   get_gt_port_base(GT_PCI0IOLD_OFS)

Definition at line 36 of file malta.h.

#define MALTA_JMPRS_REG   0x1f000210

Definition at line 100 of file malta.h.

#define MALTA_MSC_PORT_BASE   get_msc_port_base(MSC01_PCI_SC2PIOBASL)

Definition at line 38 of file malta.h.

#define MALTA_RTC_ADR_REG   0x70

Definition at line 80 of file malta.h.

#define MALTA_RTC_DAT_REG   0x71

Definition at line 81 of file malta.h.

#define MIPS_MSC01_IC_REG_BASE   0x1bc40000

Definition at line 29 of file malta.h.

#define MIPS_SOCITSC_IC_REG_BASE   0x1ffa0000

Definition at line 30 of file malta.h.

#define MSC01_BIU_ADDRSPACE_SZ   (256 * 1024)

Definition at line 71 of file malta.h.

#define MSC01_BIU_REG_BASE   0x1bc80000

Definition at line 70 of file malta.h.

#define MSC01_SC_CFG_GICENA_SHF   3

Definition at line 75 of file malta.h.

#define MSC01_SC_CFG_GICPRES_MSK   0x00000004

Definition at line 73 of file malta.h.

#define MSC01_SC_CFG_GICPRES_SHF   2

Definition at line 74 of file malta.h.

#define MSC01_SC_CFG_OFS   0x0110

Definition at line 72 of file malta.h.

#define SMSC_CONFIG_ACTIVATE   0x30

Definition at line 90 of file malta.h.

#define SMSC_CONFIG_ACTIVATE_ENABLE   1

Definition at line 96 of file malta.h.

#define SMSC_CONFIG_DEVNUM   0x7

Definition at line 89 of file malta.h.

#define SMSC_CONFIG_DEVNUM_FLOPPY   0

Definition at line 94 of file malta.h.

#define SMSC_CONFIG_ENTER   0x55

Definition at line 91 of file malta.h.

#define SMSC_CONFIG_EXIT   0xaa

Definition at line 92 of file malta.h.

#define SMSC_CONFIG_REG   0x3f0

Definition at line 86 of file malta.h.

#define SMSC_DATA_REG   0x3f1

Definition at line 87 of file malta.h.

#define SMSC_WRITE (   x,
  a 
)    outb(x, a)

Definition at line 98 of file malta.h.