diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/sun4v/io/vds.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/usr/src/uts/sun4v/io/vds.c b/usr/src/uts/sun4v/io/vds.c index b78dcb6b1d..548fc0f048 100644 --- a/usr/src/uts/sun4v/io/vds.c +++ b/usr/src/uts/sun4v/io/vds.c @@ -6530,9 +6530,13 @@ vd_setup_vd(vd_t *vd) ddi_release_devi(dip); VN_RELE(vnp); - if (vd_identify_dev(vd, &drv_type) != 0) { - PRN("%s identification failed", path); - status = EIO; + if ((status = vd_identify_dev(vd, &drv_type)) != 0) { + if (status != ENODEV && status != ENXIO && + status != ENOENT && status != EROFS) { + PRN("%s identification failed with status %d", + path, status); + status = EIO; + } break; } |