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/dev/sdmmc/sdmmc_scsi.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/dev/sdmmc/sdmmc_scsi.c')
-rw-r--r-- | sys/dev/sdmmc/sdmmc_scsi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/sdmmc/sdmmc_scsi.c b/sys/dev/sdmmc/sdmmc_scsi.c index b6c175f013f..0ad8ec6ca08 100644 --- a/sys/dev/sdmmc/sdmmc_scsi.c +++ b/sys/dev/sdmmc/sdmmc_scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdmmc_scsi.c,v 1.43 2020/01/25 21:48:43 krw Exp $ */ +/* $OpenBSD: sdmmc_scsi.c,v 1.44 2020/01/26 00:53:31 krw Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -92,7 +92,7 @@ void sdmmc_start_xs(struct sdmmc_softc *, struct sdmmc_ccb *); void sdmmc_complete_xs(void *); void sdmmc_done_xs(struct sdmmc_ccb *); void sdmmc_stimeout(void *); -void sdmmc_scsi_minphys(struct buf *, struct scsi_link *); +void sdmmc_minphys(struct buf *, struct scsi_link *); #ifdef SDMMC_DEBUG #define DPRINTF(s) printf s @@ -135,7 +135,7 @@ sdmmc_scsi_attach(struct sdmmc_softc *sc) sc->sc_scsibus = scbus; scbus->sc_adapter.scsi_cmd = sdmmc_scsi_cmd; - scbus->sc_adapter.scsi_minphys = sdmmc_scsi_minphys; + scbus->sc_adapter.dev_minphys = sdmmc_minphys; scbus->sc_link.adapter_target = SDMMC_SCSIID_HOST; scbus->sc_link.adapter_buswidth = scbus->sc_ntargets; @@ -545,7 +545,7 @@ sdmmc_stimeout(void *arg) } void -sdmmc_scsi_minphys(struct buf *bp, struct scsi_link *sl) +sdmmc_minphys(struct buf *bp, struct scsi_link *sl) { struct sdmmc_softc *sc = sl->adapter_softc; struct sdmmc_scsi_softc *scbus = sc->sc_scsibus; |