Re: [PATCH 1/2] net: rtl8139: remove dependence on MIPS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 08, 2023 at 11:13:06AM +0300, Denis Orlov wrote:
> This driver seems to work fine on ARM64 Virtual Machine in QEMU.
> 
> Signed-off-by: Denis Orlov <denorl2009@xxxxxxxxx>
> ---
>  drivers/net/Kconfig   | 1 -
>  drivers/net/rtl8139.c | 2 --
>  2 files changed, 3 deletions(-)

Applied including the fixup!

Thanks,
 Sascha

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

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux