diff options
author | jhb <jhb@FreeBSD.org> | 2010-02-19 15:16:00 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-02-19 15:16:00 +0000 |
commit | 564efe918f4646894fcb8e37a93ce3f2c58c7fe9 (patch) | |
tree | 50b6c679e2769f5dbc7994fb3d824d792353a01c /sys/netinet/sctp_usrreq.c | |
parent | 3138bddc87f86b278db0fbb56f844e909a895754 (diff) | |
download | FreeBSD-src-564efe918f4646894fcb8e37a93ce3f2c58c7fe9.zip FreeBSD-src-564efe918f4646894fcb8e37a93ce3f2c58c7fe9.tar.gz |
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 bus and perphierals.
Reported by: several folks
MFC after: 1 week
Diffstat (limited to 'sys/netinet/sctp_usrreq.c')
0 files changed, 0 insertions, 0 deletions