On Tue, Aug 05, 2008 at 09:46:51PM +0100, Alan Cox wrote:
Probably ... I did consider it, but I think I was too influenced by the
existing READ/WRITE LONG code.
I'm not sure that's necessary. The spec says to check whether words are
valid by doing the & 0xc000 == 0x4000 test.
Yes, I would expect some driver work to be required. It only gets worse
once we implement the DIX-equivalent. How do you suggest would be a
good migration path? We could have the driver set a flag, or call into
the driver from the midlayer to check whether it can cope with a
particular sector size.
I didn't want to change behaviour. We currently set sect_size to 512
for all commands (except READ LONG), and I didn't want to change that
for non-data commands. I agree with you that it's not relevant.
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--