linux_dsm_epyc7002/drivers/net/ethernet/marvell
Stephen Hemminger a9e9fd7182 skge: handle irq better on single port card
Most boards with SysKonnect/Marvell Ethernet have only a single port.
For the single port case, use the standard Ethernet driver convention
of allocating IRQ when device is brought up rather than at probe time.

This patch also adds some additional read after writes to avoid any
PCI posting problems when setting the IRQ mask.

The error handling of dual port cards is also changed.  If second port
can not be brought up, then just fail. No point in continuing, since
the failure is most certainly because of out of memory.

It is worth noting that the dual port skge device has a single irq but two
seperate status rings and therefore has two NAPI objects, one for
each port.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-09-27 13:41:37 -04:00
..
Kconfig drivers/net/ethernet/*: Enabled vendor Kconfig options 2011-08-27 00:58:56 -07:00
Makefile
mv643xx_eth.c mv643xx: convert to SKB paged frag API. 2011-09-15 15:34:59 -04:00
pxa168_eth.c Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
skge.c skge: handle irq better on single port card 2011-09-27 13:41:37 -04:00
skge.h
sky2.c sky2: manage irq better on single port card 2011-09-27 00:51:06 -04:00
sky2.h