Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 1998 19:44:02 -0800 (PST)
From:      vk@spies.com (Venkatesh Krishnamurthi)
To:        aic7xxx@FreeBSD.ORG
Subject:   Re: Ultra with 20MB/s od AIC7890 ????
Message-ID:  <m0zi9OU-000TloC@spies.com>
In-Reply-To: <Pine.LNX.4.04.9811231551010.26778-100000@kabal.redhat.com> from "Doug Ledford" at Nov 23, 98 03:53:04 pm

next in thread | previous in thread | raw e-mail | index | archive | help
  Yay it works!  This fix also brought the hdparm results to the values
obtained with the 5.1.2 driver.

Thanks,

Venkatesh

> 
> 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.
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-aic7xxx" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-aic7xxx" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0zi9OU-000TloC>