From nobody Thu Jun 08 18:03:17 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QcXBY6Xfwz4cDW5; Thu, 8 Jun 2023 18:03:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QcXBY60ZVz3w6x; Thu, 8 Jun 2023 18:03:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686247397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tI+pVh7ZIoxuJHG9ILY+fBgUdol4tkRXgvfAV9j/d0w=; b=u1e2zr1XK95J8fJeTgTRi47w4MIklYYl32GxqeOlPhoJx5vdfU0m0/noC2BsgiUdG9z0hs Vk2/LsEYEVgr2xYq50CukLRrKLXc92jaBDsLOpfVrxn9aQyJa3QOMUhJb9BnRbPMlf10jY 0+4lYb76tuoao5ok8CP+gc/hGuoGQb5jNRItOL7SiqR7v9FtIWKxtQ27ec4I8eTcy6H7Zi L7Aqpy1tZ1AIynaqwURP8b+8CW2CZgQ+mvqbItlrhPiK9/YFgUcPY7t0mtbravpmdav96C p4r2TW3nMPRkTUuLDkDhb+WGP9tqtpD2NN+GiCyl9rUGlU6QFUBlOu7OLE1Ogg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686247397; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tI+pVh7ZIoxuJHG9ILY+fBgUdol4tkRXgvfAV9j/d0w=; b=YXN/J9smFfO4JUggwNcG31kXd84DCVhDk+l0976cYUrby8hEb4AavVhHbRMuBp3rUOAabx zliT6u13WwjoW4zfh9DkDyWVcuejKA6FoS/160omJMhol33gLJggOh0oiSpSBBORfZysqo 4XFpv7gv5VV2hzp4iByS/ktqZ/CT1kUSVQ02YWCk1xiI24yZyEKPRujWQrMDOJ0aS/DyCb YknElpECKDPtfd46yOPXqyszlpl8IvkMUcIOKKceDTNKQIensRRyjIIr0rslD03pFc6n0Z 7PBkgFLB5Qf+prPOx1BGyDOAdqY4tj0IyG5wIFqbsTqX3KWUFHM+Vfw+Y/priA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686247397; a=rsa-sha256; cv=none; b=XLRbkEk5a1uc3NlY2ooEcouCvFsaLkVkDFadRsOLY7lYolyzMQafpEjlXjWYN1uDCfSbvp tO2qF2lvIMg0DpgeBwBkgxng8vi+aLZ5csEem9K84TyCMi1ZaZwKdVsJUMiMtVjD7+x8eq eMxa0zTS3DoY8hu/MBUS8USMUdUa2A96oWN75nIHhLN329ekUZXkHc92RNoLbh3g06F0eR GI2HlC8NR6V2d08aUY8AJXBid+3cNbgclXdPWAtBydf/IB192TPz3Omi9vEfPxxP5ssSYj E1bVD8ne+Q0mJdEFiRrnl9ORByXx4DdnuJQO7qdOOA9Al4qXGo9ildnsZJEWqA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QcXBY54pDz13Xy; Thu, 8 Jun 2023 18:03:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 358I3HQv015432; Thu, 8 Jun 2023 18:03:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 358I3Hbf015431; Thu, 8 Jun 2023 18:03:17 GMT (envelope-from git) Date: Thu, 8 Jun 2023 18:03:17 GMT Message-Id: <202306081803.358I3Hbf015431@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 7d7d12ba7765 - main - LinuxKPI: pci: add PCI_COMMAND_MEMORY List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7d7d12ba7765902f51dabb259a186ca3b1a2d351 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=7d7d12ba7765902f51dabb259a186ca3b1a2d351 commit 7d7d12ba7765902f51dabb259a186ca3b1a2d351 Author: Bjoern A. Zeeb AuthorDate: 2023-05-23 23:11:06 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-06-08 18:02:33 +0000 LinuxKPI: pci: add PCI_COMMAND_MEMORY Add another PCI alias to our native defines for a wireless driver. MFC after: 10 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40247 --- sys/compat/linuxkpi/common/include/linux/pci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h index cc8dbe2fef11..263dc41377cc 100644 --- a/sys/compat/linuxkpi/common/include/linux/pci.h +++ b/sys/compat/linuxkpi/common/include/linux/pci.h @@ -112,6 +112,7 @@ MODULE_PNP_INFO("U32:vendor;U32:device;V32:subvendor;V32:subdevice", \ #define PCI_DEVICE_ID PCIR_DEVICE #define PCI_COMMAND PCIR_COMMAND #define PCI_COMMAND_INTX_DISABLE PCIM_CMD_INTxDIS +#define PCI_COMMAND_MEMORY PCIM_CMD_MEMEN #define PCI_EXP_DEVCTL PCIER_DEVICE_CTL /* Device Control */ #define PCI_EXP_LNKCTL PCIER_LINK_CTL /* Link Control */ #define PCI_EXP_LNKCTL_ASPM_L0S PCIEM_LINK_CTL_ASPMC_L0S