Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/mpi3mr/mpi3mr.h
Show First 20 Lines • Show All 225 Lines • ▼ Show 20 Lines | |||||
#define MPI3MR_DEFAULT_PGSZEXP (12) | #define MPI3MR_DEFAULT_PGSZEXP (12) | ||||
#define MPI3MR_MAX_IOCTL_TRANSFER_SIZE (1024 * 1024) | #define MPI3MR_MAX_IOCTL_TRANSFER_SIZE (1024 * 1024) | ||||
#define MPI3MR_DEVRMHS_RETRYCOUNT 3 | #define MPI3MR_DEVRMHS_RETRYCOUNT 3 | ||||
#define MPI3MR_PELCMDS_RETRYCOUNT 3 | #define MPI3MR_PELCMDS_RETRYCOUNT 3 | ||||
#define MPI3MR_PERIODIC_DELAY 1 /* 1 second heartbeat/watchdog check */ | #define MPI3MR_PERIODIC_DELAY 1 /* 1 second heartbeat/watchdog check */ | ||||
#define WRITE_SAME_32 0x0d | |||||
struct completion { | struct completion { | ||||
unsigned int done; | unsigned int done; | ||||
struct mtx lock; | struct mtx lock; | ||||
}; | }; | ||||
typedef union { | typedef union { | ||||
volatile unsigned int val; | volatile unsigned int val; | ||||
unsigned int val_rdonly; | unsigned int val_rdonly; | ||||
▲ Show 20 Lines • Show All 750 Lines • Show Last 20 Lines |