Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2006 05:37:06 GMT
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94443 for review
Message-ID:  <200604020537.k325b6Tr010600@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94443

Change 94443 by jmg@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604020537.k325b6Tr010600>