linux/drivers/net/ethernet/marvell
Ezequiel Garcia 39076b047b net: mvmdio: Check for a valid interrupt instead of an error
The following commit:

commit 9ec36cafe4
Author: Rob Herring <robh@kernel.org>
Date:   Wed Apr 23 17:57:41 2014 -0500

    of/irq: do irq resolution in platform_get_irq

changed platform_get_irq() which now returns EINVAL and EPROBE_DEFER,
in addition to ENXIO. If there's no interrupt for mvmdio, platform_get_irq()
returns EINVAL, but we currently check only for ENXIO.

Fix this by looking for a positive integer, which is the proper way of
validating a virtual interrupt number.

While at it, add a proper handling for the deferral probe case.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Reviewed-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-02 16:18:54 -04:00
..
Kconfig net: ethernet: update dependency and help text of mvneta 2014-02-18 18:09:02 -05:00
Makefile mv643xx_eth: convert to use the Marvell Orion MDIO driver 2013-03-22 10:25:15 -04:00
mv643xx_eth.c mv643xx_eth: Call dev_kfree_skb_any instead of dev_kfree_skb. 2014-03-24 21:19:05 -07:00
mvmdio.c net: mvmdio: Check for a valid interrupt instead of an error 2014-05-02 16:18:54 -04:00
mvneta.c net: mvneta: properly configure the MAC <-> PHY connection in all situations 2014-04-16 14:36:12 -04:00
pxa168_eth.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
skge.c skge: Call dev_kfree/consume_skb_any instead of dev_kfree_skb. 2014-03-24 21:19:05 -07:00
skge.h
sky2.c sky2: Call dev_kfree_skb_any instead of dev_kfree_skb. 2014-03-24 21:19:06 -07:00
sky2.h sky2: Receive Overflows not counted 2013-03-29 14:53:19 -04:00