Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111579835
D36618.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
933 B
Referenced Files
None
Subscribers
None
D36618.diff
View Options
diff --git a/sys/dev/pci/pci_host_generic.c b/sys/dev/pci/pci_host_generic.c
--- a/sys/dev/pci/pci_host_generic.c
+++ b/sys/dev/pci/pci_host_generic.c
@@ -436,7 +436,6 @@
struct generic_pcie_core_softc *sc;
struct resource *res;
struct rman *rm;
- rman_res_t phys_start, phys_end;
sc = device_get_softc(dev);
@@ -452,16 +451,6 @@
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), child,
type, rid, start, end, count, flags));
- /* Translate the address from a PCI address to a physical address */
- if (generic_pcie_translate_resource_common(dev, type, start, end,
- &phys_start, &phys_end) != 0) {
- device_printf(dev,
- "Failed to translate resource %jx-%jx type %x for %s\n",
- (uintmax_t)start, (uintmax_t)end, type,
- device_get_nameunit(child));
- return (NULL);
- }
-
if (bootverbose) {
device_printf(dev,
"rman_reserve_resource: start=%#jx, end=%#jx, count=%#jx\n",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 6, 1:14 PM (12 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17014644
Default Alt Text
D36618.diff (933 B)
Attached To
Mode
D36618: pci_host_generic: stop address translation in bus_alloc_resource
Attached
Detach File
Event Timeline
Log In to Comment