Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2024 20:59:21 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 74b9fc7adcf4 - stable/14 - amd64 GENERIC: Switch uart hints from "isa" to "acpi"
Message-ID:  <202407222059.46MKxLa2045347@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=74b9fc7adcf4afb1c3039267e338c3cfdf022957

commit 74b9fc7adcf4afb1c3039267e338c3cfdf022957
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-07-15 19:14:01 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-07-22 19:56:00 +0000

    amd64 GENERIC: Switch uart hints from "isa" to "acpi"
    
    This causes these hints to be only used to wire device unit numbers
    for serial ports enumerated by ACPI but will not create ISA device
    nodes if ACPI doesn't enumerate them.  Note that IRQ hints are not
    used for wiring so have been removed.
    
    PR:             270707
    Reported by:    aixdroix_OSS@protonmail.com, Michael Dexter
    Reported by:    mfw_burn@pm.me, Hannes Hfauswedell <h2+fbsdports@fsfe.org>
    Reported by:    Matthias Lanter <freebsd@lanter-it.ch>
    Reported by:    William Bulley <web@umich.edu>
    Reviewed by:    imp
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D45945
    
    (cherry picked from commit 9cc06bf7aa2846c35483de567779bb8afc289f53)
---
 sys/amd64/conf/GENERIC.hints | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys/amd64/conf/GENERIC.hints b/sys/amd64/conf/GENERIC.hints
index 7c2a3f28b9ce..4f6121c7cf77 100644
--- a/sys/amd64/conf/GENERIC.hints
+++ b/sys/amd64/conf/GENERIC.hints
@@ -6,13 +6,11 @@ hint.psm.0.at="atkbdc"
 hint.psm.0.irq="12"
 hint.sc.0.at="isa"
 hint.sc.0.flags="0x100"
-hint.uart.0.at="isa"
+hint.uart.0.at="acpi"
 hint.uart.0.port="0x3F8"
 hint.uart.0.flags="0x10"
-hint.uart.0.irq="4"
-hint.uart.1.at="isa"
+hint.uart.1.at="acpi"
 hint.uart.1.port="0x2F8"
-hint.uart.1.irq="3"
 hint.atrtc.0.at="isa"
 hint.atrtc.0.port="0x70"
 hint.atrtc.0.irq="8"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407222059.46MKxLa2045347>