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>,
	Minda Chen <minda.chen@starfivetech.com>
Subject: [PATCH v1 0/4] Fix rtl8169 compile warning and add a new device ID
Date: Wed, 21 Jun 2023 17:05:36 +0800	[thread overview]
Message-ID: <20230621090540.119313-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:
https://patchwork.ozlabs.org/project/uboot/cover/20230509082617.119018-1-minda.chen@starfivetech.com/

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 network adapter
  net: rtl8169: Fix DMA min aligned compile warning in riscv
  net: rtl8169: Add one more device ID
  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: 50842b217fef505a0ec6662cc2acdc55d0bb23c5
-- 
2.17.1


             reply	other threads:[~2023-06-21  9:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-21  9:05 Minda Chen [this message]
2023-06-21  9:05 ` [PATCH v1 1/4] net: rtl8169: Fix compile warning in rtl8169 network adapter Minda Chen
2023-07-22  8:55   ` Ramon Fried
2023-06-21  9:05 ` [PATCH v1 2/4] net: rtl8169: Fix DMA min aligned compile warning in riscv Minda Chen
2023-07-22  8:56   ` Ramon Fried
2023-06-21  9:05 ` [PATCH v1 3/4] net: rtl8169: Add one more device ID Minda Chen
2023-07-22  8:56   ` Ramon Fried
2023-06-21  9:05 ` [PATCH v1 4/4] configs: starfive-jh7110: Add CONFIG_RTL8169 Minda Chen
2023-07-05  1:54 ` [PATCH v1 0/4] Fix rtl8169 compile warning and add a new device ID Minda Chen

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=20230621090540.119313-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