Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2013 01:45:53 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 230947 for review
Message-ID:  <201307100145.r6A1jrqu013108@skunkworks.freebsd.org>

index | next in thread | raw e-mail

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

Change 230947 by jhb@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);


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307100145.r6A1jrqu013108>