PERFORCE change 189742 for review
John Baldwin
jhb at FreeBSD.org
Tue Mar 8 22:18:11 UTC 2011
http://p4web.freebsd.org/@@189742?ac=10
Change 189742 by jhb at jhb_jhbbsd on 2011/03/08 22:17:26
Pass right device_t pointer to pci_find_bar().
Reported by: jkim
Affected files ...
.. //depot/projects/pci/sys/dev/pci/pci.c#8 edit
Differences ...
==== //depot/projects/pci/sys/dev/pci/pci.c#8 (text+ko) ====
@@ -3812,7 +3812,7 @@
int mapsize;
res = NULL;
- pm = pci_find_bar(dev, *rid);
+ pm = pci_find_bar(child, *rid);
if (pm != NULL) {
/* This is a BAR that we failed to allocate earlier. */
mapsize = pm->pm_size;
More information about the p4-projects
mailing list