summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-01-02 00:35:24 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-01-02 00:35:24 +0000
commitbe99bbff684b77e6579754318bced0219fccb29b (patch)
tree157a62a32d6881c1073287a1e867271fb02a2649 /sys/arch
parentf99ea09b92e8349424833078377778eac0fbb718 (diff)
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.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/dev/vdsp.c3
1 files changed, 2 insertions, 1 deletions
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;