From nobody Fri Jul 4 03:22:36 2025 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 4bYJq118jNz60VjL; Fri, 04 Jul 2025 03:22:37 +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 4bYJq10bFVz3Vlf; Fri, 04 Jul 2025 03:22:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751599357; 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=bHcIlGaJplHsjsteQyxM8iW5x1y/JwJffbAZ0TJemFo=; b=E2zP3FomPBXG1mx4XJwwqpgmUnQhyLyMluv0rpY2kyuvzqavRwZ7a9lHiCQiM+3q0hyQ4e /2G/jHT8eadQXPJ7IDqtuyC1cR9H7+uTHvPP+Quo+pndpxxwG85mS3dAx92rvvRl04Bjf1 sz/LIz2CDC2d7al1SPuPgwJIIUYhEgz+Zlx55vpWNr6hLE39qLokI/6Q8tH1g99eNY8Hyl g4v2GEPHaspT1c9sgvfg21S0o+5ZTtv7e24RhXBpTlZlRi/slrB6+PbZe8djDS8HpCd6yc nLTn+uJq5+oePrrSIYeAisBEuO3XOpSoj55s2PefeeY8i1qzBbZ/oZtemsS06Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751599357; 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=bHcIlGaJplHsjsteQyxM8iW5x1y/JwJffbAZ0TJemFo=; b=qzaC6G88eRS5XXlpsPCped9CmAaq+7RiZj1u7RK0UbqmmfoLmCqoXiRyKT1jcPwd8abLeS FFiRIeHAzL82AiEeRrtAerYVJt3NuJ2oTwlQlUs90WUjU+TS8qh0jtwbTRxLwa5jzapN0X vH/1r+7AKdrXKdR2aojG9Zb8nW4TYWVJkESQN370Szq4nfQ0PFt+kIBmVwT0D23gWPs6nA 0/dx42HeAJqnpRC/t/Or2UxpyeuGmnpbmslxqghszM/n2+5UR04NfNogaMCieHWB47znWT HbTeT0hik0olzoFdv8nop13ATGTLiuXtokKVxnwxsyU/WusCNY7vtLsEubs8LQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751599357; a=rsa-sha256; cv=none; b=WgpGgZ2P8h8yfRVhJFE3j5Bt4YPXuxNbxuTIQfYIk+Pno2UiL08zOBm/VWrZZc9nMyEBzn +3dycTwg/H93UBfgd6dnzM0otBLNZQl5yCLGB7oeEVVep+xG6wC8UShJHJedvvE0vg6gCq sDxLyJdOlkB0GbKydq39bnyzkUHqhUIXdJut8dDpg6SHq1Nez5Bd+0sAgA4+Rvmkz8Zy0T l3A3y1Io7oOijkxHXRqXNTy3s0UVjQxtwQPueYsqIm/Vq69M7F05F89MeoY+ui8eFuvy8k 1kcl5cmpnjHkZ9Fze/oh8+6YejSCX4pShJot47XvXpgP3vOeWEI8pXNOl2pxEQ== 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 4bYJq1057ZzZLl; Fri, 04 Jul 2025 03:22:37 +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 5643Maqp079548; Fri, 4 Jul 2025 03:22:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5643MaYN079545; Fri, 4 Jul 2025 03:22:36 GMT (envelope-from git) Date: Fri, 4 Jul 2025 03:22:36 GMT Message-Id: <202507040322.5643MaYN079545@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: f58e032410c9 - main - LinuxKPI: MODULE_DEVICE_TABLE() remove hard coded pci 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: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f58e032410c93d67c83d6bce8a3e6711f377a4be Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=f58e032410c93d67c83d6bce8a3e6711f377a4be commit f58e032410c93d67c83d6bce8a3e6711f377a4be Author: Bjoern A. Zeeb AuthorDate: 2025-06-22 22:44:40 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-07-04 03:22:22 +0000 LinuxKPI: MODULE_DEVICE_TABLE() remove hard coded pci While we currently only use MODULE_DEVICE_TABLE() for pci (or so I thought [*]), this may soon change. Remove a hard coded "pci" for the bus and use the bus name passed in as _bus. [*] see follow-up change Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: imp, dumbbell Differential Revision: https://reviews.freebsd.org/D51048 --- sys/compat/linuxkpi/common/include/linux/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h index 174015ba7a58..f8a0b2d84d41 100644 --- a/sys/compat/linuxkpi/common/include/linux/pci.h +++ b/sys/compat/linuxkpi/common/include/linux/pci.h @@ -85,7 +85,7 @@ static driver_t _ ## _bus ## _ ## _table ## _driver = { \ 0 \ }; \ \ -DRIVER_MODULE(lkpi_ ## _table, pci, _ ## _bus ## _ ## _table ## _driver,\ +DRIVER_MODULE(lkpi_ ## _table, _bus, _ ## _bus ## _ ## _table ## _driver,\ 0, 0); \ \ MODULE_PNP_INFO("U32:vendor;U32:device;V32:subvendor;V32:subdevice", \