Now that com(4) uses a different iot for the initial console and the
authorpatrick <patrick@openbsd.org>
Mon, 15 Aug 2016 21:04:32 +0000 (21:04 +0000)
committerpatrick <patrick@openbsd.org>
Mon, 15 Aug 2016 21:04:32 +0000 (21:04 +0000)
commit4ad296a89635e5c99e55048c3c3def266da95154
treec36eb8349488ed5a221e91bb70dd98046b823a71
parent6f9a6a58fd06c1e8eea6ef20f22f4369b66fe750
Now that com(4) uses a different iot for the initial console and the
main attachment, the serial port is now longer recognized as console.
To fix this, store the OFW node of the initial console and check it
in the attachment driver.

ok kettenis@
sys/arch/armv7/armv7/armv7_machdep.c
sys/arch/armv7/armv7/armv7_machdep.h
sys/arch/armv7/dev/com_fdt.c