c76f0793 bapt Nov. 24, 2021, 10:03 a.m.
git-subtree-dir: contrib/bsddialog
git-subtree-mainline: a46722b580567799b484b5a81728eaf380777e04
git-subtree-split: 857c66bb5f3c5651b012beb1b5ea6ba39354ea94
cgit
a46722b5 bapt Nov. 24, 2021, 10:02 a.m.
fde3fc69 bapt Nov. 24, 2021, 10:02 a.m.
It breaks intree partial builds for every library depending on ncurses
because ncursesw.a (built without PIC) will be the first the library
path for the linker to resolve -lncursesw
cgit
a2b53e53 imp Nov. 24, 2021, 9:38 a.m.
Although not part of the standard, this file is sometimes included with
-D_POSIX_C_SOURCE=<value> or -D_XOPEN_SOURCE=<value>. Limit those
sturctures that use types hidden by __BSD_VISIBLE to when they are
visible.

PR:			259975, 234205
Sponsored by:		Netflix
cgit
b3fab418 imp Nov. 24, 2021, 9:37 a.m.
Spell identifier correctly. While I'm here, further simplify.

Fixes:		ee2c52fd3fd9
Sponsored by:	Netflix
cgit
1bc9ca3b imp Nov. 24, 2021, 9:36 a.m.
Fixes:		6637b7460066
Sponsored by:	Netflix
cgit
26d65475 wma Nov. 24, 2021, 6:40 a.m.
Add driver for pcf85063 real time clock. Register set and get time
methods. Parse data obtained from bus according to specification
and fill kernel structures.

Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D32817
cgit
cb35af13 wma Nov. 24, 2021, 6:40 a.m.
Driver for tca6408 gpio expander over i2c bus. Expose API for
manipulating pin's direction, state and polarity inversion.

Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D32819
cgit
0f84feb9 wma Nov. 24, 2021, 6:40 a.m.
- Replace miibus with newly created miibus_fdt.
- Use generic passthrough resource allocation devmethods.

Obtained from: Semihalf
Sponsored by: Alstom Group
cgit
6802a86c wma Nov. 24, 2021, 6:40 a.m.
- Replace miibus with newly created miibus_fdt.
- Use generic passthrough resource allocation devmethods.

Obtained from: Semihalf
Sponsored by: Alstom Group
cgit
89595c17 wma Nov. 24, 2021, 6:40 a.m.
They're allocated using standard newbus API,
which means that we rely on miibus to handle the allocation.
Add VSC8504 to the list of supported PHYs, as it is similar enough
to the VSC8501 that is already supported by this driver.

Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D32816
cgit
0c9156fa wma Nov. 24, 2021, 6:40 a.m.
DP83822 is a 10/100 Texas Instruments PHY.
Link status change interrupts are supported by the driver,
however not all boards have the PHY interrupt wired.
Because of that if failure to allocate an IRQ is not treated as an error.

Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D32815
cgit
e85c94b8 wma Nov. 24, 2021, 6:40 a.m.
DP83867 is a 10/100/1000 Texas Instruments PHY.
Only SGMII mode is supported.
Link status changes can be checked through an interrupt generated by the PHY,
if available

Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D32813
cgit
9174eab4 wma Nov. 24, 2021, 6:40 a.m.
Create a new miibus OFW specific layer leveraging miibus_fdt.c code.
PHY drivers can than read the properties using device_get_property(9) API.
Resource(interrupt) allocation is also supported.
In order to enable this each NIC/switch driver will have to be modified,
because of how miibus is attached to the parent driver.

Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D32812
cgit
89fb4802 wma Nov. 24, 2021, 6:40 a.m.
It is used to limit the max advertised speed.
The value is read from DT by mii_fdt code.

Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D32816
cgit