linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de
Subject: [PATCH 5/5] ARCNET: enable eae arcnet card support
Date: Wed, 24 Sep 2014 13:02:03 +0200	[thread overview]
Message-ID: <1411556523-28100-6-git-send-email-m.grzeschik@pengutronix.de> (raw)
In-Reply-To: <1411556523-28100-1-git-send-email-m.grzeschik@pengutronix.de>

This patch adds support for the EAE arcnet cards
which has two Interfaces.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
 drivers/net/arcnet/com20020-pci.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/drivers/net/arcnet/com20020-pci.c b/drivers/net/arcnet/com20020-pci.c
index 7437174c..d17e1c7 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 DEFINE_PCI_DEVICE_TABLE(com20020pci_id_table) = {
 	{
 		0x1571, 0xa001,
@@ -345,6 +355,12 @@ static DEFINE_PCI_DEVICE_TABLE(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,
-- 
2.1.0


  parent reply	other threads:[~2014-09-24 11:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24 11:01 [PATCH 0/5] ARCNET: add support for EAE multi interfac card Michael Grzeschik
2014-09-24 11:01 ` [PATCH 1/5] ARCNET: return IRQ_NONE if the interface isn't running Michael Grzeschik
2014-09-24 11:02 ` [PATCH 2/5] ARCNET: add com20020_set_hwddr to change address Michael Grzeschik
2014-09-24 11:02 ` [PATCH 3/5] ARCNET: add com20020 PCI IDs with metadata Michael Grzeschik
2014-09-24 11:02 ` [PATCH 4/5] ARCNET: add support for multi interfaces on com20020 Michael Grzeschik
2014-09-24 11:02 ` Michael Grzeschik [this message]
2014-09-24 13:29 ` [PATCH 0/5] ARCNET: add support for EAE multi interfac card Michael Grzeschik
2014-09-24 13:41 Michael Grzeschik
2014-09-24 13:41 ` [PATCH 5/5] ARCNET: enable eae arcnet card support Michael Grzeschik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1411556523-28100-6-git-send-email-m.grzeschik@pengutronix.de \
    --to=m.grzeschik@pengutronix.de \
    --cc=kernel@pengutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).