From owner-aic7xxx Mon Nov 23 19:43:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA28282 for aic7xxx-outgoing; Mon, 23 Nov 1998 19:43:46 -0800 (PST) (envelope-from owner-aic7xxx@FreeBSD.ORG) Received: from spies.com ([206.67.152.210]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA28277 for ; Mon, 23 Nov 1998 19:43:45 -0800 (PST) (envelope-from vk@spies.com) Received: from localhost (1939 bytes) by spies.com via sendmail with P:stdio/R:inet_hosts/T:smtp (sender: ) (ident using unix) id for ; Mon, 23 Nov 1998 19:44:02 -0800 (PST) (Smail-3.2.0.101 1997-Dec-17 #18 built 1998-Oct-15) Message-Id: From: vk@spies.com (Venkatesh Krishnamurthi) Subject: Re: Ultra with 20MB/s od AIC7890 ???? To: aic7xxx@FreeBSD.ORG Date: Mon, 23 Nov 1998 19:44:02 -0800 (PST) In-Reply-To: from "Doug Ledford" at Nov 23, 98 03:53:04 pm Content-Type: text Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 > 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