From be99bbff684b77e6579754318bced0219fccb29b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 2 Jan 2011 00:35:24 +0000 Subject: Declare ourselves to be a virtual disk server during the version negotiation phase. Gets us past the version negotiation against an OpenSolaris virtual disk client. --- sys/arch/sparc64/dev/vdsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/sparc64/dev/vdsp.c b/sys/arch/sparc64/dev/vdsp.c index ff7cbb5f4fd..0cb3922b5a9 100644 --- a/sys/arch/sparc64/dev/vdsp.c +++ b/sys/arch/sparc64/dev/vdsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vdsp.c,v 1.2 2010/04/20 23:26:59 deraadt Exp $ */ +/* $OpenBSD: vdsp.c,v 1.3 2011/01/02 00:35:23 kettenis Exp $ */ /* * Copyright (c) 2009 Mark Kettenis * @@ -480,6 +480,7 @@ vdsp_rx_vio_ver_info(struct vdsp_softc *sc, struct vio_msg_tag *tag) vi->tag.stype = VIO_SUBTYPE_ACK; vi->tag.sid = sc->sc_local_sid; vi->minor = VDSK_MINOR; + vi->dev_class = VDEV_DISK_SERVER; vdsp_sendmsg(sc, vi, sizeof(*vi)); sc->sc_vio_state |= VIO_RCV_VER_INFO; break; -- cgit v1.2.3