Message ID | 20200711123608.6541-1-marek.vasut+renesas@gmail.com |
---|---|
State | Accepted |
Commit | 75e375b0a979176b72b0355534e03a863c19d95a |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Kbmtel9Q; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4B3qD251fpz9sDX for <incoming@patchwork.ozlabs.org>; Sat, 11 Jul 2020 22:36:50 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 220B581BE8; Sat, 11 Jul 2020 14:36:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Kbmtel9Q"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DBBCF81C09; Sat, 11 Jul 2020 14:36:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F05CA81BCA for <u-boot@lists.denx.de>; Sat, 11 Jul 2020 14:36:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=marek.vasut@gmail.com Received: by mail-wm1-x343.google.com with SMTP id q15so8763019wmj.2 for <u-boot@lists.denx.de>; Sat, 11 Jul 2020 05:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sB5lTml8vr12Bix/nlXtM4RUka1WNTeVM6/Li1Mge08=; b=Kbmtel9Qt9ChxZD+vpdNTndQN73O24/WjCJEIT/2KiD/PUH/lP3vinwwRPDbRT103N WbNLLsqwCFOjBnNvYFAA0SUe0fXvLFEA8kARp004o5KFZMDuePRlYFNK5kv0LMmCwE73 rDyW7mqeOiFOFH23vrT9VSF3qK62SwmLBtVrVlHhnBGYLKrKeIea01oTKPyJJbLDIbvq G+h4AOlEKPpa7aMLb4Utg8F02sxaO04kofrhQSiygG+xyaIJ+w7rGj+nwklpefDofNyg hWpQYFCNN48LkqfB51Bb2cTT7Itk9XfAa2DOkjBH2dsJ+K3kxUZ1Up1VuerkubHQrD8x nYKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sB5lTml8vr12Bix/nlXtM4RUka1WNTeVM6/Li1Mge08=; b=QNR8lapvIPLt+79veCIVa8dCxmt8Sxyvp0o+YNOWpJS478GXxMWGXbBhEjYXgKTaAZ R+Fi7C2ZDizFPIqB2qUWXgbmh0J+vfGatCcp9BAiYcrURKEQoJcV5vKafXWpl5rFqJJG PMTyFs7W5h4T1sJKWMDilozANajxCHg2si6p5B6zE6f8FwrdBOv3CySuAUl5VObdna3V zMIRjP2EZxncbuR46fRFJEpOTBR0FVXPmv3T4LCay0Y4HOgAnXVZIHUzV8rwyfDdAAlv 5iGg664SOkGFnLB1f/szPKo7HlVnY39q228Y9+05oWjKbO8D5EVH/tuh4/eQalkUYgRP PNag== X-Gm-Message-State: AOAM532ZanmIrDR6Z8Sb7sqxBMKh4Dkv1j1vuSx60PjNk56pA1NcOODk UvTKlydpg9HZgLsa9mvCyz4CWfer6Ww= X-Google-Smtp-Source: ABdhPJxGGZm84gTeuiHa81Q4cJ/tkMfZzKVB8h05YZRYlChVSXDWHuYVWFJh4qYDwmsd3BZ4wTzEVQ== X-Received: by 2002:a05:600c:218f:: with SMTP id e15mr9172238wme.63.1594470995105; Sat, 11 Jul 2020 05:36:35 -0700 (PDT) Received: from desktop.lan (ip-86-49-35-8.net.upcbroadband.cz. [86.49.35.8]) by smtp.gmail.com with ESMTPSA id k20sm13725549wmi.27.2020.07.11.05.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Jul 2020 05:36:33 -0700 (PDT) From: Marek Vasut <marek.vasut@gmail.com> X-Google-Original-From: Marek Vasut <marek.vasut+renesas@gmail.com> To: u-boot@lists.denx.de Cc: Marek Vasut <marek.vasut+renesas@gmail.com>, Joe Hershberger <joe.hershberger@ni.com>, Ramon Fried <rfried.dev@gmail.com> Subject: [PATCH 01/12] net: dc2114x: Use PCI_DEVICE() to define PCI device compat list Date: Sat, 11 Jul 2020 14:35:57 +0200 Message-Id: <20200711123608.6541-1-marek.vasut+renesas@gmail.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
[01/12] net: dc2114x: Use PCI_DEVICE() to define PCI device compat list
|
expand
|
diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c index c55358ef83..e537b29f3d 100644 --- a/drivers/net/dc2114x.c +++ b/drivers/net/dc2114x.c @@ -568,8 +568,8 @@ static void read_hw_addr(struct eth_device *dev, bd_t *bis) } static struct pci_device_id supported[] = { - { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_FAST }, - { PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_21142 }, + { PCI_DEVICE(PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_TULIP_FAST) }, + { PCI_DEVICE(PCI_VENDOR_ID_DEC, PCI_DEVICE_ID_DEC_21142) }, { } };
Use this macro to fully fill the PCI device ID table. This is mandatory for the DM PCI support, which checks all the fields. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Ramon Fried <rfried.dev@gmail.com> --- drivers/net/dc2114x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)