summaryrefslogtreecommitdiff
path: root/sys/dev/pv/xbf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pv/xbf.c')
-rw-r--r--sys/dev/pv/xbf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pv/xbf.c b/sys/dev/pv/xbf.c
index 53c06ef7545..f47533afd3f 100644
--- a/sys/dev/pv/xbf.c
+++ b/sys/dev/pv/xbf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xbf.c,v 1.42 2020/07/19 18:57:58 krw Exp $ */
+/* $OpenBSD: xbf.c,v 1.43 2020/07/20 14:41:14 krw Exp $ */
/*
* Copyright (c) 2016, 2017 Mike Belopuhov
@@ -300,15 +300,15 @@ xbf_attach(struct device *parent, struct device *self, void *aux)
goto error;
}
- sc->sc_link.openings = sc->sc_nccb;
- sc->sc_link.pool = &sc->sc_iopool;
-
- saa.saa_sc_link = &sc->sc_link;
saa.saa_adapter = &xbf_switch;
saa.saa_adapter_softc = self;
saa.saa_adapter_buswidth = 1;
saa.saa_luns = 1;
saa.saa_adapter_target = SDEV_NO_ADAPTER_TARGET;
+ saa.saa_openings = sc->sc_nccb;
+ saa.saa_pool = &sc->sc_iopool;
+ saa.saa_quirks = saa.saa_flags = 0;
+ saa.saa_wwpn = saa.saa_wwnn = 0;
sc->sc_scsibus = config_found(self, &saa, scsiprint);