From nobody Tue Feb 10 02:42:36 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55067+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55067+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1582886356; cv=none; d=zohomail.com; s=zohoarc; b=GdSKr8bRZbgeTNGsA98cRF2rvQIFIgIzjL5RNhuNWi86PFrqlMvL3XGWJfu3Vr6goIweGCNjMiiRQkiGe/ShU7VMeLJggFDoIwkVexTRK9/8NfsZEcHACkAeTQNQmy1VaNXoLNxYSXRvuWMMl6fMU6HElySslMzJ7ebmwX6Ib0s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582886356; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=pFmZ6Mk/TxA45itZqftiS4bGghXyVwOAcGSZkvataqc=; b=eRmT08NgIbEueHvQ1MdxvBXbDrYnamWjyxt2krf/42AA6zNgMrWlytfSANUJIG1wU/JoUHAol1G7hNEtQzbmoz838lNrTnrjAOFR9IE9kQ21bfJUDC41FvfLanUBbp88b0QWCqJ1zoCW6OdMx0jjpw+Wr3sV/ZVXRqfSz2D1buk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55067+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1582886356187458.5163375999348; Fri, 28 Feb 2020 02:39:16 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id OkHxYY1788612x2fMnJNOEMA; Fri, 28 Feb 2020 02:39:15 -0800 X-Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web11.12284.1582886354288766409 for ; Fri, 28 Feb 2020 02:39:14 -0800 X-Received: by mail-wm1-f65.google.com with SMTP id t23so2684720wmi.1 for ; Fri, 28 Feb 2020 02:39:14 -0800 (PST) X-Gm-Message-State: NS9dgyNprRBJIqGbRQo0X5fAx1787277AA= X-Google-Smtp-Source: APXvYqwgvRBplRGAri2e73jraweLK8ytohgdDFXjThN8Xrda0wldOJZMM1Y/Vqy6vfAWqt7phxsYGg== X-Received: by 2002:a7b:c249:: with SMTP id b9mr4058030wmj.61.1582886352549; Fri, 28 Feb 2020 02:39:12 -0800 (PST) X-Received: from localhost.localdomain ([84.203.56.244]) by smtp.gmail.com with ESMTPSA id s8sm12341061wrt.57.2020.02.28.02.39.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Feb 2020 02:39:12 -0800 (PST) From: "Pete Batard" To: devel@edk2.groups.io Cc: ard.biesheuvel@linaro.org, leif@nuviainc.com, philmd@redhat.com Subject: [edk2-devel] [edk2-platforms][PATCH 04/15] Silicon/BcmGenet: Add missing I/O mapping length and clean up Date: Fri, 28 Feb 2020 10:38:44 +0000 Message-Id: <20200228103855.11352-5-pete@akeo.ie> In-Reply-To: <20200228103855.11352-1-pete@akeo.ie> References: <20200228103855.11352-1-pete@akeo.ie> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,pete@akeo.ie Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1582886355; bh=dU3vRGLjnLOetKfIY1ZnwdqKGnlktEOWePUCKoveEcQ=; h=Cc:Date:From:Reply-To:Subject:To; b=DkqaUut/2bd/IuhMf2/X8t2qTe7ELEL36Adfnxk904KxTxzf71ZX2mGI468u+QKHe0G L1rPaZb6tMsTLUfTS+r69UvN9rocW2pZL2HMQgGb9uhZSP34nSP7Jx5AF9f6fYXb0YAeP kqq6P22jb2mMsmvZbMU5APnP1uifydb4U9Q= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Remove unneeded extra parenthesis on PCD, which can cause problems when used with ACPI ASL macros and add an [Includes] section to the .inf, so that the Genet.h header can be referenced where required. Signed-off-by: Pete Batard --- Silicon/Broadcom/Drivers/Net/BcmGenetDxe/Genet.h | 3 ++- Silicon/Broadcom/Drivers/Net/BcmNet.dec | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Silicon/Broadcom/Drivers/Net/BcmGenetDxe/Genet.h b/Silicon/Bro= adcom/Drivers/Net/BcmGenetDxe/Genet.h index 4a3827c0e0d1..f56fb2977422 100644 --- a/Silicon/Broadcom/Drivers/Net/BcmGenetDxe/Genet.h +++ b/Silicon/Broadcom/Drivers/Net/BcmGenetDxe/Genet.h @@ -11,7 +11,8 @@ =20 #include =20 -#define GENET_BASE_ADDRESS (FixedPcdGet64 (PcdBcmGenetRegistersAdd= ress)) +#define GENET_BASE_ADDRESS FixedPcdGet64 (PcdBcmGenetRegistersAddr= ess) +#define GENET_LENGTH 0x00010000 =20 #define GENET_SYS_RBUF_FLUSH_CTRL 0x0008 #define GENET_UMAC_MAC0 0x080c diff --git a/Silicon/Broadcom/Drivers/Net/BcmNet.dec b/Silicon/Broadcom/Dri= vers/Net/BcmNet.dec index 2a8688cb09a7..483b033af51c 100644 --- a/Silicon/Broadcom/Drivers/Net/BcmNet.dec +++ b/Silicon/Broadcom/Drivers/Net/BcmNet.dec @@ -12,6 +12,9 @@ [Defines] PACKAGE_GUID =3D 34E19823-D23A-41AB-9C09-ED1225B32DFF PACKAGE_VERSION =3D 1.0 =20 +[Includes] + . + [Guids] gBcmNetTokenSpaceGuid =3D {0x12b97d70, 0x9149, 0x4c2f, {0x82, 0xd5, 0xad= , 0xa9, 0x1e, 0x92, 0x75, 0xa1}} =20 --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#55067): https://edk2.groups.io/g/devel/message/55067 Mute This Topic: https://groups.io/mt/71605842/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-