Fix typo in debug messages.
authorkevlo <kevlo@openbsd.org>
Sun, 9 Oct 2022 02:32:02 +0000 (02:32 +0000)
committerkevlo <kevlo@openbsd.org>
Sun, 9 Oct 2022 02:32:02 +0000 (02:32 +0000)
ok deraadt@

sys/dev/pci/if_bge.c
sys/dev/pci/if_lge.c
sys/dev/pci/if_nge.c

index 68e9a38..f86088f 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: if_bge.c,v 1.398 2022/03/11 18:00:45 mpi Exp $        */
+/*     $OpenBSD: if_bge.c,v 1.399 2022/10/09 02:32:02 kevlo Exp $      */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -2961,14 +2961,14 @@ bge_attach(struct device *parent, struct device *self, void *aux)
                    sizeof(struct bge_ring_data));
                goto fail_3;
        }
-       DPRINTFN(5, ("bus_dmamem_create\n"));
+       DPRINTFN(5, ("bus_dmamap_create\n"));
        if (bus_dmamap_create(sc->bge_dmatag, sizeof(struct bge_ring_data), 1,
            sizeof(struct bge_ring_data), 0,
            BUS_DMA_NOWAIT, &sc->bge_ring_map)) {
                printf(": can't create dma map\n");
                goto fail_4;
        }
-       DPRINTFN(5, ("bus_dmamem_load\n"));
+       DPRINTFN(5, ("bus_dmamap_load\n"));
        if (bus_dmamap_load(sc->bge_dmatag, sc->bge_ring_map, kva,
                            sizeof(struct bge_ring_data), NULL,
                            BUS_DMA_NOWAIT)) {
index 4da1c21..a7c82fd 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: if_lge.c,v 1.78 2022/03/11 18:00:45 mpi Exp $ */
+/*     $OpenBSD: if_lge.c,v 1.79 2022/10/09 02:32:02 kevlo Exp $       */
 /*
  * Copyright (c) 2001 Wind River Systems
  * Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -475,14 +475,14 @@ lge_attach(struct device *parent, struct device *self, void *aux)
                       sc->sc_dv.dv_xname, sizeof(struct lge_list_data));
                goto fail_3;
        }
-       DPRINTFN(5, ("bus_dmamem_create\n"));
+       DPRINTFN(5, ("bus_dmamap_create\n"));
        if (bus_dmamap_create(sc->sc_dmatag, sizeof(struct lge_list_data), 1,
                              sizeof(struct lge_list_data), 0,
                              BUS_DMA_NOWAIT, &dmamap)) {
                printf("%s: can't create dma map\n", sc->sc_dv.dv_xname);
                goto fail_4;
        }
-       DPRINTFN(5, ("bus_dmamem_load\n"));
+       DPRINTFN(5, ("bus_dmamap_load\n"));
        if (bus_dmamap_load(sc->sc_dmatag, dmamap, kva,
                            sizeof(struct lge_list_data), NULL,
                            BUS_DMA_NOWAIT)) {
index 787e9c9..2ea84b9 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: if_nge.c,v 1.96 2022/03/11 18:00:48 mpi Exp $ */
+/*     $OpenBSD: if_nge.c,v 1.97 2022/10/09 02:32:02 kevlo Exp $       */
 /*
  * Copyright (c) 2001 Wind River Systems
  * Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -768,14 +768,14 @@ nge_attach(struct device *parent, struct device *self, void *aux)
                       sc->sc_dv.dv_xname, sizeof(struct nge_list_data));
                goto fail_3;
        }
-       DPRINTFN(5, ("%s: bus_dmamem_create\n", sc->sc_dv.dv_xname));
+       DPRINTFN(5, ("%s: bus_dmamap_create\n", sc->sc_dv.dv_xname));
        if (bus_dmamap_create(sc->sc_dmatag, sizeof(struct nge_list_data), 1,
                              sizeof(struct nge_list_data), 0,
                              BUS_DMA_NOWAIT, &dmamap)) {
                printf("%s: can't create dma map\n", sc->sc_dv.dv_xname);
                goto fail_4;
        }
-       DPRINTFN(5, ("%s: bus_dmamem_load\n", sc->sc_dv.dv_xname));
+       DPRINTFN(5, ("%s: bus_dmamap_load\n", sc->sc_dv.dv_xname));
        if (bus_dmamap_load(sc->sc_dmatag, dmamap, kva,
                            sizeof(struct nge_list_data), NULL,
                            BUS_DMA_NOWAIT)) {