From nobody Thu Aug 29 13:51:10 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 4WvjNv0C2qz5PThj; Thu, 29 Aug 2024 13:51:11 +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 4WvjNt6jplz4ffV; Thu, 29 Aug 2024 13:51:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724939470; 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=Xh66Z2S306AMs42ymgNji/UHzZlWL48lJ9Xp23CF3PM=; b=h/q31D4uALRzbgIMLisqvh6m9OVylLeWulJz5cgbBbrei+KGBqMV42fIz3ZZeCLlNKGW2b 4SpnRAL41oMACM4phD3KZGKveTs75FMSS2sCmJHs1thYBAs8kwq0FQee3rI1bzWkmmZy4b pu8yQubmprthBkmsI+e+JWJg5Zc5731ucaQOyuJv2uWWB0yq8jIoDtjVHQteQhxn/0+Cz7 r9vfmQ3PHUE5zeA1sVDKcLBvKGU4oTxjjFcw9sZqsEfJBLgOhh94EPpVDVrZ3VYGKgdiPF vRhzN2m3oEnd2/n+IFVwRhxR+Tg5p36AW7UaGh5njpX100CfczKJJRxysSo0Jw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724939470; a=rsa-sha256; cv=none; b=ZLPjKTL9dycDIxZLOp4wKNtRMum6QlYYZry0w1Od39cNbkH8iLf2iizAzof5FVonUM/DOi 8sgRCc9UmgePMsD7i7O9WDuHV5LCga+jcK14sWrT0EoJNJRzk8C8HLgRP6/KalCMWVVljU Ed3XbHKpWkBryFgDL+IrNvBFMgFAfoUC4bHgFALB9ed4ChwfJpRNYvrMcv8rkfmufa2Za+ Gd3jUD8GOHWI8sCyI4TPvi/f1Ckm9yc35t346blFhhlf05S8zBNzhsYmi5tOFcY+DaBn5x 0vvRUYAEkPvjyx2FOQE6ylh6lLDmIFralGZQAbjUwqxX6R+FeYciysQNzA6GSA== 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=1724939470; 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=Xh66Z2S306AMs42ymgNji/UHzZlWL48lJ9Xp23CF3PM=; b=GdmMXMlb8VQfB9Q5fG9swMF6BNxgjv3l1bmzvwxmeiaXx+/TorrzkQ/KnAT+tjBc5WWPk0 TwpjgDHf7qkWN7Edj5rPVF/OrhRc0hEMiuENEKq1ypCdZUy3FuXc7nYP42z4gCkREuZrkE GiCeOAUjqwWFi4sv3WVuWQQ53TWicLxlaK3my+XuoM/vQbyFYP6l8ihefsJ9XsnzbMXRMb 5q+Vbgs8YkQ0Fwi5R075x6KnytiC5xd0JxrDl8Grs68LYpDS793cwWaWzqBk5NFalDJ8HG 5ONhxyVG7CtJA9QHf6YLtKAdAC98GS1qpGs0JyJUutwRB8jk9BmpjAB7FclOQQ== 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 4WvjNt6KS2zKWl; Thu, 29 Aug 2024 13:51:10 +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 47TDpAi3052350; Thu, 29 Aug 2024 13:51:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47TDpAQp052347; Thu, 29 Aug 2024 13:51:10 GMT (envelope-from git) Date: Thu, 29 Aug 2024 13:51:10 GMT Message-Id: <202408291351.47TDpAQp052347@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 12500c14281d - main - 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/main X-Git-Reftype: branch X-Git-Commit: 12500c14281dc62ddeac4c5e1e6eabd1e380f11c Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=12500c14281dc62ddeac4c5e1e6eabd1e380f11c commit 12500c14281dc62ddeac4c5e1e6eabd1e380f11c Author: Mark Johnston AuthorDate: 2024-08-29 13:12:19 +0000 Commit: Mark Johnston CommitDate: 2024-08-29 13:12:19 +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") --- 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);