Re: hdparm for lib_pata
From: Jeff Garzik
Date: Mon Feb 05 2007 - 16:19:52 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/