[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45C79F60.50305@garzik.org>
Date: Mon, 05 Feb 2007 16:19:28 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Alan <alan@...rguk.ukuu.org.uk>
CC: Mark Lord <lkml@....ca>, Patrick Ale <patrick.ale@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: hdparm for lib_pata
Alan wrote:
>> Userspace PIO mode changes are NOT a good idea,
>
> I would disagree there, but they are not high priority. We do need to
> allow set_features/xfer but we need to snoop it and mode set properly
> around it. There are cases you want to control this, more so admittedly
> for DMA speeds.
*Bingo*
That's the entire reason why libata does not support hdparm changing
modes, etc.: there is a lot involved in allowing random SET FEATURES -
XFER MODE commands from userspace. In some cases you have to stop all
traffic on ports B,C,D,... in order to change the speed on port A.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists