Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic bcopy -> strcpy



details:   https://anonhg.NetBSD.org/src/rev/25ad0a476fee
branches:  trunk
changeset: 512191:25ad0a476fee
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Jul 07 15:57:50 2001 +0000

description:
bcopy -> strcpy

diffstat:

 sys/dev/ic/elink3.c   |  4 ++--
 sys/dev/ic/elinkxl.c  |  4 ++--
 sys/dev/ic/i82557.c   |  4 ++--
 sys/dev/ic/rtl81x9.c  |  4 ++--
 sys/dev/ic/seeq8005.c |  6 +++---
 sys/dev/ic/smc90cx6.c |  4 ++--
 sys/dev/ic/tropic.c   |  4 ++--
 7 files changed, 15 insertions(+), 15 deletions(-)

diffs (135 lines):

diff -r 808b0a33ce40 -r 25ad0a476fee sys/dev/ic/elink3.c
--- a/sys/dev/ic/elink3.c       Sat Jul 07 15:57:15 2001 +0000
+++ b/sys/dev/ic/elink3.c       Sat Jul 07 15:57:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elink3.c,v 1.93 2001/05/16 20:30:52 jdolecek Exp $     */
+/*     $NetBSD: elink3.c,v 1.94 2001/07/07 15:57:50 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -413,7 +413,7 @@
        bus_space_write_2(iot, ioh, ELINK_COMMAND,
            SET_TX_AVAIL_THRESH | (1600 >> sc->ep_pktlenshift));
 
-       bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
+       strcpy(ifp->if_xname, sc->sc_dev.dv_xname);
        ifp->if_softc = sc;
        ifp->if_start = epstart;
        ifp->if_ioctl = epioctl;
diff -r 808b0a33ce40 -r 25ad0a476fee sys/dev/ic/elinkxl.c
--- a/sys/dev/ic/elinkxl.c      Sat Jul 07 15:57:15 2001 +0000
+++ b/sys/dev/ic/elinkxl.c      Sat Jul 07 15:57:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elinkxl.c,v 1.52 2001/07/07 05:35:39 thorpej Exp $     */
+/*     $NetBSD: elinkxl.c,v 1.53 2001/07/07 15:57:51 thorpej Exp $     */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -415,7 +415,7 @@
        } else
                ex_probemedia(sc);
 
-       bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
+       strcpy(ifp->if_xname, sc->sc_dev.dv_xname);
        ifp->if_softc = sc;
        ifp->if_start = ex_start;
        ifp->if_ioctl = ex_ioctl;
diff -r 808b0a33ce40 -r 25ad0a476fee sys/dev/ic/i82557.c
--- a/sys/dev/ic/i82557.c       Sat Jul 07 15:57:15 2001 +0000
+++ b/sys/dev/ic/i82557.c       Sat Jul 07 15:57:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82557.c,v 1.55 2001/06/15 22:16:00 thorpej Exp $      */
+/*     $NetBSD: i82557.c,v 1.56 2001/07/07 15:57:51 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1997, 1998, 1999, 2001 The NetBSD Foundation, Inc.
@@ -354,7 +354,7 @@
                        break;
        (*fp->fp_init)(sc);
 
-       bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
+       strcpy(ifp->if_xname, sc->sc_dev.dv_xname);
        ifp->if_softc = sc;
        ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
        ifp->if_ioctl = fxp_ioctl;
diff -r 808b0a33ce40 -r 25ad0a476fee sys/dev/ic/rtl81x9.c
--- a/sys/dev/ic/rtl81x9.c      Sat Jul 07 15:57:15 2001 +0000
+++ b/sys/dev/ic/rtl81x9.c      Sat Jul 07 15:57:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtl81x9.c,v 1.32 2001/06/12 22:32:50 thorpej Exp $     */
+/*     $NetBSD: rtl81x9.c,v 1.33 2001/07/07 15:57:52 thorpej Exp $     */
 
 /*
  * Copyright (c) 1997, 1998
@@ -712,7 +712,7 @@
 
        ifp = &sc->ethercom.ec_if;
        ifp->if_softc = sc;
-       bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
+       strcpy(ifp->if_xname, sc->sc_dev.dv_xname);
        ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
        ifp->if_ioctl = rtk_ioctl;
        ifp->if_start = rtk_start;
diff -r 808b0a33ce40 -r 25ad0a476fee sys/dev/ic/seeq8005.c
--- a/sys/dev/ic/seeq8005.c     Sat Jul 07 15:57:15 2001 +0000
+++ b/sys/dev/ic/seeq8005.c     Sat Jul 07 15:57:50 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: seeq8005.c,v 1.28 2001/07/07 05:35:41 thorpej Exp $ */
+/* $NetBSD: seeq8005.c,v 1.29 2001/07/07 15:57:52 thorpej Exp $ */
 
 /*
  * Copyright (c) 2000, 2001 Ben Harris
@@ -63,7 +63,7 @@
 #include <sys/types.h>
 #include <sys/param.h>
 
-__RCSID("$NetBSD: seeq8005.c,v 1.28 2001/07/07 05:35:41 thorpej Exp $");
+__RCSID("$NetBSD: seeq8005.c,v 1.29 2001/07/07 15:57:52 thorpej Exp $");
 
 #include <sys/systm.h>
 #include <sys/endian.h>
@@ -243,7 +243,7 @@
 
        /* Initialise ifnet structure. */
 
-       bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
+       strcpy(ifp->if_xname, sc->sc_dev.dv_xname);
        ifp->if_softc = sc;
        ifp->if_start = ea_start;
        ifp->if_ioctl = ea_ioctl;
diff -r 808b0a33ce40 -r 25ad0a476fee sys/dev/ic/smc90cx6.c
--- a/sys/dev/ic/smc90cx6.c     Sat Jul 07 15:57:15 2001 +0000
+++ b/sys/dev/ic/smc90cx6.c     Sat Jul 07 15:57:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: smc90cx6.c,v 1.37 2000/12/14 06:27:26 thorpej Exp $ */
+/*     $NetBSD: smc90cx6.c,v 1.38 2001/07/07 15:57:53 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1994, 1995, 1998 The NetBSD Foundation, Inc.
@@ -197,7 +197,7 @@
         */
        bah_stop(sc); 
 
-       bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
+       strcpy(ifp->if_xname, sc->sc_dev.dv_xname);
        ifp->if_softc = sc;
        ifp->if_start = bah_start;
        ifp->if_ioctl = bah_ioctl;
diff -r 808b0a33ce40 -r 25ad0a476fee sys/dev/ic/tropic.c
--- a/sys/dev/ic/tropic.c       Sat Jul 07 15:57:15 2001 +0000
+++ b/sys/dev/ic/tropic.c       Sat Jul 07 15:57:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tropic.c,v 1.17 2000/12/14 17:48:23 thorpej Exp $      */
+/*     $NetBSD: tropic.c,v 1.18 2001/07/07 15:57:53 thorpej Exp $      */
 
 /* 
  * Ported to NetBSD by Onno van der Linden
@@ -340,7 +340,7 @@
        /*
         * init network-visible interface 
         */
-       bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
+       strcpy(ifp->if_xname, sc->sc_dev.dv_xname);
        ifp->if_softc = sc;
        ifp->if_ioctl = tr_ioctl;
        if (sc->sc_init_status & FAST_PATH_TRANSMIT)



Home | Main Index | Thread Index | Old Index