From owner-freebsd-scsi Wed Jul 26 22:56:11 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from goliath.siemens.de (goliath.siemens.de [194.138.37.131]) by hub.freebsd.org (Postfix) with ESMTP id C572937C031 for ; Wed, 26 Jul 2000 22:56:06 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer goliath.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by goliath.siemens.de (8.10.1/8.10.1) with ESMTP id e6R5u2H10123; Thu, 27 Jul 2000 07:56:02 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.10.1/8.10.1) with ESMTP id e6R5ttN12633; Thu, 27 Jul 2000 07:55:56 +0200 (MET DST) Received: (from localhost) by curry.mchp.siemens.de (8.10.2/8.10.2) id e6R5tta88637; Date: Thu, 27 Jul 2000 07:55:55 +0200 From: Andre Albsmeier To: "Justin T. Gibbs" Cc: Andre Albsmeier , scsi@FreeBSD.ORG Subject: Re: (noperiph:ahc0:0:-1:-1) & forwarded message ... Message-ID: <20000727075555.A62166@curry.mchp.siemens.de> References: <20000726201301.A7548@curry.mchp.siemens.de> <200007261836.MAA77295@pluto.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <200007261836.MAA77295@pluto.plutotech.com>; from gibbs@plutotech.com on Wed, Jul 26, 2000 at 12:37:00PM -0600 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 26-Jul-2000 at 12:37:00 -0600, Justin T. Gibbs wrote: > >> Everything in sys/dev/aic7xxx. > >> > >> A few things in sys/cam/scsi/scsi_message.h > >> > >> A few things in sys/cam/cam_xpt.c > > > >Not to forget sys/dev/aic7xxx/ahc_pci.c, I think. > > Which, last I checked, resides in sys/dev/aic7xxx 8-) > > >Thanks. I will try to figure it out. Is there any chance > >that at least the termination fixes can make it into 3.5-STABLE? This might fix just the termination problems in a 3.5-STABLE tree. Can you please just give it a quick look if I might miss something? The kernel compiles... --- sys/dev/aic7xxx/aic7xxx.h.ORI Thu Jul 27 07:41:12 2000 +++ sys/dev/aic7xxx/aic7xxx.h Thu Jul 27 07:44:15 2000 @@ -373,9 +373,9 @@ #define CF284XSTERM 0x0020 /* SCSI low byte term (284x cards) */ #define CFRESETB 0x0040 /* reset SCSI bus at boot */ #define CFCHNLBPRIMARY 0x0100 /* aic7895 probe B channel first */ -#define CFSEAUTOTERM 0x0400 /* aic7890 Perform SE Auto Termination*/ -#define CFLVDSTERM 0x0800 /* aic7890 LVD Termination */ -/* UNUSED 0xf080 */ +#define CFSEAUTOTERM 0x0400 /* Ultra2 Perform secondary Auto Term*/ +#define CFSELOWTERM 0x0800 /* Ultra2 secondary low term */ +#define CFSEHIGHTERM 0x1000 /* Ultra2 secondary high term */ /* * Bus Release, Host Adapter ID --- sys/pci/ahc_pci.c.ORI Thu Jul 27 07:20:14 2000 +++ sys/pci/ahc_pci.c Thu Jul 27 07:37:20 2000 @@ -1128,15 +1128,15 @@ if (bootverbose) printf("%s: Manual SE Termination\n", ahc_name(ahc)); - enableSEC_low = (adapter_control & CFSTERM); - enableSEC_high = (adapter_control & CFWSTERM); + enableSEC_low = (adapter_control & CFSELOWTERM); + enableSEC_high = (adapter_control & CFSEHIGHTERM); } if ((adapter_control & CFAUTOTERM) == 0) { if (bootverbose) printf("%s: Manual LVD Termination\n", ahc_name(ahc)); - enablePRI_low = enablePRI_high = - (adapter_control & CFLVDSTERM); + enablePRI_low = (adapter_control & CFSTERM); + enablePRI_high = (adapter_control & CFWSTERM); } /* Make the table calculations below happy */ internal50_present = 0; Thanks for your help, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message