svn commit: r189522 - head/sys/dev/usb/net
Andrew Thompson
thompsa at FreeBSD.org
Sat Mar 7 22:03:29 PST 2009
Author: thompsa
Date: Sun Mar 8 06:03:28 2009
New Revision: 189522
URL: http://svn.freebsd.org/changeset/base/189522
Log:
Fix endian conversion from htole16 to htole32.
Tested with: ARM xscale
Modified:
head/sys/dev/usb/net/if_axe.c
Modified: head/sys/dev/usb/net/if_axe.c
==============================================================================
--- head/sys/dev/usb/net/if_axe.c Sun Mar 8 06:03:15 2009 (r189521)
+++ head/sys/dev/usb/net/if_axe.c Sun Mar 8 06:03:28 2009 (r189522)
@@ -318,7 +318,7 @@ axe_miibus_writereg(device_t dev, int ph
struct axe_softc *sc = device_get_softc(dev);
int locked;
- val = htole16(val);
+ val = htole32(val);
if (sc->sc_phyno != phy)
return (0);
More information about the svn-src-all
mailing list