summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/vdsk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sparc64/dev/vdsk.c b/sys/arch/sparc64/dev/vdsk.c
index 406e37c85d3..d3adc1e0faf 100644
--- a/sys/arch/sparc64/dev/vdsk.c
+++ b/sys/arch/sparc64/dev/vdsk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vdsk.c,v 1.27 2011/01/01 20:49:53 kettenis Exp $ */
+/* $OpenBSD: vdsk.c,v 1.28 2011/07/08 22:09:27 matthew Exp $ */
/*
* Copyright (c) 2009, 2011 Mark Kettenis
*
@@ -342,13 +342,13 @@ vdsk_attach(struct device *parent, struct device *self, void *aux)
sc->sc_link.adapter = &sc->sc_switch;
sc->sc_link.adapter_softc = self;
- sc->sc_link.adapter_buswidth = 2;
- sc->sc_link.luns = 1; /* XXX slices should be presented as luns? */
sc->sc_link.adapter_target = 2;
sc->sc_link.openings = sc->sc_vd->vd_nentries - 1;
bzero(&saa, sizeof(saa));
saa.saa_sc_link = &sc->sc_link;
+ saa.saa_targets = 2;
+ saa.saa_luns = 1; /* XXX slices should be presented as luns? */
config_found(self, &saa, scsiprint);
return;