Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175751020
D60656.id189621.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
794 B
Referenced Files
None
Subscribers
None
D60656.id189621.diff
View Options
diff --git a/sys/dev/dpaa2/dpaa2_mc.c b/sys/dev/dpaa2/dpaa2_mc.c
--- a/sys/dev/dpaa2/dpaa2_mc.c
+++ b/sys/dev/dpaa2/dpaa2_mc.c
@@ -650,6 +650,7 @@
struct dpaa2_mc_softc *sc = device_get_softc(mcdev);
struct dpaa2_devinfo *dinfo = device_get_ivars(child);
#ifdef DEV_ACPI
+ char name[64];
intptr_t xref;
u_int devid;
#endif
@@ -665,8 +666,11 @@
* NOTE: The first named component from the IORT table
* with the given name (as a substring) will be used.
*/
- error = acpi_iort_map_named_msi(IORT_DEVICE_NAME,
- dinfo->icid, &xref, &devid);
+ if (!acpi_get_name(acpi_get_handle(mcdev), name,
+ sizeof(name)))
+ return (0);
+ error = acpi_iort_map_named_msi(name, dinfo->icid,
+ &xref, &devid);
if (error)
return (0);
return (xref);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Oct 14, 1:02 AM (14 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40760344
Default Alt Text
D60656.id189621.diff (794 B)
Attached To
Mode
D60656: dpaa2: Pass the APCI name to acpi_iort_map_named_msi
Attached
Detach File
Event Timeline
Log In to Comment