Date: Thu, 27 Jul 2000 07:55:55 +0200 From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: "Justin T. Gibbs" <gibbs@plutotech.com> Cc: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>, scsi@FreeBSD.ORG Subject: Re: (noperiph:ahc0:0:-1:-1) & forwarded message ... Message-ID: <20000727075555.A62166@curry.mchp.siemens.de> In-Reply-To: <200007261836.MAA77295@pluto.plutotech.com>; from gibbs@plutotech.com on Wed, Jul 26, 2000 at 12:37:00PM -0600 References: <20000726201301.A7548@curry.mchp.siemens.de> <200007261836.MAA77295@pluto.plutotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000727075555.A62166>
