diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-01-02 00:35:24 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-01-02 00:35:24 +0000 |
commit | be99bbff684b77e6579754318bced0219fccb29b (patch) | |
tree | 157a62a32d6881c1073287a1e867271fb02a2649 /sys/arch | |
parent | f99ea09b92e8349424833078377778eac0fbb718 (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.c | 3 |
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; |