diff options
author | Hannes Reinecke <hare@suse.de> | 2018-05-22 11:09:55 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-06-01 14:37:35 +0200 |
commit | c0561f82a7b687050fa158930328b1b72559ffa8 (patch) | |
tree | b989aad12e63e7a218cf9550b7923c8bb2c9495c /drivers/nvme/host/nvme.h | |
parent | 55fdd6b6134fc91d4722149fa8e4f2df24c428fe (diff) | |
download | lwn-c0561f82a7b687050fa158930328b1b72559ffa8.tar.gz lwn-c0561f82a7b687050fa158930328b1b72559ffa8.zip |
nvme: submit AEN event configuration on startup
We should register for AEN events; some law-abiding targets might
not be sending us AENs otherwise.
Signed-off-by: Hannes Reinecke <hare@suse.com>
[hch: slight cleanups]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r-- | drivers/nvme/host/nvme.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index ec6e4acc4d48..dcf9e9592c1a 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -176,6 +176,7 @@ struct nvme_ctrl { u16 kas; u8 npss; u8 apsta; + u32 oaes; u32 aen_result; unsigned int shutdown_timeout; unsigned int kato; |