Date: Wed, 23 Feb 2022 01:05:31 GMT From: Alexander Motin <mav@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 4efab785f6c4 - stable/13 - rtsx: Prefer __FreeBSD_version over __FreeBSD__ Message-ID: <202202230105.21N15Vh5047596@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=4efab785f6c4eacc6b3131fd113a4b0a1d337ebb commit 4efab785f6c4eacc6b3131fd113a4b0a1d337ebb Author: Henri Hennebert <hlh@restart.be> AuthorDate: 2022-02-03 23:10:02 +0000 Commit: Alexander Motin <mav@FreeBSD.org> CommitDate: 2022-02-23 00:39:29 +0000 rtsx: Prefer __FreeBSD_version over __FreeBSD__ No functional change. Differential Revision: https://reviews.freebsd.org/D32154 (cherry picked from commit 7e5933b33301c194345364b9cf45d425ea6dbd1a) --- sys/dev/rtsx/rtsx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/rtsx/rtsx.c b/sys/dev/rtsx/rtsx.c index 696149fa039f..ce1909f52c47 100644 --- a/sys/dev/rtsx/rtsx.c +++ b/sys/dev/rtsx/rtsx.c @@ -2905,14 +2905,14 @@ rtsx_set_tran_settings(device_t dev, struct ccb_trans_settings_mmc *cts) if (bootverbose || sc->rtsx_debug) device_printf(sc->rtsx_dev, "rtsx_set_tran_settings() - bus mode: %d\n", ios->bus_mode); } -#if __FreeBSD__ > 12 +#if __FreeBSD_version >= 1300000 if (cts->ios_valid & MMC_VCCQ) { ios->vccq = new_ios->vccq; sc->rtsx_ios_vccq = -1; /* To be updated by rtsx_mmcbr_update_ios(). */ if (bootverbose || sc->rtsx_debug) device_printf(sc->rtsx_dev, "rtsx_set_tran_settings() - vccq: %d\n", ios->vccq); } -#endif /* __FreeBSD__ > 12 */ +#endif /* __FreeBSD_version >= 1300000 */ if (rtsx_mmcbr_update_ios(sc->rtsx_dev, NULL) == 0) return (CAM_REQ_CMP); else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202230105.21N15Vh5047596>