lkml.org 
[lkml]   [2021]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] pcnet32: Use pci_resource_len to validate PCI resource
From
Date
Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Mon, 5 Apr 2021 21:29:22 -0700 you wrote:
> pci_resource_start() is not a good indicator to determine if a PCI
> resource exists or not, since the resource may start at address 0.
> This is seen when trying to instantiate the driver in qemu for riscv32
> or riscv64.
>
> pci 0000:00:01.0: reg 0x10: [io 0x0000-0x001f]
> pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000001f]
> ...
> pcnet32: card has no PCI IO resources, aborting
>
> [...]

Here is the summary with links:
- pcnet32: Use pci_resource_len to validate PCI resource
https://git.kernel.org/netdev/net/c/66c3f05ddc53

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2021-04-07 01:42    [W:0.038 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site