CVS commit: src/sys/dev/fdt

"Jason R Thorpe" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	thorpej
Date:		Fri Aug  7 14:31:36 UTC 2026

Modified Files:
	src/sys/dev/fdt: dw_apb_uart.c fdt_subr.c fdtvar.h ns8250_uart.c
	    pcfiic_fdt.c wdc_fdt.c

Log Message:
Add fdtbus_get_reg_shift() to get the "reg-shift" property and provide
a default value, rather than open-coding it everywhere it's used.  It's
common enough in various device bindings, and ePAPR describes it as a
generic device property.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/fdt/dw_apb_uart.c
cvs rdiff -u -r1.42 -r1.43 src/sys/dev/fdt/fdt_subr.c
cvs rdiff -u -r1.86 -r1.87 src/sys/dev/fdt/fdtvar.h
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/fdt/ns8250_uart.c
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/fdt/pcfiic_fdt.c \
    src/sys/dev/fdt/wdc_fdt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.