summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2022-10-09 02:32:03 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2022-10-09 02:32:03 +0000
commita43b7e2cb17dbac8f733938fa87581d1030b0a81 (patch)
treef3cc5474f00e9598903aed6cad464ae851939e5e /sys/dev
parent801c67e2cc298757d496d5453260ff5d372f3fdb (diff)
Fix typo in debug messages.
ok deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_bge.c6
-rw-r--r--sys/dev/pci/if_lge.c6
-rw-r--r--sys/dev/pci/if_nge.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c
index 68e9a387442..f86088f4720 100644
--- a/sys/dev/pci/if_bge.c
+++ b/sys/dev/pci/if_bge.c
@@ -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)) {
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c
index 4da1c21d5e3..a7c82fd78e5 100644
--- a/sys/dev/pci/if_lge.c
+++ b/sys/dev/pci/if_lge.c
@@ -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)) {
diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c
index 787e9c92506..2ea84b9e54f 100644
--- a/sys/dev/pci/if_nge.c
+++ b/sys/dev/pci/if_nge.c
@@ -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)) {