FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 02-28-2010, 11:14 PM
Jerone Young
 
Default Add support for Broadcom Ethernet 5716 & 5716S

Impact:
Many servers shipped last year have Broadcom Ethernet 5716 & 5716S
cards. They currently are not functional with 8.04.

https://bugs.launchpad.net/ubuntu/hardy/+source/linux/+bug/435185

Fix:
Two patches attached to this email add PCI IDs to the driver. Patches
based on upstream stable commits.

Testcase:
Ethernet works after patches are applied.

Based on upstream commit, though modification made for 2.6.26:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=commit;h=7bb0a04fcd610e5db59690332b 2a46b6068c8bc3

Adding support for BCM5716

Signed-off-by: Jerone Young <jerone.young@canonical.com>

diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index e9cfb02..989d4b6 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -87,6 +87,7 @@ typedef enum {
BCM5708S,
BCM5709,
BCM5709S,
+ BCM5716,
} board_t;

/* indexed by board_t, above */
@@ -102,9 +103,10 @@ static struct {
{ "Broadcom NetXtreme II BCM5708 1000Base-SX" },
{ "Broadcom NetXtreme II BCM5709 1000Base-T" },
{ "Broadcom NetXtreme II BCM5709 1000Base-SX" },
+ { "Broadcom NetXtreme II BCM5716 1000Base-T" },
};

static struct pci_device_id bnx2_pci_tbl[] = {
{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_5706,
PCI_VENDOR_ID_HP, 0x3101, 0, 0, NC370T },
{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_5706,
@@ -123,6 +125,8 @@ static struct pci_device_id bnx2_pci_tbl[] = {
PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5709 },
{ PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_NX2_5709S,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5709S },
+ { PCI_VENDOR_ID_BROADCOM, 0x163b,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5716 },
{ 0, }
};

Based on upstream commit, though modification made for 2.6.26:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.29.y.git;a=commit;h=1caacecb7cb2b72e798f06a32b 5061075cf397fa

Add support for BCM5716S

Signed-off-by: Jerone Young <jerone.young@canonical.com>

diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c
index 51b163a..49ebb50 100644
--- a/drivers/net/bnx2.c
+++ b/drivers/net/bnx2.c
@@ -89,6 +89,7 @@ typedef enum {
BCM5709,
BCM5709S,
BCM5716,
+ BCM5716S,
} board_t;

/* indexed by board_t, above */
@@ -105,6 +106,7 @@ static struct {
{ "Broadcom NetXtreme II BCM5709 1000Base-T" },
{ "Broadcom NetXtreme II BCM5709 1000Base-SX" },
{ "Broadcom NetXtreme II BCM5716 1000Base-T" },
+ { "Broadcom NetXtreme II BCM5716 1000Base-SX" },
};

static struct pci_device_id bnx2_pci_tbl[] = {
@@ -128,6 +130,8 @@ static DEFINE_PCI_DEVICE_TABLE(bnx2_pci_tbl) = {
PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5709S },
{ PCI_VENDOR_ID_BROADCOM, 0x163b,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5716 },
+ { PCI_VENDOR_ID_BROADCOM, 0x163c,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0, BCM5716 },
{ 0, }
};

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 02-28-2010, 11:26 PM
Tim Gardner
 
Default Add support for Broadcom Ethernet 5716 & 5716S

On 02/28/2010 05:14 PM, Jerone Young wrote:
> Impact:
> Many servers shipped last year have Broadcom Ethernet 5716& 5716S
> cards. They currently are not functional with 8.04.
>
> https://bugs.launchpad.net/ubuntu/hardy/+source/linux/+bug/435185
>
> Fix:
> Two patches attached to this email add PCI IDs to the driver. Patches
> based on upstream stable commits.
>
> Testcase:
> Ethernet works after patches are applied.
>
>

Looks fine, though you should note that this won't solve installation
problems since the last Hardy point release is already out.

Acked-by: Tim Gardner <tim.gardner@canonical.com>

--
Tim Gardner tim.gardner@canonical.com

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 03-17-2010, 05:04 PM
Stefan Bader
 
Default Add support for Broadcom Ethernet 5716 & 5716S

Jerone Young wrote:
> Impact:
> Many servers shipped last year have Broadcom Ethernet 5716 & 5716S
> cards. They currently are not functional with 8.04.
>
> https://bugs.launchpad.net/ubuntu/hardy/+source/linux/+bug/435185
>
> Fix:
> Two patches attached to this email add PCI IDs to the driver. Patches
> based on upstream stable commits.
>
> Testcase:
> Ethernet works after patches are applied.
>
>
Also note that these were clean cherry picks. No modification from the upstream
patches required.

Acked and applied to hardy master



--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 06:34 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org