Page MenuHomeFreeBSD

D17792.diff
No OneTemporary

D17792.diff

Index: head/sys/dev/acpica/acpi_resource.c
===================================================================
--- head/sys/dev/acpica/acpi_resource.c
+++ head/sys/dev/acpica/acpi_resource.c
@@ -602,10 +602,6 @@
if (cp == NULL)
return;
-
- while (bus_get_resource_start(dev, SYS_RES_MEMORY, cp->ar_nmem))
- cp->ar_nmem++;
-
bus_set_resource(dev, SYS_RES_MEMORY, cp->ar_nmem++, base, length);
}
Index: head/sys/dev/pci/pci_host_generic.c
===================================================================
--- head/sys/dev/pci/pci_host_generic.c
+++ head/sys/dev/pci/pci_host_generic.c
@@ -107,7 +107,7 @@
return (error);
rid = 0;
- sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE | RF_SHAREABLE);
+ sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE);
if (sc->res == NULL) {
device_printf(dev, "could not map memory.\n");
return (ENXIO);

File Metadata

Mime Type
text/plain
Expires
Thu, Apr 23, 8:42 PM (16 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32043509
Default Alt Text
D17792.diff (914 B)

Event Timeline