Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
nas100d-setup.c File Reference
#include <linux/gpio.h>
#include <linux/if_ether.h>
#include <linux/irq.h>
#include <linux/jiffies.h>
#include <linux/timer.h>
#include <linux/serial.h>
#include <linux/serial_8250.h>
#include <linux/leds.h>
#include <linux/reboot.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>
#include <linux/io.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/flash.h>

Go to the source code of this file.

Macros

#define NAS100D_SDA_PIN   5
 
#define NAS100D_SCL_PIN   6
 
#define NAS100D_PB_GPIO   14 /* power button */
 
#define NAS100D_RB_GPIO   4 /* reset button */
 
#define NAS100D_PO_GPIO   12 /* power off */
 
#define NAS100D_LED_WLAN_GPIO   0
 
#define NAS100D_LED_DISK_GPIO   3
 
#define NAS100D_LED_PWR_GPIO   15
 
#define PBUTTON_HOLDDOWN_COUNT   4 /* 2 secs */
 

Variables

 atag_offset = 0x100
 
 map_io = ixp4xx_map_io
 
 init_early = ixp4xx_init_early
 
 init_irq = ixp4xx_init_irq
 
 timer = &ixp4xx_timer
 
 init_machine = nas100d_init
 
 restart = ixp4xx_restart
 

Macro Definition Documentation

#define NAS100D_LED_DISK_GPIO   3

Definition at line 48 of file nas100d-setup.c.

#define NAS100D_LED_PWR_GPIO   15

Definition at line 49 of file nas100d-setup.c.

#define NAS100D_LED_WLAN_GPIO   0

Definition at line 47 of file nas100d-setup.c.

#define NAS100D_PB_GPIO   14 /* power button */

Definition at line 40 of file nas100d-setup.c.

#define NAS100D_PO_GPIO   12 /* power off */

Definition at line 44 of file nas100d-setup.c.

#define NAS100D_RB_GPIO   4 /* reset button */

Definition at line 41 of file nas100d-setup.c.

#define NAS100D_SCL_PIN   6

Definition at line 37 of file nas100d-setup.c.

#define NAS100D_SDA_PIN   5

Definition at line 36 of file nas100d-setup.c.

#define PBUTTON_HOLDDOWN_COUNT   4 /* 2 secs */

Definition at line 200 of file nas100d-setup.c.

Variable Documentation

atag_offset = 0x100

Definition at line 316 of file nas100d-setup.c.

init_early = ixp4xx_init_early

Definition at line 318 of file nas100d-setup.c.

init_irq = ixp4xx_init_irq

Definition at line 319 of file nas100d-setup.c.

init_machine = nas100d_init

Definition at line 321 of file nas100d-setup.c.

map_io = ixp4xx_map_io

Definition at line 317 of file nas100d-setup.c.

restart = ixp4xx_restart

Definition at line 325 of file nas100d-setup.c.

Definition at line 320 of file nas100d-setup.c.