diff options
author | jimharris <jimharris@FreeBSD.org> | 2014-05-07 17:18:51 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2014-05-07 17:18:51 +0000 |
commit | a9f66916988fc93f3b468135d6fbe27401de0b6f (patch) | |
tree | 660969cb55a61ac17c60f4938fd371080100c39b /sys/dev/nvme/nvme_private.h | |
parent | 4577290c4a538becd123371f40efe60923795360 (diff) | |
download | FreeBSD-src-a9f66916988fc93f3b468135d6fbe27401de0b6f.zip FreeBSD-src-a9f66916988fc93f3b468135d6fbe27401de0b6f.tar.gz |
MFC r263310:
nvme: Close hole where nvd(4) would not be notified of all nvme(4)
instances if modules loaded during boot.
Diffstat (limited to 'sys/dev/nvme/nvme_private.h')
-rw-r--r-- | sys/dev/nvme/nvme_private.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h index f6bd041..b7201c0 100644 --- a/sys/dev/nvme/nvme_private.h +++ b/sys/dev/nvme/nvme_private.h @@ -1,5 +1,5 @@ /*- - * Copyright (C) 2012-2013 Intel Corporation + * Copyright (C) 2012-2014 Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -330,7 +330,9 @@ struct nvme_controller { void *cons_cookie[NVME_MAX_CONSUMERS]; - uint32_t is_resetting; + uint32_t is_resetting; + uint32_t is_initialized; + uint32_t notification_sent; boolean_t is_failed; STAILQ_HEAD(, nvme_request) fail_req; @@ -556,5 +558,6 @@ void nvme_notify_async_consumers(struct nvme_controller *ctrlr, uint32_t log_page_id, void *log_page_buffer, uint32_t log_page_size); void nvme_notify_fail_consumers(struct nvme_controller *ctrlr); +void nvme_notify_new_controller(struct nvme_controller *ctrlr); #endif /* __NVME_PRIVATE_H__ */ |