linux/drivers/net/ethernet
Guenter Roeck 66c3f05ddc pcnet32: Use pci_resource_len to validate PCI resource
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

Use pci_resouce_len() instead.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-06 16:30:17 -07:00
..
3com
8390
adaptec
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-02-10 13:30:12 -08:00
amd pcnet32: Use pci_resource_len to validate PCI resource 2021-04-06 16:30:17 -07:00
apm
apple
aquantia net: ethernet: aquantia: Handle error cleanup of start on open 2021-02-11 14:38:06 -08:00
arc
atheros ethernet: alx: fix order of calls on resume 2021-03-05 15:05:33 -08:00
broadcom net: broadcom: bcm4908enet: Fix a double free in bcm4908_enet_dma_alloc 2021-04-06 16:15:21 -07:00
brocade
cadence net: macb: restore cmp registers on resume path 2021-04-02 14:29:49 -07:00
calxeda
cavium
chelsio cxgb4: avoid collecting SGE_QBASE regs during traffic 2021-03-29 16:16:14 -07:00
cirrus
cisco
cortina
davicom net: davicom: Use platform_get_irq_optional() 2021-03-08 12:01:58 -08:00
dec
dlink
emulex
ezchip
faraday ftgmac100: Restart MAC HW once 2021-03-12 16:54:07 -08:00
freescale gianfar: Handle error code at MAC address change 2021-03-29 13:45:41 -07:00
fujitsu
google
hisilicon net: hns3: Remove un-necessary 'else-if' in the hclge_reset_event() 2021-04-05 15:02:41 -07:00
huawei
i825xx
ibm Merge git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/net 2021-03-09 17:15:56 -08:00
intel i40e: Fix display statistics for veb_tc 2021-04-01 09:27:38 -07:00
marvell octeontx2-af: Fix memory leak of object buf 2021-03-24 12:33:06 -07:00
mediatek net: ethernet: mtk-star-emac: fix wrong unmap in RX handling 2021-03-02 15:28:07 -08:00
mellanox net/mlx5e: Guarantee room for XSK wakeup NOP on async ICOSQ 2021-03-31 13:12:24 -07:00
micrel
microchip lan743x: trim all 4 bytes of the FCS; not just 2 2021-03-05 14:42:55 -08:00
moxa
mscc net: mscc: ocelot: properly reject destination IP keys in VCAP IS1 2021-03-04 14:16:24 -08:00
myricom ethernet: myri10ge: Fix a use after free in myri10ge_sw_tso 2021-03-29 13:41:17 -07:00
natsemi
neterion
netronome nfp: flower: ignore duplicate merge hints from FW 2021-03-30 16:58:03 -07:00
ni
nvidia
nxp
oki-semi
packetengines
pasemi
pensando ionic: linearize tso skb with too many frags 2021-03-17 11:27:30 -07:00
qlogic net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template 2021-03-11 18:08:14 -08:00
qualcomm
rdc
realtek r8169: fix DMA being used after buffer free if WoL is enabled 2021-03-20 19:01:41 -07:00
renesas sh_eth: fix TRSCER mask for R7S9210 2021-03-01 13:22:34 -08:00
rocker net: switchdev: pass flags and mask to both {PRE_,}BRIDGE_FLAGS attributes 2021-02-12 17:08:04 -08:00
samsung net: phy: rename PHY_IGNORE_INTERRUPT to PHY_MAC_INTERRUPT 2021-02-15 15:20:49 -08:00
seeq
sfc
sgi
silan
sis
smsc
socionext netsec: restore phy power state after controller reset 2021-03-18 11:22:04 -07:00
stmicro net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes 2021-03-19 13:44:06 -07:00
sun sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count 2021-03-05 13:00:38 -08:00
synopsys
tehuti net: tehuti: fix error return code in bdx_probe() 2021-03-05 12:59:32 -08:00
ti Devicetree updates for v5.12: 2021-02-22 10:05:12 -08:00
toshiba
tundra
via
wiznet
xilinx net: axienet: allow setups without MDIO 2021-03-25 16:49:40 -07:00
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
lantiq_xrx200.c
Makefile