From: kettenis Date: Tue, 2 May 2017 14:45:26 +0000 (+0000) Subject: Remove check for compatible property. Turns out sunxi relied on the broken X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=55d928d5abcc8d2449f21603a5bc1d4679d63e4d;p=openbsd Remove check for compatible property. Turns out sunxi relied on the broken check we had before rev 1.16. Suggested by jmatthew@ --- diff --git a/sys/arch/arm/mainbus/mainbus.c b/sys/arch/arm/mainbus/mainbus.c index 490527e7e4c..3d36366c95b 100644 --- a/sys/arch/arm/mainbus/mainbus.c +++ b/sys/arch/arm/mainbus/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.17 2017/04/30 22:35:33 kettenis Exp $ */ +/* $OpenBSD: mainbus.c,v 1.18 2017/05/02 14:45:26 kettenis Exp $ */ /* * Copyright (c) 2016 Patrick Wildt * Copyright (c) 2017 Mark Kettenis @@ -153,9 +153,6 @@ mainbus_attach_node(struct device *self, int node, cfmatch_t submatch) int i, len, line; uint32_t *cell, *reg; - if (OF_getproplen(node, "compatible") <= 0) - return; - memset(&fa, 0, sizeof(fa)); fa.fa_name = ""; fa.fa_node = node;