PERFORCE change 230947 for review

John Baldwin jhb at FreeBSD.org
Wed Jul 10 01:45:54 UTC 2013


http://p4web.freebsd.org/@@230947?ac=10

Change 230947 by jhb at jhb_pippin on 2013/07/10 01:45:43

	Oops, actually give the per-domain bus rman a range to allocate
	from.

Affected files ...

.. //depot/projects/pci/sys/dev/pci/pci_subr.c#8 edit

Differences ...

==== //depot/projects/pci/sys/dev/pci/pci_subr.c#8 (text+ko) ====

@@ -329,6 +329,8 @@
 	strcpy((char *)(d + 1), buf);
 	d->pd_bus_rman.rm_descr = (char *)(d + 1);
 	error = rman_init(&d->pd_bus_rman);
+	if (error == 0)
+		error = rman_manage_region(&d->pd_bus_rman, 0, PCI_BUSMAX);
 	if (error)
 		panic("Failed to initialize PCI domain %d rman", domain);
 	TAILQ_INSERT_TAIL(&domains, d, pd_link);


More information about the p4-projects mailing list