[PATCH v2 0/4] Fix rtl8169 compile warning and add a new device ID

Minda Chen minda.chen at starfivetech.com
Thu Jul 20 13:37:25 CEST 2023

StarFive JH7110 uboot support PCIe and using rtl8169 network adapter
PCIe device. But compile warning in rtl8169 driver cause CI test fail.
So commit this patch set to fix it, Also a new device ID to adjust the
PCI bar regions in rtl8169.

The StarFive JH7110 PCIe driver link, patch 4 rely on this.

previous version:
[1] https://patchwork.ozlabs.org/project/uboot/cover/20230621090540.119313-1-minda.chen@starfivetech.com/

v2: patch 1- 3 modify the commit messages.
    rebase to latest mainline codes.

patch 1 is fix make pointer from integer warning.
 eg: /home/minda/vf2/visionfive/u-boot/drivers/net/rtl8169.c:103:52: warning:
    passing argument 2 of ‘writew’ makes pointer from integer without a cast [-Wint-conversion]
patch 2 fix RISC-V 8169 descriptor less than DMA min aligned size warning
patch 3 add new device ID
patch 4 enable 8169 in JH7110 SoC configs file.

Minda Chen (4):
  net: rtl8169: Fix compile warning in rtl8169
  net: rtl8169: Fix DMA minimal aligned compile warning in RISC-V
  net: rtl8169: Add one device ID 0x8161
  configs: starfive-jh7110: Add CONFIG_RTL8169

 configs/starfive_visionfive2_defconfig |  1 +
 drivers/net/rtl8169.c                  | 22 +++++++++++++---------
 2 files changed, 14 insertions(+), 9 deletions(-)

base-commit: e6e67bb9e0a40f3eb3c87d16935192821987c3e0

More information about the U-Boot mailing list