RE: aic7xxx Driver support faster than 20MB/sec?

Timm Gleason (timm@n2h2.com)
Fri, 4 Dec 1998 14:50:07 -0800


It apparently was a bug concerning use of the Ultra2Wide controller. I
received a forwarded reply from Doug Ledford and added two lines of code to
the driver source that fixed it.

Timm Gleason

On Mon, 23 Nov 1998, Neil Conway wrote:

> Doug Ledford wrote:
> >
> > That will be fixed in 5.1.5 (a bug introduced by myself accidentally
while
> > dealing with YANSF (Yet Another New Seeprom Format)).
>
> I don't suppose it's a quickneasy fix ? I'm about to bring a production
> machine back on-line this evening for a (hopefully) multi-week run and
> it'd be nice to get the interface back up to speed, as I'll probably not
> get another chance for many weeks... If it's only a two-liner I could
> just patch the kernel.
>
> sorry to hassle you - the driver is great in all other ways.

It is quick and easy. Around line 8352 make the code look like:

if (p->flags & AHC_NEWEEPROM_FMT)
{
if (sc->device_flags[i] & CFSYNCHISULTRA)
{
p->ultraenb |= mask;
}
else if (sc->device_flags[i] & CFNEWULTRAFORMAT)
{
if ( ((sc->device_flags[i] & (CFSYNCHISULTRA | CFXFER)) == 0x03)
&&
!(p->features & AHC_ULTRA2) )
{
sc->device_flags[i] &= ~CFXFER;
sc->device_flags[i] |= CFSYNCHISULTRA;
p->ultraenb |= mask;
}
}
}

Doug Ledford <dledford@redhat.com>
Opinions expressed are my own, but
they should be everybody's.

> -----Original Message-----
> From: Gregory T. Norris [mailto:haphazard@socketis.net]
> Sent: Friday, December 04, 1998 12:32 PM
> To: Timm Gleason
> Cc: linux-kernel
> Subject: Re: aic7xxx Driver support faster than 20MB/sec?
>
>
> I'm getting 40MB/sec under version 5.1.4, with a 2940UW and Seagate
> ST34501W drives.
>
> On Thu, Dec 03, 1998 at 04:42:25PM -0800, Timm Gleason wrote:
> > Does anyone know if the current version of the aic7xxx
> driver(5.1.4) support
> > faster than 20MB/sec maximum transfer rate? I compiled a 2.0.36
> kernel using
> > the pre13 patch and the patch text had references in it to the aic7xxx
> > driver being 5.0.20. This kernel did support the higher rates.
> However, I
> > find that the kernel we compiled using the final release of
> 2.0.36 contains
> > aic7xxx driver 5.1.4 and does not seem to accept negotiation higher than
> > 20MB/sec. Yes, I have checked the SCSI BIOS for the controller
> and all ID's
> > are set to 80MB/sec rate.
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/