diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-07-02 03:20:49 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-07-02 03:20:49 +0000 |
commit | c9c865840507d18ca228b87b03deed62c74a9b86 (patch) | |
tree | a908aa6fc8e629f770c44cf878ad19c11c66a62e | |
parent | 9da4c62da80b59dfd6dc1b4efd2be67a72f775e3 (diff) |
put writing of RL_IDR0 and RL_IDR4 back to how they should be.
-rw-r--r-- | sys/dev/ic/re.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index cb86db2b43f..1c334c8900f 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.33 2006/07/01 21:48:08 brad Exp $ */ +/* $OpenBSD: re.c,v 1.34 2006/07/02 03:20:48 brad Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -1634,9 +1634,9 @@ re_init(struct ifnet *ifp) */ bcopy(sc->sc_arpcom.ac_enaddr, eaddr.eaddr, ETHER_ADDR_LEN); CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_WRITECFG); - CSR_WRITE_4(sc, RL_IDR0, - htole32(*(u_int32_t *)(&eaddr.eaddr[0]))); CSR_WRITE_4(sc, RL_IDR4, + htole32(*(u_int32_t *)(&eaddr.eaddr[0]))); + CSR_WRITE_4(sc, RL_IDR0, htole32(*(u_int32_t *)(&eaddr.eaddr[4]))); CSR_WRITE_1(sc, RL_EECMD, RL_EEMODE_OFF); |