Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2004 20:32:37 +0200 (CEST)
From:      Ulrich Spoerlein <q@uni.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        njl@FreeBSD.org
Subject:   kern/72489: ppc(4) flags are ignored when ACPI is enabled
Message-ID:  <200410101832.i9AIWb9e001280@igor.q.local>
Resent-Message-ID: <200410101840.i9AIeNCF038470@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>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:



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