It seems Zhihui Zhang wrote:
> 
> Thanks for your replay. I use gdb to find out that the buffer address is
> not 16-byte aligned. This leads to a question as to how to align a
> statically allocated data structure properly. Using union seems to be able
> to align you on a long boundary (or even long long?), but that is not 16
> byte aligned.

For all ATA controllers except for one crappy exception, the buffer
should just be on a 2byte aligned adresss, so using 16 or even
64 bytes as Julian suggested is not needed.

But you can ONLY transfer 512bytes at a time.

-Søren

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to