diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-12-01 11:59:06 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-12-01 11:59:06 +0000 |
commit | 771ccfa2d8a678f3dded942dd44895d20ee92501 (patch) | |
tree | 8860158a06a25f74ce1be1e83c53441d8e81249f /sys/arch/sparc64 | |
parent | 00f0504bab0a5eee8bfc75f20ba8918283252fb8 (diff) |
Silently ignore VD_OP_GET_DEVID as Solaris uses it even though we don't
advertise it.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/vdsp.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/vdsp.c b/sys/arch/sparc64/dev/vdsp.c index 9db26fb9ad6..2b55a522284 100644 --- a/sys/arch/sparc64/dev/vdsp.c +++ b/sys/arch/sparc64/dev/vdsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vdsp.c,v 1.13 2012/10/26 20:57:08 kettenis Exp $ */ +/* $OpenBSD: vdsp.c,v 1.14 2012/12/01 11:59:05 kettenis Exp $ */ /* * Copyright (c) 2009, 2011 Mark Kettenis * @@ -750,6 +750,15 @@ vdsp_rx_vio_dring_data(struct vdsp_softc *sc, struct vio_msg_tag *tag) case VD_OP_GET_DISKGEOM: workq_add_task(NULL, 0, vdsp_get_diskgeom, sc, vd); break; + case VD_OP_GET_DEVID: + /* + * Solaris issues VD_OP_GET_DEVID despite the + * fact that we don't advertise it. It seems + * to be able to handle failure just fine, so + * we silently ignore it. + */ + workq_add_task(NULL, 0, vdsp_unimp, sc, vd); + break; default: printf("%s: unsupported operation 0x%02x\n", sc->sc_dv.dv_xname, vd->operation); |