From nobody Mon Feb 9 20:11:38 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+59248+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+59248+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1589270122; cv=none; d=zohomail.com; s=zohoarc; b=ixFJ6XxkjDVDf2uOFGlX9tRlvWOmfEK3/BkVeeqIc0T/VlAcHCJGhdAhnEJcb5XpfJnvf+6PWUTXNGZEvjGagzseBxEM2/Gr7fkM+Oj9/6Jho12vd3WcOlurjfT80yL1kpwzGHU67eWGvZBdA07JoxmiNhVJ5X9D5wkHNJqiWSk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1589270122; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=GWeatsl5TmvOMpUfg6opE7iLTUf0iIoztYEy85/ZPNg=; b=Cu7b+sHNA6Ci0bVdK2W68th5qRhJIf8RdUJt9eu7/4tf0fBx+dOAYSFDOztCuAhS36s2x/YiYp/7Q8y1n98xD3T8Y3F/tkdX1Id3poIDeuyH5r4dtX198xQ1P0pZ0PyILOvaJO/PNZhVlXBvPRmyDS4VlytOuJbgqFzexuGznZM= 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+59248+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1589270122278916.2045162143663; Tue, 12 May 2020 00:55:22 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 9EFJYY1788612xlTTcSdwGqk; Tue, 12 May 2020 00:55:21 -0700 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.1653.1589270121210716919 for ; Tue, 12 May 2020 00:55:21 -0700 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D37EA1042; Tue, 12 May 2020 00:55:20 -0700 (PDT) X-Received: from e123331-lin.nice.arm.com (unknown [10.37.8.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CD4613F305; Tue, 12 May 2020 00:55:19 -0700 (PDT) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif@nuviainc.com, philmd@redhat.com, Ard Biesheuvel Subject: [edk2-devel] [PATCH edk2-platforms v2 2/7] Silicon/Broadcom: Add BcmGenetPlatformDevice protocol Date: Tue, 12 May 2020 09:55:07 +0200 Message-Id: <20200512075512.12645-3-ard.biesheuvel@arm.com> In-Reply-To: <20200512075512.12645-1-ard.biesheuvel@arm.com> References: <20200512075512.12645-1-ard.biesheuvel@arm.com> 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,ard.biesheuvel@arm.com X-Gm-Message-State: 4hFeSuaNW81ttrTV5GsEoOuDx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1589270121; bh=Hz+N9JPicKnQPqiWKQs6wz+VxD2KkN+zCxEPZOokiWY=; h=Cc:Date:From:Reply-To:Subject:To; b=WmbDGpXQxbInomo4IVKr0NV/2faw1jTAxxs9d/NR3gNTb7hjMr9/byOIUFvCWD7ZQaP kM1zz23YwFrUHy1GJ12Mg7961Z3dkfp2jiDYpMie/63aC+0OnUQaIVtFIAK0pDgsPUpFL 7Qs4ySjXDCzKCFCRI7lK1KaRCGIlCmAJVQ4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add BcmGenetPlatformDevice definition for GENET. This protocol will be used to register GENET platform device that is on a non-discoverable bus. Signed-off-by: Ard Biesheuvel --- Silicon/Broadcom/Drivers/Net/BcmNet.dec | = 4 ++++ Silicon/Broadcom/Drivers/Net/Include/Protocol/BcmGenetPlatformDevice.h | 2= 4 ++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/Silicon/Broadcom/Drivers/Net/BcmNet.dec b/Silicon/Broadcom/Dri= vers/Net/BcmNet.dec index 4a55946e8f80..fda3caf0b4ef 100644 --- a/Silicon/Broadcom/Drivers/Net/BcmNet.dec +++ b/Silicon/Broadcom/Drivers/Net/BcmNet.dec @@ -1,6 +1,7 @@ ## @file # # Copyright (c) 2020, Pete Batard +# Copyright (c) 2020, ARM Limited. All rights reserved. # # SPDX-License-Identifier: BSD-2-Clause-Patent # @@ -18,6 +19,9 @@ [Includes] [Guids] gBcmNetTokenSpaceGuid =3D {0x12b97d70, 0x9149, 0x4c2f, {0x82, 0xd5, 0xad= , 0xa9, 0x1e, 0x92, 0x75, 0xa1}} =20 +[Protocols] + gBcmGenetPlatformDeviceProtocolGuid =3D {0x5e485a22, 0x1bb0, 0x4e22, {0x= 85, 0x49, 0x41, 0xfc, 0xec, 0x85, 0xdf, 0xd3}} + [PcdsFixedAtBuild] gBcmNetTokenSpaceGuid.PcdBcmGenetRegistersAddress|0x0|UINT64|0x00000001 =20 diff --git a/Silicon/Broadcom/Drivers/Net/Include/Protocol/BcmGenetPlatform= Device.h b/Silicon/Broadcom/Drivers/Net/Include/Protocol/BcmGenetPlatformDe= vice.h new file mode 100644 index 000000000000..3af4f4aec622 --- /dev/null +++ b/Silicon/Broadcom/Drivers/Net/Include/Protocol/BcmGenetPlatformDevice.h @@ -0,0 +1,24 @@ +/** @file + + Copyright (c) 2020, ARM Limited. All rights reserved. + + SPDX-License-Identifier: BSD-2-Clause-Patent + +**/ + +#ifndef BCM_GENET_PLATFORM_DEVICE_H +#define BCM_GENET_PLATFORM_DEVICE_H + +#include + +#define BCM_GENET_PLATFORM_DEVICE_PROTOCOL_GUID \ + {0x5e485a22, 0x1bb0, 0x4e22, {0x85, 0x49, 0x41, 0xfc, 0xec, 0x85, 0xdf, = 0xd3}} + +typedef struct { + EFI_PHYSICAL_ADDRESS BaseAddress; + EFI_MAC_ADDRESS MacAddress; +} BCM_GENET_PLATFORM_DEVICE_PROTOCOL; + +extern EFI_GUID gBcmGenetPlatformDeviceProtocolGuid; + +#endif --=20 2.17.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 (#59248): https://edk2.groups.io/g/devel/message/59248 Mute This Topic: https://groups.io/mt/74154330/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-