Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171610372
D27229.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
677 B
Referenced Files
None
Subscribers
None
D27229.id.diff
View Options
Index: head/sys/dev/iommu/iommu.h
===================================================================
--- head/sys/dev/iommu/iommu.h
+++ head/sys/dev/iommu/iommu.h
@@ -67,6 +67,7 @@
struct iommu_unit {
struct mtx lock;
+ device_t dev;
int unit;
int dma_enabled;
Index: head/sys/x86/iommu/intel_drv.c
===================================================================
--- head/sys/x86/iommu/intel_drv.c
+++ head/sys/x86/iommu/intel_drv.c
@@ -411,6 +411,7 @@
unit = device_get_softc(dev);
unit->dev = dev;
unit->iommu.unit = device_get_unit(dev);
+ unit->iommu.dev = dev;
dmaru = dmar_find_by_index(unit->iommu.unit);
if (dmaru == NULL)
return (EINVAL);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 13, 3:47 AM (10 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38832083
Default Alt Text
D27229.id.diff (677 B)
Attached To
Mode
D27229: Add dev member to struct iommu
Attached
Detach File
Event Timeline
Log In to Comment