Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
tsx09-common.c File Reference
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/mv643xx_eth.h>
#include <linux/timex.h>
#include <linux/serial_reg.h>
#include <mach/orion5x.h>
#include "tsx09-common.h"
#include "common.h"

Go to the source code of this file.

Macros

#define UART1_REG(x)   (UART1_VIRT_BASE + ((UART_##x) << 2))
 

Functions

void qnap_tsx09_power_off (void)
 
void __init qnap_tsx09_find_mac_addr (u32 mem_base, u32 size)
 

Variables

struct mv643xx_eth_platform_data qnap_tsx09_eth_data
 

Macro Definition Documentation

#define UART1_REG (   x)    (UART1_VIRT_BASE + ((UART_##x) << 2))

Definition at line 26 of file tsx09-common.c.

Function Documentation

void __init qnap_tsx09_find_mac_addr ( u32  mem_base,
u32  size 
)

Definition at line 118 of file tsx09-common.c.

void qnap_tsx09_power_off ( void  )

Definition at line 28 of file tsx09-common.c.

Variable Documentation

struct mv643xx_eth_platform_data qnap_tsx09_eth_data
Initial value:
= {
.phy_addr = MV643XX_ETH_PHY_ADDR(8),
}

Definition at line 52 of file tsx09-common.c.