get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2112968/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2112968,
    "url": "http://patchwork.ozlabs.org/api/patches/2112968/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250718011540.1333950-1-trini@konsulko.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20250718011540.1333950-1-trini@konsulko.com>",
    "list_archive_url": null,
    "date": "2025-07-18T01:15:40",
    "name": "net: Tighten some network driver dependencies",
    "commit_ref": "982aac5754548bb95c4637359354823143896c4a",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b09b34b9af02d5285b137e8f3c556569bef4e5b7",
    "submitter": {
        "id": 65875,
        "url": "http://patchwork.ozlabs.org/api/people/65875/?format=api",
        "name": "Tom Rini",
        "email": "trini@konsulko.com"
    },
    "delegate": {
        "id": 157425,
        "url": "http://patchwork.ozlabs.org/api/users/157425/?format=api",
        "username": "jforissier",
        "first_name": "Jerome",
        "last_name": "Forissier",
        "email": "jerome.forissier@linaro.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20250718011540.1333950-1-trini@konsulko.com/mbox/",
    "series": [
        {
            "id": 465714,
            "url": "http://patchwork.ozlabs.org/api/series/465714/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=465714",
            "date": "2025-07-18T01:15:40",
            "name": "net: Tighten some network driver dependencies",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/465714/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2112968/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2112968/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256\n header.s=google header.b=e0uhkHOO;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com\n header.b=\"e0uhkHOO\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=trini@konsulko.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4bjsLg2wpdz1xrF\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 18 Jul 2025 11:16:11 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 33738835AA;\n\tFri, 18 Jul 2025 03:15:48 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 6C2B9805D7; Fri, 18 Jul 2025 03:15:46 +0200 (CEST)",
            "from mail-ot1-x330.google.com (mail-ot1-x330.google.com\n [IPv6:2607:f8b0:4864:20::330])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 20D87835B2\n for <u-boot@lists.denx.de>; Fri, 18 Jul 2025 03:15:44 +0200 (CEST)",
            "by mail-ot1-x330.google.com with SMTP id\n 46e09a7af769-73e82d2ec21so214587a34.2\n for <u-boot@lists.denx.de>; Thu, 17 Jul 2025 18:15:44 -0700 (PDT)",
            "from bill-the-cat.. (fixed-189-203-97-42.totalplay.net.\n [189.203.97.42]) by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-73e83b66c03sm217371a34.49.2025.07.17.18.15.41\n for <u-boot@lists.denx.de>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 17 Jul 2025 18:15:42 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=konsulko.com; s=google; t=1752801343; x=1753406143; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:from:to:cc:subject:date:message-id:reply-to;\n bh=/pFE0ESEGGA8+zyM0SKXKjNvMk/CVxKGbhNIyUt1Y5Y=;\n b=e0uhkHOOVAQ6b24sX9rdbj3BRD32tDxWoqsbfasYRu4McJBWTcwSU5j9/aiw5vchFN\n 4KEF9v1MfzrSUYxjUJlnfscO9cB0kUB9kFSYTINDNY0b2JkXgFqbpWEAB3c8NEbI72tc\n sJFcsedWbw5vKeY/Hxx6DfVwMonLzPr3VgpTo=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1752801343; x=1753406143;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=/pFE0ESEGGA8+zyM0SKXKjNvMk/CVxKGbhNIyUt1Y5Y=;\n b=MGxg35GMdPWLYf5Mq9Y9/kSdGnGX4P89SuAOdF7wBZTMhjz3LUeMD9FIjoKbDeCmhY\n PIQRvjtWBDHYGTCgS/2MwdUL6O0q4qqzMN9glbVkMWeEjFeAFa4Yt8gQAzNUeDvIdgE8\n llXJP7FqTtCP8pf/UhHjypdxynnR/V64OnvvEGcEy2ND4gGvu+hHPJ+wc793x1Dz7jLT\n uxcPHigfEYk9jf8J7QAjzZOf79ECUpzeQsLoahqnaadueZ2bWqbAEjwxzg7AkH+7+/Nz\n 2hzb+8yUc94DLRMtbpXbKK4yj4RXMWB4mYHRGnE4vqUa+Z1w15525aYIg9a50mIijBkY\n on1Q==",
        "X-Gm-Message-State": "AOJu0Yxcm0i0+NKccypPWIbislQjhUytvcsAi0lbwQnLMjNBeRFedSvu\n ghnAgS4NhDR1mcKUzT2awQB8UkXQy3Oewm/KxHLckx73AbJfE1goUDUSbLlZWZQXD7966o/HIcb\n xpwciI/4=",
        "X-Gm-Gg": "ASbGncs8XtFcyDrELYdXyI5dbuJABqZoYFUi7/Cxr1IqjcO9E6AvfRDsiO4gRqZ0+Qr\n ug5KHW+AISvUi4NZHht0J3MwneWmTMd1vtt76XNL0gNhBRac/HXcoQFjh6eoSb+4gDjesXQJ3hA\n BM7muauGiO9QmF1sTRgHhLhuS/NeVeGy8vWaEOAhSRaiDb6B8jhPchjYK5eqwT2GBlPZ2q20TuJ\n FIlbCFMa+TKPgIFzpyfTj1C+BgbONcNqwc49Tslpf+iqRNAJfBhpeLQvBXS3nXH08Bayj8rmBsL\n w3yoMSsVoxktg+M1rJbsW/+6d2NS4AqXKFLfoOn8Abz/bQgpiqfD8gW2MBvpyNHpgbjqGazbpvS\n z8cAPMSyQ0z0vSX3p70aqNwIkazCVmWBO4CM5g6gQ3sUCeiM0vAqNObec6Lw2ftjPfkD7HA==",
        "X-Google-Smtp-Source": "\n AGHT+IGbrTL7dYLPmy0t7YKRZbNjNxz9p2jtrvsJ6r3zmAQyvkNbLtT8OlFPDBViS/1Fli2+6BPuxA==",
        "X-Received": "by 2002:a05:6830:43a2:b0:73e:5def:537 with SMTP id\n 46e09a7af769-73e7538d38emr4689150a34.21.1752801342585;\n Thu, 17 Jul 2025 18:15:42 -0700 (PDT)",
        "From": "Tom Rini <trini@konsulko.com>",
        "To": "u-boot@lists.denx.de",
        "Subject": "[PATCH] net: Tighten some network driver dependencies",
        "Date": "Thu, 17 Jul 2025 19:15:40 -0600",
        "Message-ID": "<20250718011540.1333950-1-trini@konsulko.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <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>,\n <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.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "A large number of network drivers cannot build without access to some\nplatform specific header files. Express those requirements in Kconfig as\nwell. This covers the QUICC engine drivers as that is networking\ndriver infrastructure.\n\nSigned-off-by: Tom Rini <trini@konsulko.com>\n---\n drivers/net/Kconfig         | 28 ++++++++++++++++++++--------\n drivers/net/pfe_eth/Kconfig |  1 +\n drivers/net/qe/Kconfig      |  1 +\n drivers/net/ti/Kconfig      |  3 +++\n drivers/qe/Kconfig          |  1 +\n 5 files changed, 26 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig\nindex f8c7637f0b9c..9f206c0b56de 100644\n--- a/drivers/net/Kconfig\n+++ b/drivers/net/Kconfig\n@@ -173,6 +173,7 @@ config CORTINA_NI_ENET\n \n config CALXEDA_XGMAC\n \tbool \"Calxeda XGMAC support\"\n+\tdepends on ARCH_HIGHBANK\n \thelp\n \t  This driver supports the XGMAC in Calxeda Highbank and Midway\n \t  machines.\n@@ -222,14 +223,14 @@ config DWC_ETH_QOS\n \n config DWC_ETH_QOS_ADI\n \tbool \"Synopsys DWC Ethernet QOS device support for ADI SC59x-64 parts\"\n-\tdepends on DWC_ETH_QOS\n+\tdepends on DWC_ETH_QOS && ARCH_SC5XX\n \thelp\n \t\tThe Synopsis Designware Ethernet QoS IP block with the specific\n \t\tconfiguration used in the ADI ADSP-SC59X 64 bit SoCs\n \n config DWC_ETH_QOS_IMX\n \tbool \"Synopsys DWC Ethernet QOS device support for IMX\"\n-\tdepends on DWC_ETH_QOS\n+\tdepends on DWC_ETH_QOS && MACH_IMX\n \thelp\n \t  The Synopsys Designware Ethernet QOS IP block with the specific\n \t  configuration used in IMX soc.\n@@ -243,7 +244,7 @@ config DWC_ETH_QOS_INTEL\n \n config DWC_ETH_QOS_ROCKCHIP\n \tbool \"Synopsys DWC Ethernet QOS device support for Rockchip SoCs\"\n-\tdepends on DWC_ETH_QOS\n+\tdepends on DWC_ETH_QOS && ARCH_ROCKCHIP\n \tselect DM_ETH_PHY\n \thelp\n \t  The Synopsys Designware Ethernet QOS IP block with specific\n@@ -251,7 +252,7 @@ config DWC_ETH_QOS_ROCKCHIP\n \n config DWC_ETH_QOS_STM32\n \tbool \"Synopsys DWC Ethernet QOS device support for STM32\"\n-\tdepends on DWC_ETH_QOS\n+\tdepends on DWC_ETH_QOS && ARCH_STM32MP\n \tselect DM_ETH_PHY\n \tdefault y if ARCH_STM32MP\n \thelp\n@@ -303,7 +304,7 @@ config E1000_SPI_GENERIC\n \n config E1000_SPI\n \tbool \"Enable SPI bus utility code\"\n-\tdepends on E1000\n+\tdepends on E1000 && !E1000_NO_NVM\n \thelp\n \t  Utility code for direct access to the SPI bus on Intel 8257x.\n \t  This does not do anything useful unless you set at least one\n@@ -319,6 +320,7 @@ config CMD_E1000\n \n config EEPRO100\n \tbool \"Intel PRO/100 82557/82559/82559ER Fast Ethernet support\"\n+\tdepends on !64BIT\n \thelp\n \t  This driver supports Intel(R) PRO/100 82557/82559/82559ER fast\n \t  ethernet family of adapters.\n@@ -382,7 +384,7 @@ config ETH_DESIGNWARE_SOCFPGA\n \n config ETH_DESIGNWARE_S700\n \tbool \"Actins S700 glue driver for Synopsys Designware Ethernet MAC\"\n-\tdepends on ETH_DESIGNWARE\n+\tdepends on ETH_DESIGNWARE && ARCH_OWL\n \thelp\n \t  This provides glue layer to use Synopsys Designware Ethernet MAC\n \t  present on Actions S700 SoC.\n@@ -416,7 +418,7 @@ config FEC_MXC\n \n config FMAN_ENET\n \tbool \"Freescale FMan ethernet support\"\n-\tdepends on ARM || PPC\n+\tdepends on FSL_LSCH2 || PPC\n \tselect SYS_FMAN_V3 if ARCH_B4420 || ARCH_B4860 || ARCH_LS1043A || \\\n \t\tARCH_LS1046A || ARCH_T1024 || ARCH_T1040 || ARCH_T1042 || \\\n \t\tARCH_T2080 || ARCH_T4240\n@@ -488,6 +490,7 @@ config SYS_DISCOVER_PHY\n \n config MCFFEC\n \tbool \"ColdFire Ethernet Support\"\n+\tdepends on M68K\n \tselect PHYLIB\n \tselect SYS_DISCOVER_PHY\n \thelp\n@@ -551,6 +554,7 @@ config MVPP2\n \n config MACB\n \tbool \"Cadence MACB/GEM Ethernet Interface\"\n+\tdepends on ARM || RISCV\n \tselect PHYLIB\n \thelp\n \t  The Cadence MACB ethernet interface is found on many Atmel\n@@ -587,6 +591,7 @@ config MT7628_ETH\n \n config NET_NPCM750\n \tbool \"Nuvoton NPCM750 Ethernet MAC\"\n+\tdepends on ARCH_NPCM\n \thelp\n \t  support NPCM750 EMAC\n \n@@ -661,6 +666,7 @@ source \"drivers/net/qe/Kconfig\"\n \n config RTL8139\n \tbool \"Realtek 8139 series Ethernet controller driver\"\n+\tdepends on !64BIT\n \thelp\n \t  This driver supports Realtek 8139 series fast ethernet family of\n \t  PCI chipsets/adapters.\n@@ -714,6 +720,7 @@ config SUN7I_GMAC_FORCE_TXERR\n \n config SUN4I_EMAC\n \tbool \"Allwinner Sun4i Ethernet MAC support\"\n+\tdepends on ARCH_SUNXI\n \tselect PHYLIB\n \thelp\n \t  This driver supports the Allwinner based SUN4I Ethernet MAC.\n@@ -729,6 +736,7 @@ config SUN8I_EMAC\n \n config SH_ETHER\n \tbool \"Renesas SH Ethernet MAC\"\n+\tdepends on ARCH_RENESAS\n \tselect PHYLIB\n \tselect PHY_ETHERNET_ID\n \thelp\n@@ -738,6 +746,7 @@ source \"drivers/net/ti/Kconfig\"\n \n config TULIP\n \tbool \"DEC Tulip DC2114x Ethernet support\"\n+\tdepends on !64BIT\n \thelp\n \t  This driver supports DEC DC2114x Fast ethernet chips.\n \n@@ -791,6 +800,7 @@ config XILINX_AXIMRMAC\n \n config VSC7385_ENET\n \tbool \"Vitesse 7385 Switch Firmware Upload driver\"\n+\tdepends on !COMPILE_TEST && PPC\n \n config XILINX_EMACLITE\n \tselect PHYLIB\n@@ -802,6 +812,7 @@ config XILINX_EMACLITE\n config ZYNQ_GEM\n \tselect PHYLIB\n \tbool \"Xilinx Ethernet GEM\"\n+\tdepends on ARCH_VERSAL || ARCH_VERSAL_NET || ARCH_VERSAL2 || ARCH_ZYNQ || ARCH_ZYNQMP\n \thelp\n \t  This MAC is present in Xilinx Zynq and ZynqMP SoCs.\n \n@@ -815,7 +826,7 @@ config PIC32_ETH\n \n config GMAC_ROCKCHIP\n \tbool \"Rockchip Synopsys Designware Ethernet MAC\"\n-\tdepends on ETH_DESIGNWARE\n+\tdepends on ETH_DESIGNWARE && ARCH_ROCKCHIP\n \thelp\n \t  This driver provides Rockchip SoCs network support based on the\n \t  Synopsys Designware driver.\n@@ -942,6 +953,7 @@ config SYS_FSL_QMAN_V3\n config TSEC_ENET\n \tselect PHYLIB\n \tbool \"Enable Three-Speed Ethernet Controller\"\n+\tdepends on ARCH_LS1021A || PPC\n \thelp\n \t  This driver implements support for the (Enhanced) Three-Speed\n \t  Ethernet Controller found on Freescale SoCs.\ndiff --git a/drivers/net/pfe_eth/Kconfig b/drivers/net/pfe_eth/Kconfig\nindex b2724ee3e846..f5947ab5f17f 100644\n--- a/drivers/net/pfe_eth/Kconfig\n+++ b/drivers/net/pfe_eth/Kconfig\n@@ -1,5 +1,6 @@\n menuconfig FSL_PFE\n \tbool \"NXP PFE Ethernet driver\"\n+\tdepends on ARCH_LS1012A\n \thelp\n \t  This driver provides support for NXP's Packet Forwarding Engine.\n \ndiff --git a/drivers/net/qe/Kconfig b/drivers/net/qe/Kconfig\nindex e795e913d42d..34de23903100 100644\n--- a/drivers/net/qe/Kconfig\n+++ b/drivers/net/qe/Kconfig\n@@ -4,5 +4,6 @@\n \n config QE_UEC\n \tbool \"NXP QE UEC Ethernet controller\"\n+\tdepends on PPC\n \thelp\n \t  This driver supports the NXP QE UEC ethernet controller\ndiff --git a/drivers/net/ti/Kconfig b/drivers/net/ti/Kconfig\nindex ddfa95a0b7e9..52267339de08 100644\n--- a/drivers/net/ti/Kconfig\n+++ b/drivers/net/ti/Kconfig\n@@ -4,6 +4,7 @@\n \n config DRIVER_TI_CPSW\n \tbool \"TI Common Platform Ethernet Switch\"\n+\tdepends on ARCH_OMAP2PLUS\n \tselect PHYLIB\n \thelp\n \t  This driver supports the TI three port switch gigabit ethernet\n@@ -11,6 +12,7 @@ config DRIVER_TI_CPSW\n \n config DRIVER_TI_EMAC\n \tbool \"TI Davinci EMAC\"\n+\tdepends on ARCH_DAVINCI || ARCH_OMAP2PLUS\n \thelp\n \t   Support for davinci emac\n \n@@ -22,6 +24,7 @@ config DRIVER_TI_EMAC_USE_RMII\n \n config DRIVER_TI_KEYSTONE_NET\n \tbool \"TI Keystone 2 Ethernet\"\n+\tdepends on ARCH_KEYSTONE\n \thelp\n \t   This driver supports the TI Keystone 2 Ethernet subsystem\n \ndiff --git a/drivers/qe/Kconfig b/drivers/qe/Kconfig\nindex 89a75c175b00..22ed80bfc66e 100644\n--- a/drivers/qe/Kconfig\n+++ b/drivers/qe/Kconfig\n@@ -11,6 +11,7 @@ config QE\n \n config U_QE\n \tbool \"Enable support for U QUICC Engine\"\n+\tdepends on PPC || ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A\n \tdefault y if (ARCH_LS1021A && !SD_BOOT && !NAND_BOOT && !QSPI_BOOT) \\\n \t\t|| (TARGET_T1024QDS) \\\n \t\t|| (TARGET_T1024RDB) \\\n",
    "prefixes": []
}