Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144479333
D51168.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
409 B
Referenced Files
None
Subscribers
None
D51168.diff
View Options
diff --git a/sys/cam/mmc/mmc_da.c b/sys/cam/mmc/mmc_da.c
--- a/sys/cam/mmc/mmc_da.c
+++ b/sys/cam/mmc/mmc_da.c
@@ -1523,10 +1523,7 @@
bioq_init(&part->bio_queue);
- bzero(&cpi, sizeof(cpi));
- xpt_setup_ccb(&cpi.ccb_h, periph->path, CAM_PRIORITY_NONE);
- cpi.ccb_h.func_code = XPT_PATH_INQ;
- xpt_action((union ccb *)&cpi);
+ xpt_path_inq(&cpi, periph->path);
/*
* Register this media as a disk
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 4:14 PM (9 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28596713
Default Alt Text
D51168.diff (409 B)
Attached To
Mode
D51168: cam/mmc: Use xpt_path_inq instead of hand-rollded equivalent
Attached
Detach File
Event Timeline
Log In to Comment