NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-evbarm/56650 (sunxidrm fails to attach a console on pinebook)



Synopsis: sunxidrm fails to attach a console on pinebook

State-Changed-From-To: open->closed
State-Changed-By: macallan%NetBSD.org@localhost
State-Changed-When: Sun, 27 Mar 2022 16:06:25 +0000
State-Changed-Why:
committed a fix a while ago
Module Name:	src
Committed By:	macallan
Date:		Fri Jan 21 21:00:26 UTC 2022

Modified Files:
	src/sys/dev/fdt: fdt_port.c

Log Message:
when enumerating ports and endpoints treat missing 'reg' properties as zero
ok jmcneill:
Looking at Linux. If port or endpoint are missing a 'reg' property it defaults to 0.
Please make our code do the same.

see https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/graph.yaml

with this my pinebook has a usable console again


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/fdt/fdt_port.c





Home | Main Index | Thread Index | Old Index