diff options
| author | andvar <andvar@NetBSD.org> | 2022-10-11 22:03:37 +0000 |
|---|---|---|
| committer | andvar <andvar@NetBSD.org> | 2022-10-11 22:03:37 +0000 |
| commit | 089d55cc358773eb8dd1528ca8dc0dca9b1722c9 (patch) | |
| tree | 5a5f1b1117c61557d5224f3f8c966cd299707cc3 /sys/dev | |
| parent | d47d18b4788b571c5252e7196e10186b40e0cfcf (diff) | |
fix typos in log messages s/bus_dmamem_create/bus_dmamap_create/ and
s/bus_dmamem_load/bus_dmamap_load/.
Inspired by recent similar fixes in OpenBSD.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/if_bge.c | 8 | ||||
| -rw-r--r-- | sys/dev/pci/vioscsi.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 00a5ab0e0fa..bef317e4c33 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_bge.c,v 1.387 2022/09/04 08:55:43 skrll Exp $ */ +/* $NetBSD: if_bge.c,v 1.388 2022/10/11 22:03:37 andvar Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -79,7 +79,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.387 2022/09/04 08:55:43 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.388 2022/10/11 22:03:37 andvar Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -3814,7 +3814,7 @@ bge_attach(device_t parent, device_t self, void *aux) sc->bge_ring_rseg); return; } - 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_WAITOK, &sc->bge_ring_map)) { @@ -3825,7 +3825,7 @@ bge_attach(device_t parent, device_t self, void *aux) sc->bge_ring_rseg); return; } - 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_WAITOK)) { diff --git a/sys/dev/pci/vioscsi.c b/sys/dev/pci/vioscsi.c index ae40436858b..77d98c2c455 100644 --- a/sys/dev/pci/vioscsi.c +++ b/sys/dev/pci/vioscsi.c @@ -1,4 +1,4 @@ -/* $NetBSD: vioscsi.c,v 1.29 2022/01/27 18:38:07 jakllsch Exp $ */ +/* $NetBSD: vioscsi.c,v 1.30 2022/10/11 22:03:37 andvar Exp $ */ /* $OpenBSD: vioscsi.c,v 1.3 2015/03/14 03:38:49 jsg Exp $ */ /* @@ -18,7 +18,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.29 2022/01/27 18:38:07 jakllsch Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vioscsi.c,v 1.30 2022/10/11 22:03:37 andvar Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -614,7 +614,7 @@ vioscsi_alloc_reqs(struct vioscsi_softc *sc, struct virtio_softc *vsc, BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW, &vr->vr_control); if (r != 0) { aprint_error_dev(sc->sc_dev, - "%s: bus_dmamem_create ctrl failed, error %d\n", + "%s: bus_dmamap_create ctrl failed, error %d\n", __func__, r); goto cleanup; } @@ -623,7 +623,7 @@ vioscsi_alloc_reqs(struct vioscsi_softc *sc, struct virtio_softc *vsc, MAXPHYS, 0, BUS_DMA_NOWAIT|BUS_DMA_ALLOCNOW, &vr->vr_data); if (r != 0) { aprint_error_dev(sc->sc_dev, - "%s: bus_dmamem_create data failed, error %d\n", + "%s: bus_dmamap_create data failed, error %d\n", __func__, r); goto cleanup; } |
