[PATCH] net: rtl8169: add depends on PCI
Tom Rini
trini at konsulko.com
Wed Jun 14 21:51:37 CEST 2023
On Wed, May 17, 2023 at 01:41:24PM +0300, Eugen Hristev wrote:
> The rtl8169 driver uses calls to dm_pci_bus_to_phys,
> which are compiled under CONFIG_PCI.
>
> Without CONFIG_PCI, this happens:
>
> drivers/net/rtl8169.o: in function `rtl_recv_common':
> drivers/net/rtl8169.c:555: undefined reference to `dm_pci_bus_to_phys'
>
> It is only natural that this driver depends on CONFIG_PCI then.
> The device does not work connected in another way anyway, and the driver
> does not assume anything else at this moment.
>
> Signed-off-by: Eugen Hristev <eugen.hristev at collabora.com>
> Reviewed-by: Ramon Fried <rfried.dev at gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230614/e537096b/attachment.sig>
More information about the U-Boot
mailing list