From ca4e8950a40bd8c7cdac9f899fea8812c9081faa Mon Sep 17 00:00:00 2001 From: mike Date: Sat, 20 Apr 2002 19:27:34 +0000 Subject: [PATCH] Change two KM_COPY()s to bcopy(). This should have been done when the KM_* macros were removed. --- sys/dev/hfa/fore_command.c | 2 +- sys/dev/hfa/fore_output.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/hfa/fore_command.c b/sys/dev/hfa/fore_command.c index f26a131d482c..d772c561a377 100644 --- a/sys/dev/hfa/fore_command.c +++ b/sys/dev/hfa/fore_command.c @@ -358,7 +358,7 @@ fore_cmd_drain(fup) /* * Copy PROM info into config areas */ - KM_COPY(&fp->pr_mac[2], + bcopy(&fp->pr_mac[2], &fup->fu_pif.pif_macaddr, sizeof(struct mac_addr)); fup->fu_config.ac_macaddr = diff --git a/sys/dev/hfa/fore_output.c b/sys/dev/hfa/fore_output.c index 2ff603257ae2..a6e6b4dc1e7f 100644 --- a/sys/dev/hfa/fore_output.c +++ b/sys/dev/hfa/fore_output.c @@ -339,7 +339,7 @@ fore_xmit_segment(fup, m, hxp, segp, lenp) */ fup->fu_stats->st_drv.drv_xm_segnoal++; bfr = cp - align; - KM_COPY(cp, bfr, KB_LEN(m)); + bcopy(cp, bfr, KB_LEN(m)); KB_HEADMOVE(m, -align); } else { /*