public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Minda Chen <minda.chen@starfivetech.com>
To: Joe Hershberger <joe.hershberger@ni.com>,
	Ramon Fried <rfried.dev@gmail.com>, Leo <ycliang@andestech.com>,
	Rick Chen <rick@andestech.com>
Cc: <u-boot@lists.denx.de>, Mason Huo <mason.huo@starfivetech.com>
Subject: [PATCH v2 0/4] Fix rtl8169 compile warning and add a new device ID
Date: Thu, 20 Jul 2023 19:37:25 +0800	[thread overview]
Message-ID: <20230720113729.9798-1-minda.chen@starfivetech.com> (raw)

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.
https://patchwork.ozlabs.org/project/uboot/cover/20230720112333.9255-1-minda.chen@starfivetech.com/

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

change:
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
-- 
2.17.1


             reply	other threads:[~2023-07-20 11:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20 11:37 Minda Chen [this message]
2023-07-20 11:37 ` [PATCH v2 1/4] net: rtl8169: Fix compile warning in rtl8169 Minda Chen
2023-07-24  2:05   ` Leo Liang
2023-07-20 11:37 ` [PATCH v2 2/4] net: rtl8169: Fix DMA minimal aligned compile warning in RISC-V Minda Chen
2023-07-24  2:06   ` Leo Liang
2023-07-20 11:37 ` [PATCH v2 3/4] net: rtl8169: Add one device ID 0x8161 Minda Chen
2023-07-24  2:07   ` Leo Liang
2023-07-20 11:37 ` [PATCH v2 4/4] configs: starfive-jh7110: Add CONFIG_RTL8169 Minda Chen
2023-07-24  1:41   ` Leo Liang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230720113729.9798-1-minda.chen@starfivetech.com \
    --to=minda.chen@starfivetech.com \
    --cc=joe.hershberger@ni.com \
    --cc=mason.huo@starfivetech.com \
    --cc=rfried.dev@gmail.com \
    --cc=rick@andestech.com \
    --cc=u-boot@lists.denx.de \
    --cc=ycliang@andestech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox