Re: [PATCH] 2.5 ide 48-bit usage

Alan Cox (alan@lxorguk.ukuu.org.uk)
07 May 2003 19:29:08 +0100


On Mer, 2003-05-07 at 17:28, Linus Torvalds wrote:
> At least if I read the patch correctly, theer's no way for upper layers to
> say "I want 48-bit addressing" - it's just turned on automatically for
> high sectors (or big transfers).

You read it incorrectly. The lower layers don't know about the issue at
all. The disk layer does mapping (conceptually like READ6/READ10/READ16
in SCSI)

Raw I/O and other drivers can still issue CHS LBA28 and LBA48 taskfiles.

> Well, you can mark the drive itself as wanting 48-bit transfers, but you
> can't do it on a per-request basis.

Its per request at the low level.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/