summaryrefslogtreecommitdiff
path: root/sys/dev/pv/xbf.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-01-26 00:53:32 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-01-26 00:53:32 +0000
commit539f80d2dc71ca492f3c90298526e2482443dbed (patch)
treed69befec7318862769d0e26a15a07f0b3f12faeb /sys/dev/pv/xbf.c
parent37307b90f665790032b03f409958d149bcf9ca38 (diff)
Shuffle some names around to make reading the code less headache
inducing. Rename scsi_adapter member 'scsi_minphys' to 'dev_minphys' to reflect what it is supposed to do. Use consistent naming convention (<dev>_minphys) for the actual device functions. No functional change.
Diffstat (limited to 'sys/dev/pv/xbf.c')
-rw-r--r--sys/dev/pv/xbf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/xbf.c b/sys/dev/pv/xbf.c
index 07c7063de11..0c1950ff2cf 100644
--- a/sys/dev/pv/xbf.c
+++ b/sys/dev/pv/xbf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xbf.c,v 1.33 2020/01/22 02:02:31 cheloha Exp $ */
+/* $OpenBSD: xbf.c,v 1.34 2020/01/26 00:53:31 krw Exp $ */
/*
* Copyright (c) 2016, 2017 Mike Belopuhov
@@ -299,7 +299,7 @@ xbf_attach(struct device *parent, struct device *self, void *aux)
}
sc->sc_switch.scsi_cmd = xbf_scsi_cmd;
- sc->sc_switch.scsi_minphys = scsi_minphys;
+ sc->sc_switch.dev_minphys = scsi_minphys;
sc->sc_switch.dev_probe = xbf_dev_probe;
sc->sc_link.adapter = &sc->sc_switch;