[PATCH 2.6.30] cxgb3: Add support for PCI ID 0x35.

Subsystems: networking drivers, the rest

STALE6452d

3 messages, 2 authors, 2009-02-19 · open the first message on its own page

[PATCH 2.6.30] cxgb3: Add support for PCI ID 0x35.

From: Divy Le Ray <hidden>
Date: 2009-02-16 04:46:31

From: Divy Le Ray <redacted>

Add support for adapters with a PCI id equal to 0x35.

Signed-off-by: Divy Le Ray <redacted>
---

 drivers/net/cxgb3/cxgb3_main.c |    1 +
 drivers/net/cxgb3/t3_hw.c      |    7 +++++++
 2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index f2c7cc3..6473084 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -90,6 +90,7 @@ static const struct pci_device_id cxgb3_pci_tbl[] = {
 	CH_DEVICE(0x30, 2),	/* T3B10 */
 	CH_DEVICE(0x31, 3),	/* T3B20 */
 	CH_DEVICE(0x32, 1),	/* T3B02 */
+	CH_DEVICE(0x35, 6),	/* T3C20-derived T3C10 */
 	{0,}
 };
 
diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/net/cxgb3/t3_hw.c
index 2d14330..ac2a974 100644
--- a/drivers/net/cxgb3/t3_hw.c
+++ b/drivers/net/cxgb3/t3_hw.c
@@ -512,6 +512,13 @@ static const struct adapter_info t3_adap_info[] = {
 	 F_GPIO5_OUT_VAL | F_GPIO6_OUT_VAL | F_GPIO10_OUT_VAL,
 	 { S_GPIO9, S_GPIO3 }, SUPPORTED_10000baseT_Full | SUPPORTED_AUI,
 	 &mi1_mdio_ext_ops, "Chelsio T320"},
+	{},
+	{},
+	{1, 0,
+	 F_GPIO1_OEN | F_GPIO2_OEN | F_GPIO4_OEN | F_GPIO6_OEN | F_GPIO7_OEN |
+	 F_GPIO10_OEN | F_GPIO1_OUT_VAL | F_GPIO6_OUT_VAL | F_GPIO10_OUT_VAL,
+	 { S_GPIO9 }, SUPPORTED_10000baseT_Full | SUPPORTED_AUI,
+	 &mi1_mdio_ext_ops, "Chelsio T310" },
 };
 
 /*

Re: [PATCH 2.6.30] cxgb3: Add support for PCI ID 0x35.

From: David Miller <davem@davemloft.net>
Date: 2009-02-19 01:49:06

From: Divy Le Ray <redacted>
Date: Sun, 15 Feb 2009 20:46:15 -0800
Add support for adapters with a PCI id equal to 0x35.

Signed-off-by: Divy Le Ray <redacted>
Adding new IDs is something we can do in net-2.6, so I'm
going to add this patch there.

Let me know if you don't want me to do that, or if there
is some dependency with net-next-2.6 that I'm not seeing.

Thanks!

Re: [PATCH 2.6.30] cxgb3: Add support for PCI ID 0x35.

From: Divy Le Ray <hidden>
Date: 2009-02-19 02:27:26

David Miller wrote:
From: Divy Le Ray <redacted>
Date: Sun, 15 Feb 2009 20:46:15 -0800

  
quoted
Add support for adapters with a PCI id equal to 0x35.

Signed-off-by: Divy Le Ray <redacted>
    
Adding new IDs is something we can do in net-2.6, so I'm
going to add this patch there.

Let me know if you don't want me to do that, or if there
is some dependency with net-next-2.6 that I'm not seeing.
  
Hi Dave,

Applying it against net-2.6 is all good.

Cheers,
Divy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help