Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 1999 09:27:05 -0800 (PST)
From:      Ian Struble <ian@broken.net>
To:        Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org>
Cc:        Alejandro Ramirez <ales@megared.net.mx>, freebsd-questions@FreeBSD.ORG
Subject:   RE: LBA speed enhancements
Message-ID:  <Pine.BSF.3.91.991216092310.23637K-100000@disavowed.broken.net>
In-Reply-To: <Pine.BSF.4.21.9912161711250.1526-100000@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.991216092310.23637K-100000>