Date: Tue, 8 Mar 2011 22:18:10 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 189742 for review Message-ID: <201103082218.p28MIAmR063180@skunkworks.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103082218.p28MIAmR063180>