atom feed1 message in org.freebsd.p4-projectsPERFORCE change 189742 for review
FromSent OnAttachments
John BaldwinMar 8, 2011 2:17 pm 
Subject:PERFORCE change 189742 for review
From:John Baldwin (jh@FreeBSD.org)
Date:Mar 8, 2011 2:17:38 pm
List:org.freebsd.p4-projects

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

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