Fix endian conversion from htole16 to htole32.

Tested with:	ARM xscale
This commit is contained in:
Andrew Thompson 2009-03-08 06:03:28 +00:00
parent ac90bcdea0
commit 36002e92e9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189522

View File

@ -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);