mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Denis Orlov <denorl2009@gmail.com>
To: barebox@lists.infradead.org
Cc: Denis Orlov <denorl2009@gmail.com>
Subject: [PATCH 1/2] net: rtl8139: remove dependence on MIPS
Date: Wed,  8 Feb 2023 11:13:06 +0300	[thread overview]
Message-ID: <20230208081307.3190117-1-denorl2009@gmail.com> (raw)

This driver seems to work fine on ARM64 Virtual Machine in QEMU.

Signed-off-by: Denis Orlov <denorl2009@gmail.com>
---
 drivers/net/Kconfig   | 1 -
 drivers/net/rtl8139.c | 2 --
 2 files changed, 3 deletions(-)

diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 30de1f544c..86096c07e2 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -232,7 +232,6 @@ config DRIVER_NET_ORION
 config DRIVER_NET_RTL8139
 	bool "RealTek RTL-8139 PCI Ethernet driver"
 	depends on PCI
-	depends on MIPS
 	select PHYLIB
 	help
 	  This is a driver for the Fast Ethernet PCI network cards based on
diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c
index bea888f08d..617a60bfcb 100644
--- a/drivers/net/rtl8139.c
+++ b/drivers/net/rtl8139.c
@@ -10,8 +10,6 @@
 #include <linux/phy.h>
 #include <linux/pci.h>
 
-#include <asm/dma-mapping.h>
-
 #define RTL8139_DEBUG
 #undef RTL8139_DEBUG
 
-- 
2.30.2




             reply	other threads:[~2023-02-08  8:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-08  8:13 Denis Orlov [this message]
2023-02-08  8:13 ` [PATCH 2/2] net: rtl8139: fix ifdown/ifup issues Denis Orlov
2023-02-08  8:37 ` [PATCH 1/2] net: rtl8139: remove dependence on MIPS Sascha Hauer

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=20230208081307.3190117-1-denorl2009@gmail.com \
    --to=denorl2009@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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