From owner-freebsd-questions Thu Dec 16 13:28:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 1475515682 for ; Thu, 16 Dec 1999 13:28:41 -0800 (PST) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id NAA05351; Thu, 16 Dec 1999 13:58:19 -0800 (PST) Date: Thu, 16 Dec 1999 13:58:19 -0800 (PST) From: Alfred Perlstein To: Ian Struble Cc: Jonathon McKitrick , Alejandro Ramirez , freebsd-questions@FreeBSD.ORG Subject: RE: LBA speed enhancements In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 16 Dec 1999, Ian Struble wrote: > > > On Thu, 16 Dec 1999, Jonathon McKitrick wrote: > > > > > On Thu, 16 Dec 1999, Alejandro Ramirez wrote: > > > Are you refering to the "0xa0ffa0ff" flags???, this flags are for > > >improve performance by enabling DMA use, enable the multi-sector I/O and the > > >32BIT I/O modes to IDE Disks. > > > > Yes, and there is also a bit to set LBA mode. At least, that's what LINT > > says. > > The specific flag that Jonathon is talking about is the '1' below. Using > it we would have "0xb0ffb0ff" for flags. Which I can not say that I have > ever done nor remember seeing anyone else talk about using. Oh.... I've talked about it, maybe 'talked' is being nice. I strongly suggest staying away from turning on the LBA modes on drives until the maintainers of the drivers test and announce that it no longer eats disks when doing a crashdump when LBA is active. pfft. -Alfred > > from /usr/src/i386/isa/wd.c: > #define WDOPT_32BIT 0x8000 > #define WDOPT_SLEEPHACK 0x4000 > #define WDOPT_DMA 0x2000 > #define WDOPT_LBA 0x1000 > > Ian > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message