From patchwork Wed May 25 15:43:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Meelis Roos X-Patchwork-Id: 97378 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 547F1B6F91 for ; Thu, 26 May 2011 02:04:42 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932151Ab1EYQEg (ORCPT ); Wed, 25 May 2011 12:04:36 -0400 Received: from smtp2.it.da.ut.ee ([193.40.5.67]:36447 "EHLO smtp2.it.da.ut.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757865Ab1EYQEf (ORCPT ); Wed, 25 May 2011 12:04:35 -0400 Received: from math.ut.ee (math.ut.ee [193.40.36.2]) by smtp2.it.da.ut.ee (Postfix) with ESMTP id 981B473D5F3; Wed, 25 May 2011 18:43:47 +0300 (EEST) Received: by math.ut.ee (Postfix, from userid 1014) id 9D13CDAF81; Wed, 25 May 2011 18:43:47 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by math.ut.ee (Postfix) with ESMTP id 9258BDAF80; Wed, 25 May 2011 18:43:47 +0300 (EEST) Date: Wed, 25 May 2011 18:43:47 +0300 (EEST) From: Meelis Roos To: Matt Carlson , Michael Chan cc: netdev@vger.kernel.org Subject: [PATCH] Add Fujitsu 1000base-SX PCI ID to tg3 Message-ID: User-Agent: Alpine 1.00 (SOC 882 2007-12-20) MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch adds the PCI ID of Fujitsu 1000base-SX NIC to tg3 driver. Tested to detect the card, MAC and serdes, not tested with link at the moment since I have no fiber switch here. I did not add new constants to the pci_ids.h header file since these constants are used only here. Signed-off-by: Meelis Roos diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 7a5daef..7b1901e 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -273,6 +273,7 @@ static DEFINE_PCI_DEVICE_TABLE(tg3_pci_tbl) = { {PCI_DEVICE(PCI_VENDOR_ID_ALTIMA, PCI_DEVICE_ID_ALTIMA_AC1003)}, {PCI_DEVICE(PCI_VENDOR_ID_ALTIMA, PCI_DEVICE_ID_ALTIMA_AC9100)}, {PCI_DEVICE(PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_TIGON3)}, + {PCI_DEVICE(0x10cf, 0x11a2)}, /* Fujitsu 1000base-SX with BCM5703SKHB */ {} };