diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2014-09-29 13:55:38 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-29 22:36:26 +0400 |
commit | 5b85bad2a473a8b90cac93d21ab024ba221a8b09 (patch) | |
tree | 58f6e51300fb344252e171ce4b167498e6be81e3 | |
parent | c51da42a6346c0c747e70a4f5ae873da1150a784 (diff) | |
download | linux-5b85bad2a473a8b90cac93d21ab024ba221a8b09.tar.xz |
ARCNET: enable eae arcnet card support
This patch adds support for the EAE arcnet cards
which has two Interfaces.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/arcnet/com20020-pci.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/arcnet/com20020-pci.c b/drivers/net/arcnet/com20020-pci.c index fe87576bae3c..6c99ff0b0bdd 100644 --- a/drivers/net/arcnet/com20020-pci.c +++ b/drivers/net/arcnet/com20020-pci.c @@ -211,6 +211,16 @@ static struct com20020_pci_card_info card_info_sohard = { .flags = ARC_CAN_10MBIT, }; +static struct com20020_pci_card_info card_info_eae = { + .name = "EAE PLX-PCI", + .devcount = 2, + .chan_map_tbl = { + { 2, 0x00, 0x08 }, + { 2, 0x08, 0x08 } + }, + .flags = ARC_CAN_10MBIT, +}; + static const struct pci_device_id com20020pci_id_table[] = { { 0x1571, 0xa001, @@ -345,6 +355,12 @@ static const struct pci_device_id com20020pci_id_table[] = { (kernel_ulong_t)&card_info_sohard }, { + 0x10B5, 0x9050, + 0x10B5, 0x3292, + 0, 0, + (kernel_ulong_t)&card_info_eae + }, + { 0x14BA, 0x6000, PCI_ANY_ID, PCI_ANY_ID, 0, 0, |