From nobody Mon Jun 26 12:08:53 2023 X-Original-To: dev-commits-src-all@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 4QqRTK6lV9z4k71t; Mon, 26 Jun 2023 12:08:53 +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 4QqRTK4tXCz3jsq; Mon, 26 Jun 2023 12:08:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687781333; 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=gMmbjsKkTHg3egHnUN0UPcgOQen7TkJs9c/MwtFNu5U=; b=xOYFMrxm0urUA1LrKJ7LdgFhQr4DR58+w4ubbwGX35/ErSvhk3+9Zbj6zJq/npNtcJ0scY 7nkCUVki/o9G7IYuXwaRpZFTREp3nxLaSKpSV97ka571KyMu+PAx2kqJzPacQgCfLWz9uJ nZO2NJwoAK3w8RtHk0p9x1hnYneU6F5nNFN/iRNhDp9yusosr9FDqsua30WtTYSQ/xta1D su5qhf1QQUfYWDGRjTYf23dQd+q434Cw6U/SGc1cEfm6pmne/riKbg9+PkWZbuCZ48WdT0 69VC4bnMS9Tm08+kOK7x8HMtg2Ne5B8QMuKGxZVNyYCyN5TW1DCu9dMcSqBdWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687781333; 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=gMmbjsKkTHg3egHnUN0UPcgOQen7TkJs9c/MwtFNu5U=; b=stZNHI32+ciahaUD6TpTLujHYwYAa0Rrq+JvV+7P4XJ7XkE4tmHjlRkgWBkiwweSGRRJ5p Y4tij5IexfXIOIIFfBa+9rMz+cfxg/vDThwUyf5IkXndeuMrN9iUv7GTvw2eah8mA9LPXw +ixESQOy02XZbAiRl5QCXoCy+h5a1sgUD2NzJJWKc/Yif02o7163FnzDXFuUnaLZcAy7xm e0y0oonz3BjxbEUInXZMTJ4zlvtObNpy34ZoWDW1k+BviV4opCSMhQyKWeyRZxPFiF4XV1 oWdKMuOAsniX9p9pyz95pf0tSj/tQfgh3SRyH5xo4CsSVj9JS5oNV+dvhu/C3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687781333; a=rsa-sha256; cv=none; b=U1HuIjZiLi3VY/N1LuMJo+w/mTurs7mkBeTVSp/CxjU78bimZkJZd+IPAE5ItqPrU4Nlv5 m0ZAFnWBYU7R1MgVvR7rlF7buT28t6H2zIDyyiA7JhqYFNx07GOFPMDtHu7uhLDw4QaBbf yHLv3Hyo45AXpsfpM26cg364UeApTG9hQhELl4R3Fk6c5SGhn9SnDUlISDtDtQkDasizVm O7vduokv1VyQW6QLG4sN6Ec2AsWnKKD49Cgglf+WSr1E1kg099VgOWq77IkxxoK670KNH9 0u02rbWn6iGjGRn7RiMHk8lAUytjNeiOh8VWBgbC74CxHGqH9l53ABsuQQi8fg== 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 4QqRTK3yjGz17ZZ; Mon, 26 Jun 2023 12:08:53 +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 35QC8rkR083409; Mon, 26 Jun 2023 12:08:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35QC8rVG083408; Mon, 26 Jun 2023 12:08:53 GMT (envelope-from git) Date: Mon, 26 Jun 2023 12:08:53 GMT Message-Id: <202306261208.35QC8rVG083408@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 8e77643e0441 - stable/13 - LinuxKPI: pci: add PCI_COMMAND_MEMORY List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 8e77643e0441f6894776e784d1562f1462a6e624 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=8e77643e0441f6894776e784d1562f1462a6e624 commit 8e77643e0441f6894776e784d1562f1462a6e624 Author: Bjoern A. Zeeb AuthorDate: 2023-05-23 23:11:06 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-06-26 09:19:45 +0000 LinuxKPI: pci: add PCI_COMMAND_MEMORY Add another PCI alias to our native defines for a wireless driver. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D40247 (cherry picked from commit 7d7d12ba7765902f51dabb259a186ca3b1a2d351) --- 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 f3c495ff1a21..c2643a27b910 100644 --- a/sys/compat/linuxkpi/common/include/linux/pci.h +++ b/sys/compat/linuxkpi/common/include/linux/pci.h @@ -113,6 +113,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