diff options
-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); |