Page MenuHomeFreeBSD

Use linker sets for definition of FDT UARTs
ClosedPublic

Authored by mmel on Mar 1 2015, 3:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 6:45 AM
Unknown Object (File)
Sep 20 2023, 10:22 PM
Unknown Object (File)
Aug 24 2023, 9:28 AM
Unknown Object (File)
Jul 15 2023, 10:12 PM
Unknown Object (File)
Jul 3 2023, 7:49 AM
Unknown Object (File)
Jun 26 2023, 11:10 PM
Unknown Object (File)
May 10 2023, 9:37 PM
Unknown Object (File)
Apr 20 2023, 12:14 PM
Subscribers
None

Details

Reviewers
andrew
imp
ian
Summary

Define new linker set, UART_FDT_CLASS_AND_DEVICE, for registering full (class and device) FDT UART.
Define second one, UART_FDT_CLASS, for UART class only.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mmel retitled this revision from to Use linker sets for definition of FDT UARTs.
mmel updated this object.
mmel edited the test plan for this revision. (Show Details)
mmel added reviewers: ian, andrew, imp.
imp edited edge metadata.
This revision is now accepted and ready to land.Mar 1 2015, 4:16 PM
ian edited edge metadata.

At first I was a bit confused by all this, but after looking at the related D1993 it all makes sense.

sys/dev/uart/uart_cpu_fdt.c
200

we should probably change this to OF_getencprop() and the else+swap can go away.

Closed by commit rS279723 (authored by @ian).