diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-03-08 06:03:28 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-03-08 06:03:28 +0000 |
commit | 66b56ab254d4945358f1cae998f1d2818f9d2cf2 (patch) | |
tree | 49850d7700a3db4e9dcfe5eaf00d73f067c49642 /sys/dev/usb | |
parent | fa748c416099ad14fac7a6a632d52f91cdf8c6da (diff) | |
download | FreeBSD-src-66b56ab254d4945358f1cae998f1d2818f9d2cf2.zip FreeBSD-src-66b56ab254d4945358f1cae998f1d2818f9d2cf2.tar.gz |
Fix endian conversion from htole16 to htole32.
Tested with: ARM xscale
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/net/if_axe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/net/if_axe.c b/sys/dev/usb/net/if_axe.c index c840692..43ac676 100644 --- a/sys/dev/usb/net/if_axe.c +++ b/sys/dev/usb/net/if_axe.c @@ -318,7 +318,7 @@ axe_miibus_writereg(device_t dev, int phy, int reg, int val) struct axe_softc *sc = device_get_softc(dev); int locked; - val = htole16(val); + val = htole32(val); if (sc->sc_phyno != phy) return (0); |