From owner-p4-projects@FreeBSD.ORG Wed Oct 18 20:25:05 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id C515C16A415; Wed, 18 Oct 2006 20:25:05 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B90E16A412 for ; Wed, 18 Oct 2006 20:25:05 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A4AD43D5D for ; Wed, 18 Oct 2006 20:25:05 +0000 (GMT) (envelope-from mjacob@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9IKP5LZ000216 for ; Wed, 18 Oct 2006 20:25:05 GMT (envelope-from mjacob@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9IKP48b000213 for perforce@freebsd.org; Wed, 18 Oct 2006 20:25:04 GMT (envelope-from mjacob@freebsd.org) Date: Wed, 18 Oct 2006 20:25:04 GMT Message-Id: <200610182025.k9IKP48b000213@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to mjacob@freebsd.org using -f From: Matt Jacob To: Perforce Change Reviews Cc: Subject: PERFORCE change 108062 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Oct 2006 20:25:06 -0000 http://perforce.freebsd.org/chv.cgi?CH=108062 Change 108062 by mjacob@newisp on 2006/10/18 20:24:20 Make the modifier tag for a marker type a short, not 8 bits. That makes SBus cards work better. Affected files ... .. //depot/projects/newisp/dev/isp/isp_library.c#10 edit Differences ... ==== //depot/projects/newisp/dev/isp/isp_library.c#10 (text) ==== @@ -375,19 +375,16 @@ if (ISP_IS_SBUS(isp)) { ISP_IOXPUT_8(isp, src->mrk_reserved0, &dst->mrk_target); ISP_IOXPUT_8(isp, src->mrk_target, &dst->mrk_reserved0); - ISP_IOXPUT_8(isp, src->mrk_reserved1, &dst->mrk_modifier); - ISP_IOXPUT_8(isp, src->mrk_modifier, &dst->mrk_reserved1); } else { ISP_IOXPUT_8(isp, src->mrk_reserved0, &dst->mrk_reserved0); ISP_IOXPUT_8(isp, src->mrk_target, &dst->mrk_target); - ISP_IOXPUT_8(isp, src->mrk_modifier, &dst->mrk_modifier); - ISP_IOXPUT_8(isp, src->mrk_reserved1, &dst->mrk_reserved1); } + ISP_IOXPUT_16(isp, src->mrk_modifier, &dst->mrk_modifier); ISP_IOXPUT_16(isp, src->mrk_flags, &dst->mrk_flags); ISP_IOXPUT_16(isp, src->mrk_lun, &dst->mrk_lun); for (i = 0; i < 48; i++) { - ISP_IOXPUT_8(isp, src->mrk_reserved2[i], - &dst->mrk_reserved2[i]); + ISP_IOXPUT_8(isp, src->mrk_reserved1[i], + &dst->mrk_reserved1[i]); } }