From nobody Wed Jan 25 22:15:15 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 4P2J7823Wgz3bbnG; Wed, 25 Jan 2023 22:15:16 +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 4P2J776Qnxz479Y; Wed, 25 Jan 2023 22:15:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674684915; 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=cvhPzahCXpGu+VhYAH3vCvCiyWa9z21vPNPVMgoQPWE=; b=gJVUJ647HrAb7nMaePJXyVrjhcx5rwKNVgMVoHk/1jthMkX8jHHc/PlgOy68LgwTapkF9b mc6TVyAaEer7Mp9/f9Bj/pgJsZzshSLkUaKaaOO0TaiWUbrPdMcigdJrObCf7WVa0HvkQt vrDqodLtdyjlKXglieVkgWf5Uf3i6bU0dfp1B4gE1UpuHzR/az7XQvmtCGHAUdeGGXgNwk YCvL5MZE56PiIrnek722KH8f/fHJIlXUh/Z2n3Peno0hJdCjb2EqaQYtYT80bq0MfQ81Lm Yw5DGW1Ciz3rp+UJHV3a3hMsfU/6a2TmqKWH0SxtjQqvIrBJw9y/h59Nzm9dGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674684915; 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=cvhPzahCXpGu+VhYAH3vCvCiyWa9z21vPNPVMgoQPWE=; b=Qv7kwn+zo3+0IaIYw2yW3tpTe5CoXj+OL0deHuGnc8BU6dUuFqr8OYpJxH4fazGHCQ1RsM eKZsu/d6cOYVejIWjqZ3iV2bPZL8vGIK2JgFeqr4McaEl8tUYl/K7DLsZv0/9QVVYRwlsf u11CEhMJD3CgfolS1LcQJ48ajqsjEfrkUUFuAN7GzKFbElHuvcWRRJ7cujo0dUYT1ZmdCs jViheLlu/QgfW69AK4zN01VbT1zAr70fPnBSQe3cgN/8xqYd884ChU+lprTDDp4o5qtE6/ JaFZzWr+GWwP1doJhGfmsC/JGkhntuV0LHYVcECC+hyLDNuTlMiyRgOM7u8FDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674684915; a=rsa-sha256; cv=none; b=cea9asKQUJOtoaU5vUpLt9SW96jS3N7gY8FABHC5o1nbO3amsdQYNPhcHKbT4be6eTiRCH MQxA8U+D4lQhbQsnZXV8aMRzVjl6WphKTEE7pmJXynjYED65a8QXP442xBEih00TfgC9yH Y9lcbapE/Egnm3g+wKa7FyIVVGFxqIYY5Huv6tVatvQdYBWBpnos4WU4zteVvUjgV2c3G1 Qh/bYr8VfJyIJUqvV4wxrpB2XZAGjcOrMMsIT4kbMWniHsMxgTBHUVrskZefKMDvj3Er9Z KXZ0N/YrAA7JEcnVmqpVZMqO0oCi8daY4L9bztWPAjKmGiZw+LyZTgRRgZJa5A== 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 4P2J7755lwz15JZ; Wed, 25 Jan 2023 22:15:15 +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 30PMFFdn064504; Wed, 25 Jan 2023 22:15:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30PMFFc5064503; Wed, 25 Jan 2023 22:15:15 GMT (envelope-from git) Date: Wed, 25 Jan 2023 22:15:15 GMT Message-Id: <202301252215.30PMFFc5064503@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: 66cc55a041dd - main - linuxkpi: Define `PCI_STD_NUM_BARS` in 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: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 66cc55a041ddaf4890239b1fe83632c74957bc03 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=66cc55a041ddaf4890239b1fe83632c74957bc03 commit 66cc55a041ddaf4890239b1fe83632c74957bc03 Author: Jean-Sébastien Pédron AuthorDate: 2023-01-22 13:46:14 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-01-25 21:57:32 +0000 linuxkpi: Define `PCI_STD_NUM_BARS` in Reviewed by: emaste, manu Approved by: emaste, manu Differential Revision: https://reviews.freebsd.org/D38162 --- 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 07ea473a4c56..b40241e4576d 100644 --- a/sys/compat/linuxkpi/common/include/linux/pci.h +++ b/sys/compat/linuxkpi/common/include/linux/pci.h @@ -106,6 +106,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