Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2009 06:03:29 +0000 (UTC)
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189522 - head/sys/dev/usb/net
Message-ID:  <200903080603.n2863TQK074130@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903080603.n2863TQK074130>