Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/device.h>
#include <linux/platform_device.h>
#include <linux/mv643xx.h>
#include <linux/pci.h>
Go to the source code of this file.
Macros | |
#define | PEGASOS2_MARVELL_REGBASE (0xf1000000) |
#define | PEGASOS2_MARVELL_REGSIZE (0x00004000) |
#define | PEGASOS2_SRAM_BASE (0xf2000000) |
#define | PEGASOS2_SRAM_SIZE (256*1024) |
#define | PEGASOS2_SRAM_BASE_ETH_PORT0 (PEGASOS2_SRAM_BASE) |
#define | PEGASOS2_SRAM_BASE_ETH_PORT1 (PEGASOS2_SRAM_BASE_ETH_PORT0 + (PEGASOS2_SRAM_SIZE / 2) ) |
#define | PEGASOS2_SRAM_RXRING_SIZE (PEGASOS2_SRAM_SIZE/4) |
#define | PEGASOS2_SRAM_TXRING_SIZE (PEGASOS2_SRAM_SIZE/4) |
#define | MV_READ(offset, val) { val = readl(mv643xx_reg_base + offset); } |
#define | MV_WRITE(offset, data) writel(data, mv643xx_reg_base + offset) |
Functions | |
device_initcall (mv643xx_eth_add_pds) | |
Definition at line 90 of file pegasos_eth.c.
Definition at line 91 of file pegasos_eth.c.
#define PEGASOS2_MARVELL_REGBASE (0xf1000000) |
Definition at line 19 of file pegasos_eth.c.
#define PEGASOS2_MARVELL_REGSIZE (0x00004000) |
Definition at line 20 of file pegasos_eth.c.
#define PEGASOS2_SRAM_BASE (0xf2000000) |
Definition at line 21 of file pegasos_eth.c.
#define PEGASOS2_SRAM_BASE_ETH_PORT0 (PEGASOS2_SRAM_BASE) |
Definition at line 24 of file pegasos_eth.c.
#define PEGASOS2_SRAM_BASE_ETH_PORT1 (PEGASOS2_SRAM_BASE_ETH_PORT0 + (PEGASOS2_SRAM_SIZE / 2) ) |
Definition at line 25 of file pegasos_eth.c.
#define PEGASOS2_SRAM_RXRING_SIZE (PEGASOS2_SRAM_SIZE/4) |
Definition at line 28 of file pegasos_eth.c.
#define PEGASOS2_SRAM_SIZE (256*1024) |
Definition at line 22 of file pegasos_eth.c.
#define PEGASOS2_SRAM_TXRING_SIZE (PEGASOS2_SRAM_SIZE/4) |
Definition at line 29 of file pegasos_eth.c.
device_initcall | ( | mv643xx_eth_add_pds | ) |