linux/drivers/net/ethernet/cadence
Nicolas Ferre 2839038bb1 net/at91_ether: use gpio_is_valid for phy IRQ line
Use the generic gpiolib gpio_is_valid() function to test
if the phy IRQ line GPIO is actually provided.

For non-connected or non-existing phy IRQ lines, -EINVAL
value is used for phy_irq_pin field of struct at91_eth_data.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: David S. Miller <davem@davemloft.net>
2011-12-16 13:11:21 +01:00
..
at91_ether.c net/at91_ether: use gpio_is_valid for phy IRQ line 2011-12-16 13:11:21 +01:00
at91_ether.h macb: unify at91 and avr32 platform data 2011-11-22 15:21:16 +00:00
Kconfig macb: initial support for Cadence GEM 2011-11-22 15:21:17 +00:00
macb.c net/macb: add DT support for Cadence macb/gem driver 2011-12-16 13:11:00 +01:00
macb.h net/macb: add DT support for Cadence macb/gem driver 2011-12-16 13:11:00 +01:00
Makefile