diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-05-12 21:56:31 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-05-12 21:56:31 +0000 |
commit | be2353b2a7b188c78bbf94f4c28cef23d8951bd7 (patch) | |
tree | 7b8d13cc75a0d22d895938c0954c3ea45d5708e7 | |
parent | 86d4b87d9987589ba83543563ba0e9be0335dc5f (diff) |
Repairs operation of twin-channel ahc devices. Only affects ahc@eisa since
none of the ahc@pci are twin-channel. Broken since 3.6 as well.
-rw-r--r-- | sys/dev/ic/aic7xxx_inline.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/aic7xxx_inline.h b/sys/dev/ic/aic7xxx_inline.h index 5ba96272742..3a71f20e487 100644 --- a/sys/dev/ic/aic7xxx_inline.h +++ b/sys/dev/ic/aic7xxx_inline.h @@ -1,4 +1,4 @@ -/* $OpenBSD: aic7xxx_inline.h,v 1.14 2007/05/14 01:37:49 deraadt Exp $ */ +/* $OpenBSD: aic7xxx_inline.h,v 1.15 2012/05/12 21:56:30 miod Exp $ */ /* $NetBSD: aic7xxx_inline.h,v 1.4 2003/11/02 11:07:44 wiz Exp $ */ /* @@ -302,8 +302,8 @@ ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id, * in the initiator role to a given target are the same as * when the roles are reversed, we pretend we are the target. */ - /*if (channel == 'B') - our_id += 8;*/ + if (channel == 'B') + our_id += 8; *tstate = ahc->enabled_targets[our_id]; return (&(*tstate)->transinfo[remote_id]); } |