summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2020-03-01 15:46:32 +0000
committerthorpej <thorpej@NetBSD.org>2020-03-01 15:46:32 +0000
commitbc014d1292d8e38d842d72e25a43195622bc8b5a (patch)
tree130a6d5f2d522d940d2abfe09befa89c2dffcdfc /sys/dev
parent30b23a40901da693e84bf9ea583d692247f06529 (diff)
Harmonize bus_dmatag_subregion() handling with other drivers.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_stge.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_stge.c b/sys/dev/pci/if_stge.c
index 5f950b0ebac..665c9446e68 100644
--- a/sys/dev/pci/if_stge.c
+++ b/sys/dev/pci/if_stge.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_stge.c,v 1.80 2020/02/29 20:39:09 thorpej Exp $ */
+/* $NetBSD: if_stge.c,v 1.81 2020/03/01 15:46:32 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_stge.c,v 1.80 2020/02/29 20:39:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_stge.c,v 1.81 2020/03/01 15:46:32 thorpej Exp $");
#include <sys/param.h>
@@ -454,8 +454,8 @@ stge_attach(device_t parent, device_t self, void *aux)
&sc->sc_dmat,
BUS_DMA_WAITOK) != 0) {
aprint_error_dev(self,
- "unable to create 40-bit DMA tag\n");
- return;
+ "WARNING: failed to restrict dma range,"
+ " falling back to parent bus dma range\n");
}
} else {
sc->sc_dmat = pa->pa_dmat;