Change OF_getnodebyname() such that lokking up a node using just the name
authorkettenis <kettenis@openbsd.org>
Sun, 11 Sep 2022 08:33:03 +0000 (08:33 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 11 Sep 2022 08:33:03 +0000 (08:33 +0000)
commita4fa68764dee46c3d376031e17913b52c65045a0
treee24ad674fdb68e4f4c734ffb581f694e72553399
parent35c2a5e8e89abf30d18567198f4421cbdc3ee838
Change OF_getnodebyname() such that lokking up a node using just the name
without a unit number (so without the @1234 bit) works as well.

ok patrick@, gkoehler@
sys/dev/ofw/fdt.c