From nobody Thu Feb 16 11:56:04 2023 X-Original-To: dev-commits-src-branches@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 4PHYLY3GQFz3q5rq; Thu, 16 Feb 2023 11:56:05 +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 4PHYLX6WHPz49VZ; Thu, 16 Feb 2023 11:56:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548565; 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=W02hnqmvnZjJPom7GthuFW+HXauw+yIbsQM1+OoCW5I=; b=mtmMB7s+/Ut6P6JddO3sUSJtYTQMP9ywXWf4CvylhDQaAPedCHtr9MCYoJPbaSS0nKKyLe /ORMBQs1nLjlXD/eUnlvdgEImLvnf+Lmi86xUweaxULxWS1rKJsYAzYLKqYGw6E1L1Zplg Wk6M4MedMqsfsRBXkXPLST54cefQu7HVjh/KXe47Q2TbI1aFB2hSUpYxWc3gCVx8gtu5h6 sacO/3e65Gie3GHFw/DP5F8O+gwbB4+XuTJUIj5OYxx//JQ3043Ox3bpM9v9/ewA+ozYoh Gs2Ea3/b1m3nXWgMi3/lfl6Bq6v5ke9LgE+aidrtoy384RJN4FlboXG5lr10Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548565; 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=W02hnqmvnZjJPom7GthuFW+HXauw+yIbsQM1+OoCW5I=; b=OBK84A3qJxyr065FWWcZFWkNzGqe1ij6Jc+XlW3KDjPfsVxcRf/sstxEe4z+HEERzTvCiE urvcZS+oIaKefzbCmkZdsVrmtkaUset1k+ov5TchYAoujZZfLZXWeZ2FrTQ/n3YH5W2vBT yn8heYx2xiNdE4yWqyi1NmqTJ/w9RhduHrfhBcyZvQZTe0mZquWNmTCWu8HLZfPux+kQA2 lN5hOoKdzl/EcsuCdya1AP5qKw44yragK1iA7peDQPtYIj2Eb6ualtngEUV6BdvNFcl099 eK1CqkTWHgf1vErn2QMhvBE67qM60RACfsslpNJ1Hh2zaToBM5cV+Rts3L0f2Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676548565; a=rsa-sha256; cv=none; b=AfD2iBCQoIYm4M7gN5oXdk4KM8mbD6T0oHxt8RoTL/zrOZmWWoC4TWnclKTEmEL6+0VZ2X RiZyHdclpV7aIxLEWYy2NZhEAcPlxtm+P747pbTw8k57IcCZOBIW8yDfM68ZIRGGyJpP1r EOyLuX5mU1lSeH4qaaJN0MsccZdEWGwO9SVIm2mDGNUtnRtvRU9wkYdyNmYDOqviV0pVtV 0tmYal/zPNVNY2EBXipiX4Ro1EwiidIuNrd37kTrxSsflv0hxyBbPYrfcoNqJitejKoFKS I9gNKHF8Qwo8sPJR4ZDYgh7ozqfEKN9CDD9WGE6RlRYH3mEovUjG8nTI7pAuOA== 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 4PHYLX4hLRz133r; Thu, 16 Feb 2023 11:56:04 +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 31GBu4Ox055561; Thu, 16 Feb 2023 11:56:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GBu4B0055560; Thu, 16 Feb 2023 11:56:04 GMT (envelope-from git) Date: Thu, 16 Feb 2023 11:56:04 GMT Message-Id: <202302161156.31GBu4B0055560@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: 10ebda3457bf - stable/13 - linuxkpi: Define `PCI_STD_NUM_BARS` in List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 10ebda3457bf70d621dd6b97232c00654d772a96 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=10ebda3457bf70d621dd6b97232c00654d772a96 commit 10ebda3457bf70d621dd6b97232c00654d772a96 Author: Jean-Sébastien Pédron AuthorDate: 2023-01-22 13:46:14 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-16 11:55:15 +0000 linuxkpi: Define `PCI_STD_NUM_BARS` in Reviewed by: emaste, manu Approved by: emaste, manu Differential Revision: https://reviews.freebsd.org/D38162 (cherry picked from commit 66cc55a041ddaf4890239b1fe83632c74957bc03) --- 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 b0c52c3f062e..ab94cbeff6e4 100644 --- a/sys/compat/linuxkpi/common/include/linux/pci.h +++ b/sys/compat/linuxkpi/common/include/linux/pci.h @@ -108,6 +108,7 @@ MODULE_PNP_INFO("U32:vendor;U32:device;V32:subvendor;V32:subdevice", \ #define to_pci_dev(n) container_of(n, struct pci_dev, dev) +#define PCI_STD_NUM_BARS 6 #define PCI_VENDOR_ID PCIR_VENDOR #define PCI_DEVICE_ID PCIR_DEVICE #define PCI_COMMAND PCIR_COMMAND