Date: Wed, 24 Feb 2010 21:29:30 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/mptutil mpt_cam.c Message-ID: <201002242129.o1OLTlKx041756@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2010-02-24 21:29:30 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.sbin/mptutil mpt_cam.c Log: SVN rev 204287 on 2010-02-24 21:29:30Z by jhb MFC 204090: Fix mptutil's method for locating disk devices attached to a specific mpt(4) controller. Previously, the code assumed that multiple match patterns provided to an XPT_DEV_MATCH request were ANDed together. Instead, they are ORed. Instead, to match peripherals for a specific bus, one query needs to be performed to lookup the path ID of the bus. A second query can then be performed matching peripherals attached to that path. This approach also makes the code a bit cleaner as the returned match results do not mix buses and perphierals. Revision Changes Path 1.1.4.3 +109 -113 src/usr.sbin/mptutil/mpt_cam.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002242129.o1OLTlKx041756>