diff options
author | ru <ru@FreeBSD.org> | 2005-11-11 12:17:31 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-11-11 12:17:31 +0000 |
commit | ec1697067958cd5395dc4db2ef0cb1ce54dc746e (patch) | |
tree | 0661ceef4cecc549393ddd1aff0d169d386cb8b6 /sys/dev/ex | |
parent | 24afcaae818a704f924f89cd18fcd660e2a72204 (diff) | |
download | FreeBSD-src-ec1697067958cd5395dc4db2ef0cb1ce54dc746e.zip FreeBSD-src-ec1697067958cd5395dc4db2ef0cb1ce54dc746e.tar.gz |
Catch up with IFP2ENADDR() type change (array -> pointer).
Diffstat (limited to 'sys/dev/ex')
-rw-r--r-- | sys/dev/ex/if_ex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ex/if_ex.c b/sys/dev/ex/if_ex.c index 3c1296f..24425b6 100644 --- a/sys/dev/ex/if_ex.c +++ b/sys/dev/ex/if_ex.c @@ -892,7 +892,7 @@ ex_setmulti(struct ex_softc *sc) /* Program our MAC address as well */ /* XXX: Is this necessary? The Linux driver does this * but the NetBSD driver does not */ - addr = (uint16_t*)(&IFP2ENADDR(sc->ifp)); + addr = (uint16_t*)(IFP2ENADDR(sc->ifp)); CSR_WRITE_2(sc, IO_PORT_REG, *addr++); CSR_WRITE_2(sc, IO_PORT_REG, *addr++); CSR_WRITE_2(sc, IO_PORT_REG, *addr++); |