Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/param.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <asm/io.h>
#include <asm/setup.h>
#include <asm/processor.h>
#include <asm/irq.h>
#include <asm/intctl-regs.h>
#include <asm/serial-regs.h>
#include <unit/fpga-regs.h>
#include <unit/serial.h>
#include <unit/smsc911x.h>
Go to the source code of this file.
Macros | |
#define | TTYS0_SERIAL_IER __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_IER * 2, u8) |
#define | LAN_IRQ_CFG __SYSREG(SMSC911X_BASE + 0x54, u32) |
#define | LAN_INT_EN __SYSREG(SMSC911X_BASE + 0x5c, u32) |
#define | IRQCTL __SYSREG(0xd5000090, u32) |
Functions | |
asmlinkage void __init | unit_init (void) |
asmlinkage void __init | unit_setup (void) |
void __init | unit_init_IRQ (void) |
#define IRQCTL __SYSREG(0xd5000090, u32) |
#define LAN_INT_EN __SYSREG(SMSC911X_BASE + 0x5c, u32) |
Definition at line 30 of file unit-init.c.
#define LAN_IRQ_CFG __SYSREG(SMSC911X_BASE + 0x54, u32) |
Definition at line 29 of file unit-init.c.
#define TTYS0_SERIAL_IER __SYSREG(SERIAL_PORT0_BASE_ADDRESS + UART_IER * 2, u8) |
Definition at line 28 of file unit-init.c.
asmlinkage void __init unit_init | ( | void | ) |
Definition at line 35 of file unit-init.c.
Definition at line 109 of file unit-init.c.
asmlinkage void __init unit_setup | ( | void | ) |
Definition at line 85 of file unit-init.c.