kern/72489: ppc(4) flags are ignored when ACPI is enabled

Ulrich Spoerlein q at uni.de
Sun Oct 10 11:40:24 PDT 2004


>Number:         72489
>Category:       kern
>Synopsis:       ppc(4) flags are ignored when ACPI is enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 10 18:40:22 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 5.3-BETA5 i386
>Organization:
>Environment:
System: FreeBSD igor 5.3-BETA5
>Description:
When ppc(4) is attached via ACPI, the hints in /boot/device.hints are
ignored, this places the parallel port in interrupt-mode by default.
Coupled with bin/57630 this effectively disables polled/extended mode
for lpt0.
>How-To-Repeat:
I have this in /boot/device.hints
hint.ppc.0.at="isa"
hint.ppc.0.irq="7"
hint.ppc.0.drq="3"
hint.ppc.0.flags="0x3C"

which works when booting without ACPI
ppc0: <Parallel port> at port 0x378-0x37f irq 7 drq 3 flags 0x3c on isa0
ppc0: SMC-like chipset (ECP/EPP) in ECP+EPP mode (EPP 1.7)
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Polled port

But fails when booting with ACPI. Since ppc0 attaches to acpi0 I tried
changing the line to this
hint.ppc.0.at="acpi"
with no effect.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list