Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt Remove "no IOMMU" hack.
details: https://anonhg.NetBSD.org/src/rev/699fe1878617
branches: trunk
changeset: 1023563:699fe1878617
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Sep 14 22:00:11 2021 +0000
description:
Remove "no IOMMU" hack.
diffstat:
sys/dev/fdt/dwc3_fdt.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (31 lines):
diff -r 00fb8ec56ebc -r 699fe1878617 sys/dev/fdt/dwc3_fdt.c
--- a/sys/dev/fdt/dwc3_fdt.c Tue Sep 14 21:49:31 2021 +0000
+++ b/sys/dev/fdt/dwc3_fdt.c Tue Sep 14 22:00:11 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc3_fdt.c,v 1.17 2021/08/30 22:49:42 jmcneill Exp $ */
+/* $NetBSD: dwc3_fdt.c,v 1.18 2021/09/14 22:00:11 jmcneill Exp $ */
/*-
* Copyright (c) 2018 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc3_fdt.c,v 1.17 2021/08/30 22:49:42 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc3_fdt.c,v 1.18 2021/09/14 22:00:11 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -242,12 +242,6 @@
void *ih;
u_int n;
- /* XXX IOMMUs not supported yet */
- if (of_hasprop(phandle, "iommus")) {
- aprint_error(": devices behind IOMMUs not supported\n");
- return;
- }
-
/* Find dwc3 sub-node */
if (of_compatible_lookup(phandle, compat_data_dwc3) == NULL) {
dwc3_phandle = of_find_firstchild_byname(phandle, "dwc3");
Home |
Main Index |
Thread Index |
Old Index