Subject: Re: LBA48_THRESHOLD
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 01/16/2005 13:09:09
On Sat, Jan 15, 2005 at 11:29:22PM -0500, der Mouse wrote:
> >> You mean, wd->sc-wdc_bio.blkno >= LBA-reported-size?
>
> > Yes. More specifically, I mean remplace
> > if (wd->sc_flags & WDF_LBA48 &&
> > (wd->sc_wdc_bio.blkno > LBA48_THRESHOLD ||
> > (wd->sc_quirks & WD_QUIRK_FORCE_LBA48) != 0))
> > with
> > if (wd->sc_flags & WDF_LBA48 &&
> > wd->sc_wdc_bio.blkno > LBA-reported-size)
>
> I would hope you actually mean >= rather than > in the last line, or
Yes, sorry.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--