diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-12-21 07:20:43 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-12-23 04:53:05 +0100 |
commit | b46281f9c5d6ab7b6e412e83f8c62cecf4ebbdfd (patch) | |
tree | 036d3829622cb10bbcc467e56598d70c1ae565de /drivers/hwmon/abituguru3.c | |
parent | typhoon: missing le32_to_cpu() in get_drvinfo (diff) | |
download | linux-b46281f9c5d6ab7b6e412e83f8c62cecf4ebbdfd.tar.xz linux-b46281f9c5d6ab7b6e412e83f8c62cecf4ebbdfd.zip |
typhoon: set_settings broken on big-endian
One cpu_to_le16() too many when passing argument for TYPHOON_CMD_XCVR_SELECT;
we end up passing host-endian while the hardware expects little-endian. The
other place doing that (typhoon_start_runtime()) does the right thing, so the
card will recover at the next ifconfig up/tx timeout/resume, which limits the
amount of mess, but still, WTF?
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/hwmon/abituguru3.c')
0 files changed, 0 insertions, 0 deletions