Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
malta-platform.c File Reference
#include <linux/init.h>
#include <linux/serial_8250.h>
#include <linux/mc146818rtc.h>
#include <linux/module.h>
#include <linux/irq.h>
#include <linux/mtd/partitions.h>
#include <linux/mtd/physmap.h>
#include <linux/platform_device.h>
#include <asm/mips-boards/maltaint.h>
#include <mtd/mtd-abi.h>

Go to the source code of this file.

Macros

#define SMC_PORT(base, int)
 
#define CBUS_UART_FLAGS   (UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP)
 

Functions

 device_initcall (malta_add_devices)
 

Variables

struct resource malta_rtc_resources []
 

Macro Definition Documentation

#define CBUS_UART_FLAGS   (UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_IOREMAP)

Definition at line 45 of file malta-platform.c.

#define SMC_PORT (   base,
  int 
)
Value:
{ \
.iobase = base, \
.irq = int, \
.uartclk = 1843200, \
.iotype = UPIO_PORT, \
.regshift = 0, \
}

Definition at line 35 of file malta-platform.c.

Function Documentation

device_initcall ( malta_add_devices  )

Variable Documentation

struct resource malta_rtc_resources[]
Initial value:
= {
{
.start = RTC_PORT(0),
.end = RTC_PORT(7),
.flags = IORESOURCE_IO,
}, {
.start = RTC_IRQ,
.end = RTC_IRQ,
.flags = IORESOURCE_IRQ,
}
}

Definition at line 69 of file malta-platform.c.