Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2021 22:24:06 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: aeb04e88f51a - main - sdhci: stop using cam_sim_alloc_dev
Message-ID:  <202106282224.15SMO6Ye048845@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=aeb04e88f51a706ef4b6a380bf5e82d15203fb6a

commit aeb04e88f51a706ef4b6a380bf5e82d15203fb6a
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-06-28 22:00:37 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-06-28 22:13:02 +0000

    sdhci: stop using cam_sim_alloc_dev
    
    Sponsored by:           Netflix
    Differential Revision:  https://reviews.freebsd.org/D30857
---
 sys/dev/sdhci/sdhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c
index 22df56672c4b..1ed521da8a70 100644
--- a/sys/dev/sdhci/sdhci.c
+++ b/sys/dev/sdhci/sdhci.c
@@ -2483,8 +2483,8 @@ sdhci_start_slot(struct sdhci_slot *slot)
 		goto fail;
 
 	mtx_init(&slot->sim_mtx, "sdhcisim", NULL, MTX_DEF);
-	slot->sim = cam_sim_alloc_dev(sdhci_cam_action, sdhci_cam_poll,
-	    "sdhci_slot", slot, slot->bus,
+	slot->sim = cam_sim_alloc(sdhci_cam_action, sdhci_cam_poll,
+	    "sdhci_slot", slot,
 	    &slot->sim_mtx, 1, 1, slot->devq);
 
 	if (slot->sim == NULL) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106282224.15SMO6Ye048845>