linux_dsm_epyc7002/drivers/net/ethernet
Robert Jarzmik 8d7d9cca43 Revert "smc91x: retrieve IRQ and trigger flags in a modern way"
The commit breaks the legacy platforms, ie. these not using device-tree,
and setting up the interrupt resources with a flag to activate edge
detection. The issue was found on the zylonite platform.

The reason is that zylonite uses platform resources to pass the interrupt number
and the irq flags (here IORESOURCE_IRQ_HIGHEDGE). It expects the driver to
request the irq with these flags, which in turn setups the irq as high edge
triggered.

After the patch, this was supposed to be taken care of with :
  irq_resflags = irqd_get_trigger_type(irq_get_irq_data(ndev->irq));

But irq_resflags is 0 for legacy platforms, while for example in
arch/arm/mach-pxa/zylonite.c, in struct resource smc91x_resources[] the
irq flag is specified. This breaks zylonite because the interrupt is not
setup as triggered, and hardware doesn't provide interrupts.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-17 15:04:57 -04:00
..
3com drivers/net: Use setup_timer and mod_timer 2015-02-11 19:40:12 -08:00
8390 net: 8390: axnet_cs: Use setup_timer and mod_timer 2015-03-01 13:40:23 -05:00
adaptec
adi
aeroflex
agere et131x: use msecs_to_jiffies for conversions 2015-02-11 19:37:43 -08:00
allwinner
alteon
altera altera_tse: Fixes in NAPI and interrupt handling paths 2015-02-23 18:07:36 -05:00
amd amd-xgbe: Request IRQs only after driver is fully setup 2015-02-27 17:13:02 -05:00
apm net: eth: xgene: fix booting with devicetree 2015-03-05 15:40:10 -05:00
apple
arc
atheros
broadcom bnx2x: fix encapsulation features on 57710/57711 2015-03-16 17:05:48 -04:00
brocade
cadence net: macb: constify macb configuration data 2015-03-09 15:53:42 -04:00
calxeda
chelsio cxgb4: fix coccinelle warnings 2015-03-10 13:42:00 -04:00
cirrus Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-02-05 14:33:28 -08:00
cisco enic: do notify_check before returning credits 2015-02-27 15:53:43 -05:00
davicom
dec tulip_core.c : out-of-bounds check. 2015-03-13 12:43:25 -04:00
dlink
emulex MODULE_DEVICE_TABLE: fix some callsites 2015-02-13 21:21:40 -08:00
faraday
freescale Revert "net: fec: fix the warning found by dma debug" 2015-03-13 13:10:37 -04:00
fujitsu
hisilicon net: hip04: add missing MODULE_LICENSE 2015-02-02 18:51:03 -08:00
hp
i825xx
ibm ibmveth: enable interrupts after napi_complete() 2015-03-10 00:22:22 -04:00
icplus
intel i40e: check pointers before use 2015-02-26 04:54:03 -08:00
marvell Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-01-27 16:59:56 -08:00
mellanox net/mlx4_en: Disbale GRO for incoming loopback/selftest packets 2015-03-02 15:27:19 -05:00
micrel
microchip
moxa
myricom myri10ge: Delete an unnecessary check before the function call "kfree" 2015-02-05 00:25:10 -08:00
natsemi
neterion vxge: fix sparse warning 2015-02-05 16:07:06 -08:00
nuvoton
nvidia
nxp
octeon
oki-semi
packetengines
pasemi net: pasemi: Use setup_timer and mod_timer 2015-03-01 13:40:23 -05:00
qlogic netxen_nic: Fix trivial typos in comments 2015-03-01 13:40:22 -05:00
qualcomm
rdc
realtek r8169: Fix trivial typo in rtl_check_firmware 2015-02-24 16:26:07 -05:00
renesas sh_eth: Really fix padding of short frames on TX 2015-03-02 21:30:56 -05:00
rocker rocker: silence shift wrapping warning 2015-02-27 15:53:44 -05:00
samsung Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-02-09 14:35:57 -08:00
seeq
sfc
sgi
silan
sis
smsc Revert "smc91x: retrieve IRQ and trigger flags in a modern way" 2015-03-17 15:04:57 -04:00
stmicro stmmac: check IRQ availability early on probe 2015-03-04 15:43:26 -05:00
sun niu: fix error handling in niu_class_to_ethflow() 2015-02-28 12:58:25 -05:00
tehuti
ti Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-03-03 15:30:07 -08:00
tile tile: use %*pb[l] to print bitmaps including cpumasks and nodemasks 2015-02-13 21:21:37 -08:00
toshiba
tundra
via
wiznet net: WIZnet drivers: enable interrupts after napi_complete() 2015-03-10 00:22:54 -04:00
xilinx
xircom
xscale ethernet/ixp4xx: prevent allmulti from clobbering promisc 2015-02-20 15:49:07 -05:00
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c