From owner-freebsd-alpha Mon May 15 15: 3:27 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from lh2.rdc1.tx.home.com (ha2.rdc1.tx.home.com [24.4.0.67]) by hub.freebsd.org (Postfix) with ESMTP id 46B9637B8CA for ; Mon, 15 May 2000 15:03:24 -0700 (PDT) (envelope-from miklic@ibm.net) Received: from ibm.net ([24.10.140.87]) by lh2.rdc1.tx.home.com (InterMail vM.4.01.02.00 201-229-116) with ESMTP id <20000515220323.TFMZ25186.lh2.rdc1.tx.home.com@ibm.net>; Mon, 15 May 2000 15:03:23 -0700 Message-ID: <392082F6.404E4EEE@ibm.net> Date: Mon, 15 May 2000 23:06:31 +0000 From: "Andrew M. Miklic" X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT alpha) X-Accept-Language: en MIME-Version: 1.0 To: Holger Lamm Cc: freebsd-alpha@freebsd.org Subject: Re: Parallel port? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Holger Lamm wrote: > Hi, > > is there a special reason why the parallel port is not supported on Alpha? Parallel port code is now supported for Alpha, as of sometime yesterday afternoon. Thanks to Doug Rabson for getting it in... > > 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): > It's actually a little more complicated than that, but not much (there's a somewhat i386-specific portion to the ppc code as regards LPT_IOSIZE)... > Unfortunately I can't check if this was all, I don't have a working > printer (I need the port for bit-banging). > I've tested printing with straight 'cat's of files to lpt0, as well as printing through GhostScript, gv, and Netscape, and they all work beautifully... Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message