diff options
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/nvme.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/ic/nvme.c b/sys/dev/ic/nvme.c index a8ef3559af2..566ef386261 100644 --- a/sys/dev/ic/nvme.c +++ b/sys/dev/ic/nvme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nvme.c,v 1.28 2016/04/13 13:05:10 dlg Exp $ */ +/* $OpenBSD: nvme.c,v 1.29 2016/04/13 13:09:36 dlg Exp $ */ /* * Copyright (c) 2014 David Gwynne <dlg@openbsd.org> @@ -425,6 +425,13 @@ nvme_scsi_cmd(struct scsi_xfer *xs) nvme_scsi_capacity(xs); return; + case TEST_UNIT_READY: + case PREVENT_ALLOW: + case START_STOP: + xs->error = XS_NOERROR; + scsi_done(xs); + return; + default: break; } |