Linux Kernel
3.7.1
|
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include "mlx4.h"
Go to the source code of this file.
Macros | |
#define | MLX4_RESET_BASE 0xf0000 |
#define | MLX4_RESET_SIZE 0x400 |
#define | MLX4_SEM_OFFSET 0x3fc |
#define | MLX4_RESET_OFFSET 0x10 |
#define | MLX4_RESET_VALUE swab32(1) |
#define | MLX4_SEM_TIMEOUT_JIFFIES (10 * HZ) |
#define | MLX4_RESET_TIMEOUT_JIFFIES (2 * HZ) |
Functions | |
int | mlx4_reset (struct mlx4_dev *dev) |
#define MLX4_RESET_BASE 0xf0000 |
#define MLX4_RESET_OFFSET 0x10 |
#define MLX4_RESET_SIZE 0x400 |
#define MLX4_RESET_TIMEOUT_JIFFIES (2 * HZ) |
#define MLX4_RESET_VALUE swab32(1) |
#define MLX4_SEM_OFFSET 0x3fc |
#define MLX4_SEM_TIMEOUT_JIFFIES (10 * HZ) |