On Fri, Feb 17, 2023 at 08:27:05PM +0100, Olliver Schinagl wrote:Not at all, the rtl930x is a pure switch chip (10 serdes connecting to multiple PHY's yielding 24 - 48 (+ some SFP port) configurations, all without anything PCI related.
It is the Realtek series of SoC, specifically in my case, the RTL9302b,I see, and you want to use the already existing wifi driver ?
which doesn't have a PCI peripherial, at all :) Nor configured in the
devicetree, but of course generic_mips_kernel enables the drivers, which
should be noop. I don't see anything related to PCI during boot.
Having said that, the RTL930x series take their heritage from the RTL819x
(and probably older) wifi SoC series from realtek, which did contain a PCIe
peripherial, as that is where the (external) wifi chip was connected too.
that's just the PCIe PHY part, but not the localbus<->PCIe bridgeDo you have a programmers manual for it,If only. There are some (leaked) datasheets, that do contain the PCI
which contains details about the PCI bridge ?
registers, mostly (obviously) the rtl819x datasheets. https://github.com/libc0607/Realtek_switch_hacking/blob/files/REALTEK-RTL8196E.pdf
is one such example that contains the PCIe registers.
part. But if the wifi part of ypur SOC is directly connected to
the localbus, having the some PCI register won't help anyway.
I am afraid you need to go the route via extra Kconfig section.
Thomas.