Date: Mon, 15 May 2000 11:22:36 +0200 (MEST) From: Holger Lamm <holger@eit.uni-kl.de> To: freebsd-alpha@freebsd.org Subject: Parallel port? Message-ID: <Pine.LNX.4.21.0005121605580.15224-100000@ernie.eit.uni-kl.de>
next in thread | raw e-mail | index | archive | help
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: <MC146818A real time clock> 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: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppi0: <Parallel I/O> 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: <Printer> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0005121605580.15224-100000>