Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Harmonize bus_dmatag_subregion() handling with o...



details:   https://anonhg.NetBSD.org/src/rev/8088b153d6ec
branches:  trunk
changeset: 849421:8088b153d6ec
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Mar 01 15:46:32 2020 +0000

description:
Harmonize bus_dmatag_subregion() handling with other drivers.

diffstat:

 sys/dev/pci/if_stge.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 7def7c08b423 -r 8088b153d6ec sys/dev/pci/if_stge.c
--- a/sys/dev/pci/if_stge.c     Sun Mar 01 15:43:58 2020 +0000
+++ b/sys/dev/pci/if_stge.c     Sun Mar 01 15:46:32 2020 +0000
@@ -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 @@
                                         &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;



Home | Main Index | Thread Index | Old Index