PERFORCE change 191079 for review

John Baldwin jhb at FreeBSD.org
Tue Apr 5 20:40:09 UTC 2011


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

Change 191079 by jhb at jhb_jhbbsd on 2011/04/05 20:39:44

	Bah, fix PCI-PCI bridge window allocation.

Affected files ...

.. //depot/projects/pci/sys/dev/pci/pci.c#12 edit

Differences ...

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

@@ -3956,13 +3956,14 @@
 			case PCIR_IOBASEL_1:
 			case PCIR_MEMBASE_1:
 			case PCIR_PMBASEL_1:
-				break;
-			default:
-				goto bar;
+				/*
+				 * XXX: Should we bother creating a resource
+				 * list entry?
+				 */
+				return (bus_generic_alloc_resource(dev, child,
+				    type, rid, start, end, count, flags));
 			}
-			break;
 		}
-	bar:
 #endif
 		/* Reserve resources for this BAR if needed. */
 		rle = resource_list_find(rl, type, *rid);


More information about the p4-projects mailing list