From nobody Sun Jul 13 19:31:08 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 4bgFtP1gVrz61NDH; Sun, 13 Jul 2025 19:31:09 +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 4bgFtN4p19z3k7k; Sun, 13 Jul 2025 19:31:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752435068; 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=/MiBTIp89e6sblPWZuz6kOb/jKTtos2LWcBtEKZRIuw=; b=FkiDu975EKaXjj98+ROjUdtJgMlBVlqyu0/CxORlrnlYgHkMLV0KSNWeSF/rA2WK/cyj+f l7SKnhtfKvJOSZBrEy80L3EoU1G6DId9qbxcEbt0ggJxp7vE0f9GVSj7RON8g2psOx31ej TrWtVYIb8uOX0sviE+7El6+rpL/nMz0xZ8A1SGY286u/7dupD0hjjKNY1IRQwU8KwQwBdI bAb6lhkdxqejYtqdq/60Ga1/2ta3Q732nUCgGGoEHH1uULViF663Cci8JXHAcbZdhmygIr oSr2bODBeFC2nBWBQVn3o0p5UqQ9FdHgBvEu8g3FkQGwAZmWyvfpqmCluTO25A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752435068; 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=/MiBTIp89e6sblPWZuz6kOb/jKTtos2LWcBtEKZRIuw=; b=TqeJhfSzT3JQCep7Jg6rc+0jHebgWMcLbfJpmhOFexLM0kLarI9NB3OQ5dRcOqBzBTZbAs Niyw4jjfzIXmFsHB5vMenLDVIFtgQ1fbQS4B9569vme32lppTXwUtOvNiPffbdEysUlPDG MI9ssLiqqupzWidDPBiUsnAmIMizio4quUZ/BPlKp+o81AWJ8PC9JfPtsQ2DbcZviFwu28 ofKelrAjannSso+jHx0wEkUEGC9qLuSV7nMI37Cv2lzMNLmXpCPmJdhVAc15cDy2ZyCF8m F4d2azNxiM8mURyGQdB7M25yc0ki3hlHaQChCBJT6wT/9blh0hLo/+nvD8vwXQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1752435068; a=rsa-sha256; cv=none; b=J6cfkocgR9fxsx08Av4tGRRRndFgAL9CyuzqYomES7eBcmrAbaPjhj5K0o2TIaKhgqRV40 +aUmDEaOH+AviEjpTe9En8MFhx/XHKIfitoe/VW6aw0zpqjCNzgKdZe7KoTELdG4JdpkoB YMARvrU1KJO6wvYUvTQ9ZZvbmOuGy4PAB94IEAzw/3MA1tCPX2a1ZZNLbUwcQjMvTqTaup Mc6VHEjluAkTTN72c6Kbwlm8JXIEaWMrXpxfXqWvyMSc3OPC6lTbNzXF1xeS07zDWWddf+ 8mUA3KTIPHbyUzavFJdlD4R34JV1xm/S9XxI4QUfV5oMOX+BSfFq4Ov1qoyM9A== 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 4bgFtN4Pltz66k; Sun, 13 Jul 2025 19:31:08 +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 56DJV8wg070750; Sun, 13 Jul 2025 19:31:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56DJV8kh070747; Sun, 13 Jul 2025 19:31:08 GMT (envelope-from git) Date: Sun, 13 Jul 2025 19:31:08 GMT Message-Id: <202507131931.56DJV8kh070747@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 00544b72f65f - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 00544b72f65f3f160d829445a0b8a26b375bfab9 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=00544b72f65f3f160d829445a0b8a26b375bfab9 commit 00544b72f65f3f160d829445a0b8a26b375bfab9 Author: Bjoern A. Zeeb AuthorDate: 2025-06-22 22:44:40 +0000 Commit: Bjoern A. Zeeb CommitDate: 2025-07-13 19:25:03 +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 Reviewed by: imp, dumbbell Differential Revision: https://reviews.freebsd.org/D51048 (cherry picked from commit f58e032410c93d67c83d6bce8a3e6711f377a4be) --- 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 ccf86c7778e9..15fedb87e6e6 100644 --- a/sys/compat/linuxkpi/common/include/linux/pci.h +++ b/sys/compat/linuxkpi/common/include/linux/pci.h @@ -83,7 +83,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", \