From owner-freebsd-alpha Mon May 15 2:13:58 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from news.uni-kl.de (news.uni-kl.de [131.246.137.51]) by hub.freebsd.org (Postfix) with SMTP id F072E37B793 for ; Mon, 15 May 2000 02:13:54 -0700 (PDT) (envelope-from holger@eit.uni-kl.de) Received: from postamt.eit.uni-kl.de ( postamt.eit.uni-kl.de [131.246.73.100] ) by news.uni-kl.de id aa08154 for ; 15 May 2000 11:13 MESZ Received: from ernie.eit.uni-kl.de (root@fs.eit.uni-kl.de [131.246.12.176]) by postamt.eit.uni-kl.de (8.9.3/8.9.3) with ESMTP id LAA04858 for ; Mon, 15 May 2000 11:13:52 +0200 Received: from ernie.eit.uni-kl.de (holger@ernie.eit.uni-kl.de [131.246.12.176]) by ernie.eit.uni-kl.de (8.9.3/8.9.3) with ESMTP id LAA32248 for ; Mon, 15 May 2000 11:22:36 +0200 Date: Mon, 15 May 2000 11:22:36 +0200 (MEST) From: Holger Lamm To: freebsd-alpha@freebsd.org Subject: Parallel port? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, is there a special reason why the parallel port is not supported on Alpha? I just played around with my AXPpci and added insb() and outsb() to /sys/alpha/include/cpufunc.h (copied and modified insw and outsw from below), then it compiles well (5.0-current cvsupped somewhen last week): ---------------- config: ------------------------------------ options LPT_DEBUG # Printer driver debug options PPC_DEBUG # Parallel chipset level debug device ppbus device ppc0 at isa? irq 7 device lpt device ppi ------------------ dmesg:------------------------------ [...] mcclock0: at port 0x70-0x71 on isa0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 on isa0 sio0: type 16550A, console sio0: interrupting at ISA irq 4 sio1: reserved for low-level i/o ppc0: at port 0x3bc-0x3c3 irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppi0: on ppbus0 out=55 in=55 tout=10000 out=aa in=aa tout=10000 out=fe in=fe tout=10000 out=fd in=fd tout=10000 out=fb in=fb tout=10000 out=f7 in=f7 tout=10000 out=ef in=ef tout=10000 out=df in=df tout=10000 out=bf in=bf tout=10000 out=7f in=7f tout=10000 out=1 in=1 tout=10000 out=2 in=2 tout=10000 out=4 in=4 tout=10000 out=8 in=8 tout=10000 out=10 in=10 tout=10000 out=20 in=20 tout=10000 out=40 in=40 tout=10000 out=80 in=80 tout=10000 lpt0: on ppbus0 oldirq 0 lpt0: Polled port irq 7 0 ppc0: interrupting at ISA irq 7 Timecounter "alpha" frequency 167182812 Hz Waiting 10 seconds for SCSI devices to settle [...] Unfortunately I can't check if this was all, I don't have a working printer (I need the port for bit-banging). Holger -- /"\ \ / ASCII Ribbon Campaign - Say NO to HTML in email and news X Sag NEIN zu HTML in email und news / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message