diff options
author | jimharris <jimharris@FreeBSD.org> | 2013-08-13 21:47:08 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2013-08-13 21:47:08 +0000 |
commit | 3f846da35adcf59806a7022f25cc733b0feaa4a3 (patch) | |
tree | 5f492f298073eecaa0f7076f533d93c510e4ecc8 /sys/dev/nvme/nvme_private.h | |
parent | e3e0bd874e439a7ced10380adec12fa4ca4ec23e (diff) | |
download | FreeBSD-src-3f846da35adcf59806a7022f25cc733b0feaa4a3.zip FreeBSD-src-3f846da35adcf59806a7022f25cc733b0feaa4a3.tar.gz |
Send a shutdown notification in the driver unload path, to ensure
notification gets sent in cases where system shuts down with driver
unloaded.
Sponsored by: Intel
Reviewed by: carl
MFC after: 3 days
Diffstat (limited to 'sys/dev/nvme/nvme_private.h')
-rw-r--r-- | sys/dev/nvme/nvme_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h index 10643f2..f0f4453 100644 --- a/sys/dev/nvme/nvme_private.h +++ b/sys/dev/nvme/nvme_private.h @@ -433,6 +433,7 @@ void nvme_completion_poll_cb(void *arg, const struct nvme_completion *cpl); int nvme_ctrlr_construct(struct nvme_controller *ctrlr, device_t dev); void nvme_ctrlr_destruct(struct nvme_controller *ctrlr, device_t dev); +void nvme_ctrlr_shutdown(struct nvme_controller *ctrlr); int nvme_ctrlr_hw_reset(struct nvme_controller *ctrlr); void nvme_ctrlr_reset(struct nvme_controller *ctrlr); /* ctrlr defined as void * to allow use with config_intrhook. */ |