From nobody Tue Apr 08 10:49:06 2025 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 4ZX2rM1h03z5sC3g; Tue, 08 Apr 2025 10:49:07 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZX2rM0GBQz3kMg; Tue, 08 Apr 2025 10:49:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744109347; 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=WqyRQfzDdRcvAgoLLjMHTI/6JQQeYh30yXtoDEIEJi0=; b=tlaTmoWM9qbGMX8CtfHZsHkKpxbbdYH5glAGT7C1MILv+668n4mBZWCTSJZlsPPfFRzd2u 0DARxrsQjyjlbfRCq3uTUajjK7hhwFZK8WxDGYa1h+UpxhPCGyIZr6g6B0PZKilFJcfCH9 XTq+fYlL/U4B3edyd4xXlpP3LoZqpRh0LWlPqJXn81U4gN6aSYd8GxEoC6zbyZONS7ETsM 3OkhMARCZ2A6Vll32v3xEcDP573uMSnzcsxnRFctl1nR4o+lokpsxH+vdffrniEBAFsUhY sagurZx3pEJ60HYIWMq98ku1POP68c0Bj3opVpO0pA4sxekRAYIwu9ebb3oQvw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744109347; a=rsa-sha256; cv=none; b=QWiobd8XIGY0QTr4iGuyMFP9gkEC0Q3A9Gbkv4+y4mD/IdKYcFi6ENfJn5FRnpLpkSrQs5 f3mf2xUmVaVO2zHyej4B2B+kozQ9cIrU1UtQUELP6WW9ajJeln7rGvmX5zhA+YuShH4deh gVntODt1ARAwIs45AcALmTW7QiWTAZ9juv/s7CDG/BmZwnWpQ0D6HnLGEAsiQqQ4hrnItX SC6TiRwzr3XLssp7WVh/ldd0BsRyXORB8EU1/ALimdAZBpjVLvONK+3EZhAuyI0xpyeqM6 8gA6QO6JIc0x9w32bPHyL6ZBQBdClC/JWSySl+ksDmPGtFTni19TVLh1fXSqyg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744109347; 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=WqyRQfzDdRcvAgoLLjMHTI/6JQQeYh30yXtoDEIEJi0=; b=brJoOoge8JeDqpbXAfCpVECuwzdvRT4CzEoEH5jl83DlR6GZfubMCKypNWyNQ+2Y3F1CEu hmEYon8V+/mBwQ5bAk9sLM6HvCZ5zC/10hw8GUtBke+tsspCvU/9BYe5l6lsrBCk2OO/gP 8Ivz8NBsbhXgmb7wFs2CbcUcOpa/ct/rn+VKfB0NagZFrMTJ0o7p24TI26bAPHsPslbrYg eTZkK33OHmF5vV5Ibrcp2NDnfViWsg+v+ySePfccpSoauM1JDi+PBHi4l3QYhhklVBGwGh lwE1dStO09SMNvYjSrXWF/14xd3Vv9zr1uQIlegGpgFNe7zzLP/QlQtndcPRHw== 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 4ZX2rL6yFWzCdJ; Tue, 08 Apr 2025 10:49:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 538An61Y001920; Tue, 8 Apr 2025 10:49:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 538An6lE001917; Tue, 8 Apr 2025 10:49:06 GMT (envelope-from git) Date: Tue, 8 Apr 2025 10:49:06 GMT Message-Id: <202504081049.538An6lE001917@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: fd9f67e689e8 - main - virtio_p9fs: Support attaching to pci and mmio 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: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fd9f67e689e83f20e29edf63cc6488402de5901c Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=fd9f67e689e83f20e29edf63cc6488402de5901c commit fd9f67e689e83f20e29edf63cc6488402de5901c Author: Andrew Turner AuthorDate: 2025-04-08 10:27:20 +0000 Commit: Andrew Turner CommitDate: 2025-04-08 10:48:27 +0000 virtio_p9fs: Support attaching to pci and mmio Some implementations of the virtio 9p transport are implemented on virtio_mmio, e.g. the Arm FVP. Use the correct macro so the driver attaches when this is the case. Reviewed by: markj Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D49600 --- sys/dev/virtio/p9fs/virtio_p9fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/virtio/p9fs/virtio_p9fs.c b/sys/dev/virtio/p9fs/virtio_p9fs.c index 1fdeeaae2a96..aa84d3970698 100644 --- a/sys/dev/virtio/p9fs/virtio_p9fs.c +++ b/sys/dev/virtio/p9fs/virtio_p9fs.c @@ -488,7 +488,7 @@ vt9p_modevent(module_t mod, int type, void *unused) return (error); } -DRIVER_MODULE(virtio_p9fs, virtio_pci, vt9p_drv, vt9p_modevent, 0); +VIRTIO_DRIVER_MODULE(virtio_p9fs, vt9p_drv, vt9p_modevent, NULL); MODULE_VERSION(virtio_p9fs, 1); MODULE_DEPEND(virtio_p9fs, virtio, 1, 1, 1); MODULE_DEPEND(virtio_p9fs, p9fs, 1, 1, 1);