diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-08-23 11:44:50 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-08-23 11:44:50 +0000 |
commit | 577a449a61f7af2267afadc30038aecb11e91bfb (patch) | |
tree | bcc9311603cccecb2fdb68872a324b24df39db04 /sys/dev | |
parent | c201f0434e3303a21c40d7c0a2d33547d9b176a6 (diff) |
program the niu with the mac address in the right order.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_nxe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_nxe.c b/sys/dev/pci/if_nxe.c index 40a774fb5d5..a051c75427a 100644 --- a/sys/dev/pci/if_nxe.c +++ b/sys/dev/pci/if_nxe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nxe.c,v 1.41 2007/08/23 11:41:10 dlg Exp $ */ +/* $OpenBSD: if_nxe.c,v 1.42 2007/08/23 11:44:49 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -1211,10 +1211,10 @@ nxe_lladdr(struct nxe_softc *sc) DASSERT(sc->sc_window == 0); nxe_crb_write(sc, NXE_0_XG_MAC_LO(sc->sc_port), - (lladdr[0] << 24) | (lladdr[1] << 16)); + (lladdr[0] << 16) | (lladdr[1] << 24)); nxe_crb_write(sc, NXE_0_XG_MAC_HI(sc->sc_port), - (lladdr[2] << 24) | (lladdr[3] << 16) | - (lladdr[4] << 8) | (lladdr[5] << 0)); + (lladdr[2] << 0) | (lladdr[3] << 8) | + (lladdr[4] << 16) | (lladdr[5] << 24)); } void |