Make sure to skip attaching disabled I2C devices. This can happen on
authorpatrick <patrick@openbsd.org>
Thu, 11 Mar 2021 08:55:59 +0000 (08:55 +0000)
committerpatrick <patrick@openbsd.org>
Thu, 11 Mar 2021 08:55:59 +0000 (08:55 +0000)
commit69575cce025f4fd12957b33fe8eed59c4ad7f5f2
tree71f9441f51342bc10b0b2a78fd57b8dbdbe875b0
parentc39ce09e6519a69e5cea310e1fa0b7d3f5049e8f
Make sure to skip attaching disabled I2C devices.  This can happen on
hardware which include a common parent block in their device trees and
only enable the components that were actually implemented, as seen on
e.g. the NanoPi R4S.

ok kettenis@
sys/dev/fdt/rkiic.c