Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/nvme/nvme_private.h
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | |||||
#define NVME_MAX_TIMEOUT_PERIOD (120) | #define NVME_MAX_TIMEOUT_PERIOD (120) | ||||
#define NVME_DEFAULT_RETRY_COUNT (4) | #define NVME_DEFAULT_RETRY_COUNT (4) | ||||
/* Maximum log page size to fetch for AERs. */ | /* Maximum log page size to fetch for AERs. */ | ||||
#define NVME_MAX_AER_LOG_SIZE (4096) | #define NVME_MAX_AER_LOG_SIZE (4096) | ||||
/* | /* | ||||
* Page size parameters | |||||
*/ | |||||
#define NVME_BASE_SHIFT 12 /* Several parameters (MSP) are 2^(12+x) */ | |||||
/* | |||||
* Define CACHE_LINE_SIZE here for older FreeBSD versions that do not define | * Define CACHE_LINE_SIZE here for older FreeBSD versions that do not define | ||||
* it. | * it. | ||||
*/ | */ | ||||
#ifndef CACHE_LINE_SIZE | #ifndef CACHE_LINE_SIZE | ||||
#define CACHE_LINE_SIZE (64) | #define CACHE_LINE_SIZE (64) | ||||
#endif | #endif | ||||
#define NVME_GONE 0xfffffffful | #define NVME_GONE 0xfffffffful | ||||
▲ Show 20 Lines • Show All 480 Lines • Show Last 20 Lines |