diff options
| author | thorpej <thorpej@NetBSD.org> | 2020-03-07 07:33:39 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2020-03-07 07:33:39 +0000 |
| commit | caa4796c978da4646f984de4cdd8f027f5f44d8d (patch) | |
| tree | 12189480a86de34c751c602af6b08fc618199763 /sys/dev | |
| parent | 730f814a764d173b38fd841f1b4910973d514d40 (diff) | |
If bus_dmatag_subregion(), actually fall back on the base 64-bit
DMA tag.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/if_stge.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_stge.c b/sys/dev/pci/if_stge.c index f01baa3bda4..9c78d30e130 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.83 2020/03/02 15:13:23 thorpej Exp $ */ +/* $NetBSD: if_stge.c,v 1.84 2020/03/07 07:33:39 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.83 2020/03/02 15:13:23 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_stge.c,v 1.84 2020/03/07 07:33:39 thorpej Exp $"); #include <sys/param.h> @@ -456,6 +456,7 @@ stge_attach(device_t parent, device_t self, void *aux) aprint_error_dev(self, "WARNING: failed to restrict dma range," " falling back to parent bus dma range\n"); + sc->sc_dmat = pa->pa_dmat64; } } else { sc->sc_dmat = pa->pa_dmat; |
