diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2005-07-20 02:48:40 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2005-07-20 02:48:40 +0000 |
commit | aa619af1f4bdb128b6bd396bc854ab15552e7964 (patch) | |
tree | 58581ac39ab8037e9c6cf41afa12d1de31f8151e /sys/dev/ic/mpt_openbsd.c | |
parent | 04d45228c79498b571bbb99ab88c315e2c6a7560 (diff) |
Skip processor devices when running PPR as per XXX. Ran into a box where the
SAFTE device freaked out when a PPR was attempted.
Diffstat (limited to 'sys/dev/ic/mpt_openbsd.c')
-rw-r--r-- | sys/dev/ic/mpt_openbsd.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ic/mpt_openbsd.c b/sys/dev/ic/mpt_openbsd.c index d011436db81..e23493f1f38 100644 --- a/sys/dev/ic/mpt_openbsd.c +++ b/sys/dev/ic/mpt_openbsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpt_openbsd.c,v 1.20 2004/12/28 14:38:27 deraadt Exp $ */ +/* $OpenBSD: mpt_openbsd.c,v 1.21 2005/07/20 02:48:39 marco Exp $ */ /* $NetBSD: mpt_netbsd.c,v 1.7 2003/07/14 15:47:11 lukem Exp $ */ /* @@ -381,11 +381,12 @@ mpt_run_ppr(mpt_softc_t *mpt, int flags) sc_link[target][0]; if ((sc_link != NULL)) { /* got a device! run PPR */ - /* FIXME: skip CPU devices since they + /* skip CPU devices since they * can crash at U320 speeds */ - /*if (device == cpu) { + if ((sc_link->inqdata.device & SID_TYPE) + == T_PROCESSOR) { continue; - }*/ + } if (mpt_ppr(mpt, sc_link, U320, flags)){ mpt->mpt_negotiated_speed [target] = U320; |