
host byte order (eventually the byte swapping could be wired in hardware, on the 16 bit data bus). This was keept when wdc_exec_command() was created, and as a result wdc_exec_command() is doing 16bit conversion to host byte order. This is fine for IDENTIFY but doesn't work for other opaque data structure, such as the ones for SMART. So change wdc_exec_command() to do the conversion to host byte order only for WDCC_IDENTIFY and ATAPI_IDENTIFY_DEVICE. This fixes atactl smart status on big-endian hosts. While here change __wdccommand_intr() to only use wdc_data{in,out}_pio, there is no gain in doing the 32bit data port stuff locally.
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
85.3%
Roff
7.2%
Assembly
3.1%
Shell
1.7%
Makefile
1.2%
Other
0.9%