Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 03/29/2006 04:32:09
Module Name:	src
Committed By:	thorpej
Date:		Wed Mar 29 04:32:09 UTC 2006

Modified Files:
	src/sys/dev/pci: mpt_pci.c

Log Message:
mpt_pci_link_peer(): Rather than testing if the candidate device is attached
with mpt_pci (by comparing the dv_cfattach pointer), check to see if it has
the same parent.  If so, then it is guaranteed to have the same attachment
(which is mpt_pci).


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sys/dev/pci/mpt_pci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.