From nobody Thu Jan 26 14:34:16 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 4P2jrn1wYXz3bytK; Thu, 26 Jan 2023 14:34: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 4P2jrn1Tmsz3Lgc; Thu, 26 Jan 2023 14:34:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674743657; 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=uUyGd5ZFm5Y5AElU1H5m42+u/cZdOxAqERrvpL2tHOw=; b=umgEwiFK5r+/icMUqg0lLOw7Ib+5hunhh6rssTKzkXpOZ1CSDOKGwALFD0NHhLPgkhSuNb 2DgIFUa8DTkQY0CbmwN+3S0U6E+vZucVbK1NqDcAv1FLFPQGjxGV+DvcCH8GhWRiZfA8Gs f1ZejJgL/w9kh9hpZFQraJ5v43EREGosvLaajZLe0yBlFIJBQj8nt+/P3u56X09FunNqQx +lswVHyJqA7V3fUowGiGwHWwG/y87uGnzCjgznAZO3L8I8PzWfSGXtA0yI5nMg/44y3q5j ZL5cMMi1idHxPPQa5tKw/f+yAedG+9dCsUpKJ5OmTns3KBAoYzgaCACU7fdl6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674743657; 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=uUyGd5ZFm5Y5AElU1H5m42+u/cZdOxAqERrvpL2tHOw=; b=KLbNrEINoALIBsaRlUz5VNpK5F1MQ++voTHQcGNqzrTVcZNtIOMhUlZ/AtHUQIKvp8UVT1 z+lNPG5822xO7Sap8P7Ljiyrn3PxhNQKTVc4ballus4CRlzZC8DbhjmNHnFeMQk/QIhAJy BidzIT8gsFvqIYay0CV78jGOZbskmHzFe/ASXNSkygczy5ec+y4Gh/6qcEcUmxEIcJJQYP ObsDNEIihQbq5ofAgX2eTcw+zdhFey9kT9w7Oq+00KqaDe5y15/Rj+WxEZcei03+nAJoCX RM0yJDisMCkLOfajDmNlHuoVYGupzdUQAIlazHPxytxL0VtHyu6xMjDP+VjJgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674743657; a=rsa-sha256; cv=none; b=AzMu8/J/im36AuZCgCaj0ajrx8W7mVCVc3e4kQZ+FTZ/VSFlefmufPN/zjKAWEuwKc0hVr c9HvyFv9h3bJlyc/GTzfjqHLPiPEoEh6C0/9OwQt/E+YwArXSUwaomVeZI8m4ilaLYIfau ibP6QOOidU8iji4zUtGdGkYQiJ5ut1qGpWoZ1fMiHtejlSn/yhch9ALl181yS2hVY8NRgL P0Gmq1OQ6zO+9MgfPM8d4mPqZRzlIEWw1x31AxgzwRFDWQwD+X72zj+MagKlxmlDHZcBic 5lcdpSVaNyJYM4TgyvG5g7u22PyVwHYDo4ZtroLQk3sX1FSePMF4NhGH/nQ4/A== 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 4P2jrn0X4RzY9m; Thu, 26 Jan 2023 14:34: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 30QEYGcZ063094; Thu, 26 Jan 2023 14:34:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30QEYGre063093; Thu, 26 Jan 2023 14:34:16 GMT (envelope-from git) Date: Thu, 26 Jan 2023 14:34:16 GMT Message-Id: <202301261434.30QEYGre063093@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: 0d0ca120a79f - main - LinuxKPI: pci.h move function declaration to top of file. 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: 0d0ca120a79ff826d7c2ad84c44359c200460640 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=0d0ca120a79ff826d7c2ad84c44359c200460640 commit 0d0ca120a79ff826d7c2ad84c44359c200460640 Author: Bjoern A. Zeeb AuthorDate: 2023-01-26 14:31:26 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-01-26 14:33:31 +0000 LinuxKPI: pci.h move function declaration to top of file. No functional changes. X-MFC-with: 49b6d5ed142d6c59b7a517ff5660165d8647bd01 Sponsored by: The FreeBSD Foundation --- sys/compat/linuxkpi/common/include/linux/pci.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h index b40241e4576d..3b9403a61ecd 100644 --- a/sys/compat/linuxkpi/common/include/linux/pci.h +++ b/sys/compat/linuxkpi/common/include/linux/pci.h @@ -357,6 +357,7 @@ struct pcim_iomap_devres { int pci_request_region(struct pci_dev *pdev, int bar, const char *res_name); int pci_alloc_irq_vectors(struct pci_dev *pdev, int minv, int maxv, unsigned int flags); +bool pci_device_is_present(struct pci_dev *pdev); /* Internal helper function(s). */ struct pci_dev *lkpinew_pci_dev(device_t); @@ -1683,6 +1684,4 @@ pci_wait_for_pending_transaction(struct pci_dev *pdev) return (0); } -bool pci_device_is_present(struct pci_dev *pdev); - #endif /* _LINUXKPI_LINUX_PCI_H_ */