Subject: RE: CVS commit: src/sys/dev/acpi
To: , <>
From: Scott Ellis <>
List: current-users
Date: 01/25/2004 10:11:51
FYI, this mostly works.  Dmesg shows:

atppc0 at acpi0 (PNP0401): AT Parallel Port
atppc0: io 0x378-0x37f,0x778-0x77b irq 7 drq 3
atppc0: FIFO <depth,wthr,rthr>=<16,8,8>
atppc0: capabilities=3f<INTR,DMA,FIFO,PS2,ECP,EPP>
ppbus0 at atppc0
ppbus0: IEEE1284 device found.
ppbus0: <Brother HL-1650_1670N series> PRINTER PJL,PCL,PCLXL,POSTSCRIPT
lpt0 at ppbus0: port mode = 1<COMPATIBLE>

(Yes, the newline after "ppbus0 at atppc0" really is there...weird.)

Enabling ECP works fine (after building the lptctl utility, of course!).
Enabling DMA causes the printer to print garbage, and dmesg spews:

isa0: _isa_dmadone: channel 3 not finished

So, methinks DMA isn't quite working yet, however the attachment seems to
work, as does ECP mode.


-----Original Message-----
[] On Behalf Of Jaromir Dolecek
Sent: Sunday, January 25, 2004 3:47 AM
Subject: CVS commit: src/sys/dev/acpi

Module Name:	src
Committed By:	jdolecek
Date:		Sun Jan 25 11:46:49 UTC 2004

Modified Files:
	src/sys/dev/acpi: files.acpi
Added Files:
	src/sys/dev/acpi: atppc_acpi.c

Log Message:
add ACPI atppc(4) attachment; probes properly, DMA and actual transfer not
tested yet

To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/sys/dev/acpi/atppc_acpi.c cvs rdiff -r1.20 -r1.21

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.