Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F139477084
D30857.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
470 B
Referenced Files
None
Subscribers
None
D30857.diff
View Options
diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c
--- a/sys/dev/sdhci/sdhci.c
+++ b/sys/dev/sdhci/sdhci.c
@@ -2483,8 +2483,8 @@
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) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 13, 1:16 PM (9 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26931933
Default Alt Text
D30857.diff (470 B)
Attached To
Mode
D30857: sdhci: stop using cam_sim_alloc_dev
Attached
Detach File
Event Timeline
Log In to Comment