Add r8169 to linux-rpi
With the release of the Raspberry Pi CM4, there's a new set of Compute Module carrier boards coming out, such as this nifty little router-board from DFRobot, which adds two ethernet ports to the CM4.
It uses the onboard Broadcom ethernet support from the SoC to provide one of the two ethernet ports on the board, but the other is provided by a Realtek chipset which can be driven by the r8169 driver:
$ cut -f1,2,18 /proc/bus/pci/devices 0000 14e42711 0100 10ec8168
Searching for the relevant kernel object shows that this driver is enabled in the
linux-lts kernel used on
x86_64 and on vanilla ARM systems but it's not enabled for the
linux-rpi build (I guess that makes sense since until these carrier boards came along there'd be no need for it).
I'd like to propose adding:
To the kernel config file at
linux-rpi/config-changes-rpi.armhf, so that this board and others using this chipset will be supported by future releases of Alpine on the Pi. Alpine is a perfect match for a mini router board like this one and it would be great to be able to use it.