From nobody Thu Sep 05 13:46:16 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 4X00y15Kxxz5W51t; Thu, 05 Sep 2024 13:46: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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X00y115MGz4QtT; Thu, 5 Sep 2024 13:46:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725543977; 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=k6XLeeXBboPqbcPa1sSueVGhPTJqXy8V0D46mrHUxSo=; b=Ykt5WCjM3uqLQ3g4/buheXaXLJwYYnhECXWc4GtIaCiKKPx2eXVpnmcuPvpbuAmmT2o+gY SB4JOvMA9pP/tj5bCTtbA6YmJy/vCidgMPV0hk6+UZ66vF77Y7BvzN6a8CWZsUQWOs2j4b VIKElLwoogXwxpB2yfSdMCIRDnfRJPu7QoP5f9V5YZdHl9TzoswlqlURbq7knAhk1IuJzc OmkIiZ6J2Rn3t723iNfC6z34z5PI+6+Uc0K1LI1NaIQlG7UmYshxO9eb5+iy9oPAVY21vO LwzOjl5ymcL1JU9Y2s/iGBHgJcK5qYYCUDPxAweqNb7186a4NHzRpfg0rqnABg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725543977; a=rsa-sha256; cv=none; b=oRB6hzp0zXhWTKDXO95And1ae875I3sy+VOZGCFYc01NQ+vDU+6SYHGGyUgnF1gqLGcH5N eVW0njjI0SuIF9wGIQcC69HEd3+5dq++QiVEeJFCACBvlQlaPcO5QS+TdxJPKT19T7XaZx CQQ7C8yPt/CmCoPHcorzLY2TgHMJQKSGNDQDgMk1nQnlJrA2VaEMOa8X2VnRmVxa6H4Gs0 YwY2HQruKQi4ItMFhbmLK/DB0S4HVaZhAOT8vyjPXwPvo2gunqH64TZZ0S/h+z5X1bRJ5n xctXW5dm27xAlkPIqCHa/4Fr96Pzems9vq4wGM7vnuwhkK1ExvW8pIzXOsRnfg== 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=1725543977; 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=k6XLeeXBboPqbcPa1sSueVGhPTJqXy8V0D46mrHUxSo=; b=kmZ32DNJUC2GTYdypKt37Ao263pYfs24UnAwzox4mayJM7mg2se8Nq9VGIVGFgC+e4kUgh xdnUdqwek7UAij75yD3vGB0ba2nKjDfIWq0sbiB5HNPzu891bARHOVurixb6dndC1izx4k lnFpfJN0Rfp26dicrjCJ7hFej9Ru0K1tJIIvnSHh6Aak91M/eFM9QfwY7ETacpM2xRB0f/ n/MYadVwtD6rKga2sPaNJtb06LhCK+PQ1r3syTS07sduIQZJbIlaYLMp1Y1kKzjvaXH5Dw +Bm8HHVl0Uxf27xsCD0FZQSpPupbu6GeSIFeMJdyWtWPUgDz6CYTqwWJVXhf2w== 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 4X00y10CWXz18WK; Thu, 5 Sep 2024 13:46:17 +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 485DkG8L065240; Thu, 5 Sep 2024 13:46:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 485DkGZB065237; Thu, 5 Sep 2024 13:46:16 GMT (envelope-from git) Date: Thu, 5 Sep 2024 13:46:16 GMT Message-Id: <202409051346.485DkGZB065237@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 57e0d4b9a609 - stable/14 - agp: Set the driver-specific field correctly 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 57e0d4b9a609cc2fe267489a3fe46857035ed3ae Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=57e0d4b9a609cc2fe267489a3fe46857035ed3ae commit 57e0d4b9a609cc2fe267489a3fe46857035ed3ae Author: Mark Johnston AuthorDate: 2024-08-29 13:12:19 +0000 Commit: Mark Johnston CommitDate: 2024-09-05 13:44:03 +0000 agp: Set the driver-specific field correctly PR: 281035 Reviewed by: mhorne MFC after: 1 week Fixes: 437ea82ce7fc ("agp: Handle multiple devices more gracefully") (cherry picked from commit 12500c14281dc62ddeac4c5e1e6eabd1e380f11c) --- sys/dev/agp/agp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/agp/agp.c b/sys/dev/agp/agp.c index f7eb906fc57c..8db1e13f08de 100644 --- a/sys/dev/agp/agp.c +++ b/sys/dev/agp/agp.c @@ -254,7 +254,7 @@ agp_generic_attach(device_t dev) mdargs.mda_uid = UID_ROOT; mdargs.mda_gid = GID_WHEEL; mdargs.mda_mode = 0600; - mdargs.mda_si_drv1 = sc; + mdargs.mda_si_drv1 = dev; mdargs.mda_si_drv2 = NULL; unit = device_get_unit(dev);