|
@@ -208,7 +208,8 @@ struct nvme_ns {
|
|
|
struct nvme_ctrl_ops {
|
|
struct nvme_ctrl_ops {
|
|
|
const char *name;
|
|
const char *name;
|
|
|
struct module *module;
|
|
struct module *module;
|
|
|
- bool is_fabrics;
|
|
|
|
|
|
|
+ unsigned int flags;
|
|
|
|
|
+#define NVME_F_FABRICS (1 << 0)
|
|
|
int (*reg_read32)(struct nvme_ctrl *ctrl, u32 off, u32 *val);
|
|
int (*reg_read32)(struct nvme_ctrl *ctrl, u32 off, u32 *val);
|
|
|
int (*reg_write32)(struct nvme_ctrl *ctrl, u32 off, u32 val);
|
|
int (*reg_write32)(struct nvme_ctrl *ctrl, u32 off, u32 val);
|
|
|
int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val);
|
|
int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val);
|