Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mach-ubnt-xm.c File Reference
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/ath9k_platform.h>
#include <asm/mach-ath79/irq.h>
#include "machtypes.h"
#include "dev-gpio-buttons.h"
#include "dev-leds-gpio.h"
#include "dev-spi.h"
#include "pci.h"

Go to the source code of this file.

Macros

#define UBNT_XM_GPIO_LED_L1   0
 
#define UBNT_XM_GPIO_LED_L2   1
 
#define UBNT_XM_GPIO_LED_L3   11
 
#define UBNT_XM_GPIO_LED_L4   7
 
#define UBNT_XM_GPIO_BTN_RESET   12
 
#define UBNT_XM_KEYS_POLL_INTERVAL   20
 
#define UBNT_XM_KEYS_DEBOUNCE_INTERVAL   (3 * UBNT_XM_KEYS_POLL_INTERVAL)
 
#define UBNT_XM_EEPROM_ADDR   (u8 *) KSEG1ADDR(0x1fff1000)
 

Functions

 MIPS_MACHINE (ATH79_MACH_UBNT_XM,"UBNT-XM","Ubiquiti Networks XM (rev 1.0) board", ubnt_xm_init)
 

Macro Definition Documentation

#define UBNT_XM_EEPROM_ADDR   (u8 *) KSEG1ADDR(0x1fff1000)

Definition at line 35 of file mach-ubnt-xm.c.

#define UBNT_XM_GPIO_BTN_RESET   12

Definition at line 30 of file mach-ubnt-xm.c.

#define UBNT_XM_GPIO_LED_L1   0

Definition at line 25 of file mach-ubnt-xm.c.

#define UBNT_XM_GPIO_LED_L2   1

Definition at line 26 of file mach-ubnt-xm.c.

#define UBNT_XM_GPIO_LED_L3   11

Definition at line 27 of file mach-ubnt-xm.c.

#define UBNT_XM_GPIO_LED_L4   7

Definition at line 28 of file mach-ubnt-xm.c.

#define UBNT_XM_KEYS_DEBOUNCE_INTERVAL   (3 * UBNT_XM_KEYS_POLL_INTERVAL)

Definition at line 33 of file mach-ubnt-xm.c.

#define UBNT_XM_KEYS_POLL_INTERVAL   20

Definition at line 32 of file mach-ubnt-xm.c.

Function Documentation

MIPS_MACHINE ( ATH79_MACH_UBNT_XM  ,
"UBNT-XM"  ,
"Ubiquiti Networks XM (rev 1.0) board ,
ubnt_xm_init   
)