Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2006 21:57:41 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 97646 for review
Message-ID:  <200605222157.k4MLvf7Z037449@repoman.freebsd.org>

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

Change 97646 by kmacy@kmacy_storage:sun4v_work on 2006/05/22 21:57:14

	use dev not child

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/kern/subr_bus.c#6 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/kern/subr_bus.c#6 (text+ko) ====

@@ -3626,7 +3626,7 @@
 {
 	device_t parent;
 
-	parent = device_get_parent(child);
+	parent = device_get_parent(dev);
 	if (parent == NULL)
 		return (NULL);
 	return (BUS_GET_DMA_TAG(parent, dev));



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