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/scsi/cd.c | |
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/scsi/cd.c')
-rw-r--r-- | sys/scsi/cd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 63c792c0a20..42ce3a0bd9d 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.241 2020/01/25 21:40:34 krw Exp $ */ +/* $OpenBSD: cd.c,v 1.242 2020/01/26 00:53:31 krw Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -693,8 +693,8 @@ cdminphys(struct buf *bp) bp->b_bcount = max; } - (*sc->sc_link->adapter->scsi_minphys)(bp, sc->sc_link); - if (sc->sc_link->adapter->scsi_minphys != scsi_minphys) + (*sc->sc_link->adapter->dev_minphys)(bp, sc->sc_link); + if (sc->sc_link->adapter->dev_minphys != scsi_minphys) scsi_minphys(bp, sc->sc_link); device_unref(&sc->sc_dev); |