git: 2f2b6480eed2 - stable/15 - isa_common: allow multiple device instances
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Mar 2026 13:58:46 UTC
The branch stable/15 has been updated by aokblast:
URL: https://cgit.FreeBSD.org/src/commit/?id=2f2b6480eed2d0ac88eb617adcc31ce7476991bd
commit 2f2b6480eed2d0ac88eb617adcc31ce7476991bd
Author: ShengYi Hung <aokblast@FreeBSD.org>
AuthorDate: 2025-10-01 08:33:19 +0000
Commit: ShengYi Hung <aokblast@FreeBSD.org>
CommitDate: 2026-03-04 13:57:46 +0000
isa_common: allow multiple device instances
In some devices, there may be multiple isa bridges available from different
sources. Therefore, we allow multiple lpc devices to be generated so that
pcie bus won't show "none" anymore.
For example, in my AMD based Framework Laptop, there are two such
bridges. One is acpi hinted, another is from pcie.
Reviewed by: imp
Approved by: lwhsu (mentor)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D52815
(cherry picked from commit f32ffd11b54792d7bdd37b6dfc0f904a561b879c)
---
sys/isa/isa_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c
index b66cf2be3958..41a63a3c676c 100644
--- a/sys/isa/isa_common.c
+++ b/sys/isa/isa_common.c
@@ -1114,7 +1114,7 @@ isab_attach(device_t dev)
{
device_t child;
- child = device_add_child(dev, "isa", 0);
+ child = device_add_child(dev, "isa", DEVICE_UNIT_ANY);
if (child == NULL)
return (ENXIO);
bus_attach_children(dev);