From nobody Mon Aug 8 14:04:30 2022 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 4M1dHL4cfTz4Y4Z2; Mon, 8 Aug 2022 14:04:30 +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 4M1dHL46Bfz3wF4; Mon, 8 Aug 2022 14:04:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659967470; 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=tmwdljscnAJvP64dV/1jw3dv1tPMLop6HO19LWAhDTg=; b=uxaG0MsqW5GQr/sxrfILWK5EgUdvPh3f5DePIK6CH9RSrrMA7q2DoTKNBzvOJ1btWiks4N eFq2rN46M1xnxvFflQUXOeNOxam0/vFDKIiS7pbVPQU7PQp8gM74ZB+MuXtpPJgKdeeLsY fQx50yRw8cuC9MjDFF2nMc9PRJuIEm1QbIvlx6JLys3vWJWIuA2PypH7jjP0UNB/sR72ra 1P8R3ZD+OnyyaENG2ilxH0NXL4PodeDQAZ0IKXhj8w6lUvqHgn0gBjYJzEU+/SbfQ4X0mm d8iBzuFmcsVccibggHAkg6j9yr5PbiTeaTqDPwX3+hf4QnH8U7BLpRnb8Y8b0w== 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 4M1dHL35JpztcN; Mon, 8 Aug 2022 14:04:30 +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 278E4UKv089091; Mon, 8 Aug 2022 14:04:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 278E4U7t089090; Mon, 8 Aug 2022 14:04:30 GMT (envelope-from git) Date: Mon, 8 Aug 2022 14:04:30 GMT Message-Id: <202208081404.278E4U7t089090@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 2ff0f051498a - main - linuxkpi: pm: Add more defines and includes 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2ff0f051498aadfe119149ae3720bef58846f3b2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659967470; 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=tmwdljscnAJvP64dV/1jw3dv1tPMLop6HO19LWAhDTg=; b=ZMW8NojceQI1qPe+flXzRopUcDdQoypHLdW0mFCHbtNaFkZUYfmzatxDdq95IlvKC5RahX u++bgFaiJP7RqVL8Fs1tW1WgNQaJWHryqA8i7cIYrrSjJI810MOFz9m3iKu8uzFN1kk/IT QqzJLeM3COcqO3RwLBbiYroa+0HX9aIleyPor1hqUbpHrZmA2HpP3qIr0caWbuQSjrzklb 4qtpyAubqhKnPtjCoij+VZIB9BwSVFclTZeqLp3hKqhXqORSW5hAoRnimlVRSlLteVMuEn 65Fu0IcfaFsrSKbl860lwjQl+hPhUwOKQDiabl2cx4e9Oqhx+h1CjscMX0bSOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659967470; a=rsa-sha256; cv=none; b=HmX1i8v2Sa0bJP5UEBl04B3PPvhbm1uFKp9gq29ieL7cvQuXhsuKEb3j+LJscS6+GUCHII F2kwcgJsVI41GcPlNVYWBO/tgd3HB46wawGTyrkhrw6HG7VklXFmXCiFd/qL7CXlo+pcBb f0HEfWkukda9U1ODlG1H3M8dSjkPSKKlNz/Fq0bQxwCza4HqTjanph5DV2TGCa7hhO5Euc xIRjmbIy1pC5tJXmH5KRq9Z8AVfQkfkkg3Bd3Rwor1JZeTjEu6KBoHoUXIidVOn87kx/Yp VqqjstXadNrip9zmE8Mtv9+p1uzKzv2pnJDZhD+LfI+Z/apnfTZZ5MjzcGJ5pA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=2ff0f051498aadfe119149ae3720bef58846f3b2 commit 2ff0f051498aadfe119149ae3720bef58846f3b2 Author: Emmanuel Vadot AuthorDate: 2022-08-02 08:49:13 +0000 Commit: Emmanuel Vadot CommitDate: 2022-08-08 13:22:36 +0000 linuxkpi: pm: Add more defines and includes Needed by drm-kmod. Reviewed By: emaste, hselasky Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D36024 --- sys/compat/linuxkpi/common/include/linux/pm.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/pm.h b/sys/compat/linuxkpi/common/include/linux/pm.h index 255c9bf0ea8b..d67cebb9764a 100644 --- a/sys/compat/linuxkpi/common/include/linux/pm.h +++ b/sys/compat/linuxkpi/common/include/linux/pm.h @@ -33,10 +33,20 @@ #ifndef _LINUXKPI_LINUX_PM_H #define _LINUXKPI_LINUX_PM_H +/* Needed but breaks linux_usb.c */ +/* #include */ +/* #include */ + typedef struct pm_message { int event; } pm_message_t; +struct dev_pm_domain { +}; + +#define PM_EVENT_FREEZE 0x0001 +#define PM_EVENT_SUSPEND 0x0002 + #ifdef CONFIG_PM_SLEEP #define SIMPLE_DEV_PM_OPS(_name, _suspendfunc, _resumefunc) \ const struct dev_pm_ops _name = { \