]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e50aeca382a9af9c3dd78abd2da343972951186
treeb2a03fe83a1fc7f2cfb8ba864f8f93ce480e8261
parent31e4bbb26b0424d7698feb7aa841db464dd33808
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