Skip to content

Commit

Permalink
com20020-pci: add support for eae single card
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
mgrzeschik authored and davem330 committed Feb 15, 2015
1 parent 0960b64 commit d95e2fe
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions drivers/net/arcnet/com20020-pci.c
Expand Up @@ -214,8 +214,17 @@ 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",
static struct com20020_pci_card_info card_info_eae_arc1 = {
.name = "EAE PLX-PCI ARC1",
.devcount = 1,
.chan_map_tbl = {
{ 2, 0x00, 0x08 },
},
.flags = ARC_CAN_10MBIT,
};

static struct com20020_pci_card_info card_info_eae_ma1 = {
.name = "EAE PLX-PCI MA1",
.devcount = 2,
.chan_map_tbl = {
{ 2, 0x00, 0x08 },
Expand Down Expand Up @@ -357,11 +366,17 @@ static const struct pci_device_id com20020pci_id_table[] = {
0, 0,
(kernel_ulong_t)&card_info_sohard
},
{
0x10B5, 0x9050,
0x10B5, 0x3263,
0, 0,
(kernel_ulong_t)&card_info_eae_arc1
},
{
0x10B5, 0x9050,
0x10B5, 0x3292,
0, 0,
(kernel_ulong_t)&card_info_eae
(kernel_ulong_t)&card_info_eae_ma1
},
{
0x14BA, 0x6000,
Expand Down

0 comments on commit d95e2fe

Please sign in to comment.