diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-01-26 00:53:32 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-01-26 00:53:32 +0000 |
commit | 539f80d2dc71ca492f3c90298526e2482443dbed (patch) | |
tree | d69befec7318862769d0e26a15a07f0b3f12faeb /sys/arch/sparc64/dev | |
parent | 37307b90f665790032b03f409958d149bcf9ca38 (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/arch/sparc64/dev')
-rw-r--r-- | sys/arch/sparc64/dev/vdsk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/vdsk.c b/sys/arch/sparc64/dev/vdsk.c index f3670e51cc1..6e423f63710 100644 --- a/sys/arch/sparc64/dev/vdsk.c +++ b/sys/arch/sparc64/dev/vdsk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vdsk.c,v 1.49 2018/01/17 15:52:34 stsp Exp $ */ +/* $OpenBSD: vdsk.c,v 1.50 2020/01/26 00:53:31 krw Exp $ */ /* * Copyright (c) 2009, 2011 Mark Kettenis * @@ -344,7 +344,7 @@ vdsk_attach(struct device *parent, struct device *self, void *aux) scsi_iopool_init(&sc->sc_iopool, sc, vdsk_io_get, vdsk_io_put); sc->sc_switch.scsi_cmd = vdsk_scsi_cmd; - sc->sc_switch.scsi_minphys = scsi_minphys; + sc->sc_switch.dev_minphys = scsi_minphys; sc->sc_switch.dev_probe = vdsk_dev_probe; sc->sc_switch.dev_free = vdsk_dev_free; |