PERFORCE change 94443 for review

John-Mark Gurney jmg at FreeBSD.org
Sun Apr 2 05:37:07 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=94443

Change 94443 by jmg at jmg_carbon-60 on 2006/04/02 05:36:44

	add pci as a child for pcib, this should get things going a bit
	farther...

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#4 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/sun4v/hv_pci.c#4 (text+ko) ====

@@ -134,7 +134,8 @@
 		panic("%s: OF_getprop failed.", __func__);
 	sc->hs_devhandle = cell & 0xfffffff;
 
-	return (0);
+	device_add_child(dev, "pci", -1);
+	return (bus_generic_attach(dev));
 }
 
 static int


More information about the p4-projects mailing list