ARCNET: add support for multi interfaces on com20020
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Mon, 29 Sep 2014 09:55:37 +0000 (11:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Sep 2014 18:36:26 +0000 (14:36 -0400)
commitc51da42a6346c0c747e70a4f5ae873da1150a784
treeb2a03fe83a1fc7f2cfb8ba864f8f93ce480e8261
parent8c14f9c70327a6fb75534c4c61d7ea9c82ccf78f
ARCNET: add support for multi interfaces on com20020

The com20020-pci driver is currently designed to instance
one netdev with one pci device. This patch adds support to
instance many cards with one pci device, depending on the device
data in the private data.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arcnet/com20020-pci.c
drivers/net/arcnet/com20020_cs.c
include/linux/com20020.h