diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-11-11 12:17:31 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-11-11 12:17:31 +0000 |
| commit | f5071cacb179ee84e45932530401a210b341a6c9 (patch) | |
| tree | 0661ceef4cecc549393ddd1aff0d169d386cb8b6 /sys/dev/fxp | |
| parent | 58d7d1a8fa4790560c0610350cb76ceb9cbd9ce8 (diff) | |
Notes
Diffstat (limited to 'sys/dev/fxp')
| -rw-r--r-- | sys/dev/fxp/if_fxp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 638c8df43283..428fd5318436 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -2087,8 +2087,7 @@ fxp_init_body(struct fxp_softc *sc) cb_ias->cb_status = 0; cb_ias->cb_command = htole16(FXP_CB_COMMAND_IAS | FXP_CB_COMMAND_EL); cb_ias->link_addr = 0xffffffff; - bcopy(IFP2ENADDR(sc->ifp), cb_ias->macaddr, - sizeof(IFP2ENADDR(sc->ifp))); + bcopy(IFP2ENADDR(sc->ifp), cb_ias->macaddr, ETHER_ADDR_LEN); /* * Start the IAS (Individual Address Setup) command/DMA. |
