From nobody Thu Apr 11 02:08:54 2024 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 4VFNRB5mW3z5GdCj; Thu, 11 Apr 2024 02:08:54 +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 4VFNRB59B8z41Wb; Thu, 11 Apr 2024 02:08:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712801334; 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=WxWvXLRtWzB1SV9uzZ6Wag2HidUxTyTA728h6YZ/ejk=; b=Igcp6IA3NQVutXoxnk9H8O7o2LC2TPQXOM4CEdplOoPRP2d6X8T7CWSc6pBu6AARhELAlI IWcpIOpL+rPS+ZFgnbrzprdy9oT6MBuSNOBRFOCKsA2Guo09v3GFzfNbVLNUra29DGmQfz 43VjWklshQM8/EQt3hmNz1ppe6Nwr2kPufqvbsTO7N703QYkdLAj4harF33Hy0hL3NQUg8 aw37oY+WZEHQfUl5/lsMXfVxWLQe5SiOHdkI4thP5mdL7WE2r6VYgw9sNe+ascGkQf2QFU 0xEK1MLXm1Q+pxgzhS7JnDNtQ1gdfkzlO4jFOMnnaYU8Yv42m3TG0d315NjB1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712801334; a=rsa-sha256; cv=none; b=UBf12vwNYTgKYuKb2WRiI1FbKzMxLP0EH2BcEG26NKOeclNG6K5SymRQo9MPIP0X/2feNX h22RBBWxEFDCXaOUot5HNKJEWmmKdT5SvvXMleWD4Nv4bA+u5XXfaEFnYfCF1CB82iEJt0 N6XYcNvmVWLmQO7XhcXXVLnFxwPXZEmPRaaF+ctPswUbkTV/qhXnVQ4eD/0W2mUvegRHPA XJgO6opBqiECQMly6RmdgBAybkPat5IBvKyiUh70duAwyYZ/z742vU8MbmP0YgmFVq3ksW lTDm7HG2rrPWjFyn4vOJ7yvTAR/a4U73vv7Kx/9VZGJQ/snptK/olS0yJHrlzg== 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=1712801334; 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=WxWvXLRtWzB1SV9uzZ6Wag2HidUxTyTA728h6YZ/ejk=; b=JG2j+eVAIqdVHfQQNw638hSepyj559jJRc2MWYHLDc1SzZt7tVgidALhwOlRXsN6+3R5Ju StX/aZSVEG1tHQGAV5uRspWOu5ZEVwvTrABC5wDyu0Il4DTYw1y+7Fvj4oLnwnYz6e26hT b8Lc5h2vleJkIxn08H6a0c3QygMJ9TCO5Mu2DmmFP3PsO909otKwAbMW7fd4kq3gpX3aXZ gbIx9sOBQXZiq7fjiUpdNSRVitJrPE+UkvDEknCbUN2piCaDzYNJHPm+liSwQzqSp32CQq sWEuV+pwWg6r8qAWkb+Jn4qgjSLRy8ZppugZ6fi5/AMqZVZsPhvhJk/y2yZdiQ== 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 4VFNRB4S4Xz12v8; Thu, 11 Apr 2024 02:08:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43B28sTv092933; Thu, 11 Apr 2024 02:08:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43B28srA092929; Thu, 11 Apr 2024 02:08:54 GMT (envelope-from git) Date: Thu, 11 Apr 2024 02:08:54 GMT Message-Id: <202404110208.43B28srA092929@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Justin Hibbits Subject: git: f03a2e7b59d9 - main - macio: Set resource map size 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: dev-commits-src-all+owner@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: jhibbits X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f03a2e7b59d98629bc9a81882ce7ca534bd4f224 Auto-Submitted: auto-generated The branch main has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=f03a2e7b59d98629bc9a81882ce7ca534bd4f224 commit f03a2e7b59d98629bc9a81882ce7ca534bd4f224 Author: Justin Hibbits AuthorDate: 2024-04-11 01:42:31 +0000 Commit: Justin Hibbits CommitDate: 2024-04-11 02:05:38 +0000 macio: Set resource map size PR: 278278 Fixes: af081ec6f7cf ("powerpc: powermac: Use bus_generic_rman_*") --- sys/powerpc/powermac/macio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/powerpc/powermac/macio.c b/sys/powerpc/powermac/macio.c index b3d9e9f73f25..8b96f56ad25f 100644 --- a/sys/powerpc/powermac/macio.c +++ b/sys/powerpc/powermac/macio.c @@ -686,6 +686,7 @@ macio_map_resource(device_t bus, device_t child, struct resource *r, length, args.memattr); if (map->r_vaddr == NULL) return (ENOMEM); + map->r_size = length; map->r_bustag = &bs_le_tag; map->r_bushandle = (bus_space_handle_t)map->r_vaddr; return (0);