From patchwork Sun Sep 7 22:03:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 386746 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id D0D591400D5 for ; Mon, 8 Sep 2014 08:04:22 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7F8ADA7484; Mon, 8 Sep 2014 00:04:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p9IDJSGn4TTR; Mon, 8 Sep 2014 00:04:21 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 08A63A7485; Mon, 8 Sep 2014 00:04:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id ACF60A7485 for ; Mon, 8 Sep 2014 00:04:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AQlvgQ8FTiRN for ; Mon, 8 Sep 2014 00:04:11 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mout.perfora.net (mout.perfora.net [74.208.4.194]) by theia.denx.de (Postfix) with ESMTPS id AC709A7484 for ; Mon, 8 Sep 2014 00:04:06 +0200 (CEST) Received: from localhost.net (190-191.5-85.cust.bluewin.ch [85.5.191.190]) by mrelay.perfora.net (node=mreueus001) with ESMTP (Nemesis) id 0MGxvA-1XeVx226D4-00Dkeb; Mon, 08 Sep 2014 00:04:01 +0200 From: Marcel Ziswiler To: u-boot@lists.denx.de Date: Mon, 8 Sep 2014 00:03:50 +0200 Message-Id: <80a3caa74daf2ee9cc06d1532deb3bff031422b7.1410127137.git.marcel@ziswiler.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <03c9982d8450bcbf073530edd6446ef3ec4dfddb.1410127137.git.marcel@ziswiler.com> References: <03c9982d8450bcbf073530edd6446ef3ec4dfddb.1410127137.git.marcel@ziswiler.com> X-Provags-ID: V02:K0:v0J/xD3lu2DyHRXDLqCPYp3eqRh4GgOTwZkyKSZS/Y1 c+o9v8ml4F1mE4+iIYPO5tVNFzFalAM1jDkCmXLepp1CAuHAo5 eq8sHftGhGfCtE0gtqCuKaLdc7CJTWKOiYYxo5aq9F72IT9Lox +qrIOeSPfPQsru6EPveVVDbt7ru9X6kk67gU7qKDHA/UCdtXt3 Le9PfMMNLEU8y4lXfk6cLlXJipTGFdESclfQqdu5ntOEmsqUU2 FVb9iVpd4YMR13xnUqoBOEypuri8UlMdNStrYPGL6soa+wifPb 2dQzIvbfgRulXCNaGmoJuEKkEuX31nrmesc2lNeETr/O7ruW/y jDjtiQGM8QsVLv5jt65txkh5tje0P6wjHXfGLhg+edaUL0xfuQ OA/QR4GktTowhitPeOdfeymh0dxDoU4V+9gY0II/5XV5U1qYdl 88g9G X-UI-Out-Filterresults: notjunk:1; Cc: Marcel Ziswiler Subject: [U-Boot] [PATCH] e1000: add i211 and unprogrammed i210/i211 support X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de This patch adds support for i211 as well as unprogrammed aka tools only i210/i211 chip support. Signed-off-by: Marcel Ziswiler --- drivers/net/e1000.c | 6 ++++++ include/pci_ids.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 6e8765c..ce19173 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -92,7 +92,10 @@ static struct pci_device_id e1000_supported[] = { {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_80003ES2LAN_SERDES_DPT}, {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_80003ES2LAN_COPPER_SPT}, {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_80003ES2LAN_SERDES_SPT}, + {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_I210_UNPROGRAMMED}, + {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_I211_UNPROGRAMMED}, {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_I210_COPPER}, + {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_I211_COPPER}, {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_I210_COPPER_FLASHLESS}, {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_I210_SERDES}, {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_I210_SERDES_FLASHLESS}, @@ -1374,7 +1377,10 @@ e1000_set_mac_type(struct e1000_hw *hw) case E1000_DEV_ID_ICH8_IGP_M: hw->mac_type = e1000_ich8lan; break; + case PCI_DEVICE_ID_INTEL_I210_UNPROGRAMMED: + case PCI_DEVICE_ID_INTEL_I211_UNPROGRAMMED: case PCI_DEVICE_ID_INTEL_I210_COPPER: + case PCI_DEVICE_ID_INTEL_I211_COPPER: case PCI_DEVICE_ID_INTEL_I210_COPPER_FLASHLESS: case PCI_DEVICE_ID_INTEL_I210_SERDES: case PCI_DEVICE_ID_INTEL_I210_SERDES_FLASHLESS: diff --git a/include/pci_ids.h b/include/pci_ids.h index f220c3a..f84c13a 100644 --- a/include/pci_ids.h +++ b/include/pci_ids.h @@ -2547,10 +2547,12 @@ #define PCI_DEVICE_ID_INTEL_82380FB 0x124b #define PCI_DEVICE_ID_INTEL_82439 0x1250 #define PCI_DEVICE_ID_INTEL_I210_UNPROGRAMMED 0x1531 +#define PCI_DEVICE_ID_INTEL_I211_UNPROGRAMMED 0x1532 #define PCI_DEVICE_ID_INTEL_I210_COPPER 0x1533 #define PCI_DEVICE_ID_INTEL_I210_SERDES 0x1536 #define PCI_DEVICE_ID_INTEL_I210_1000BASEKX 0x1537 #define PCI_DEVICE_ID_INTEL_I210_EXTPHY 0x1538 +#define PCI_DEVICE_ID_INTEL_I211_COPPER 0x1539 #define PCI_DEVICE_ID_INTEL_I210_COPPER_FLASHLESS 0x157b #define PCI_DEVICE_ID_INTEL_I210_SERDES_FLASHLESS 0x157c #define PCI_DEVICE_ID_INTEL_80960_RP 0x1960