Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jul 2000 21:53:53 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Mark Abene <phiber@radicalmedia.com>
Cc:        Doug Rabson <drabson@yahoo.co.uk>, "Andrew M. Miklic" <miklic@ibm.net>, freebsd-alpha@freebsd.org
Subject:   Re: Parallel Port/Printer diffs!
Message-ID:  <Pine.BSF.4.21.0007032150480.32480-100000@salmon.nlsystems.com>
In-Reply-To: <20000620190629.C23157@radicalmedia.com>

index | next in thread | previous in thread | raw e-mail

On Tue, 20 Jun 2000, Mark Abene wrote:

> Good news everyone.  Working with Andrew Miklic's patches, I've created diffs
> to 4.0-RELEASE which add support for the parallel port.  I've also written
> the requisite ppc_smc37c935_detect routine for those of us with Super I/O
> chips (EB/PC164, etc.), so we can use ECP/EPP.  Even the parallel port ZIP
> drive works!  I'm using mine right now.  The diffs include a patch to the
> GENERIC kernel config to enable the ppc driver.  This should work on all
> alphas.  If you have the Super I/O chip in your machine, add the option
> PPC_PROBE_CHIPSET to your kernel config, and be sure to specify the io port
> and flags to the "ppc" driver line.  My detect routine will tell the Super
> I/O chip to relocate the parallel port to the io address you specify, and
> set the mode according to the flags (if there are any).  The default setting
> is port 0x3bc in centronics compatible mode, but using my Super I/O support
> you can relocate it to 0x378 and take advantage of EPP or ECP mode.
> The man page for ppc breaks down what the flags are.  To get the vpo zip drive
> driver working, I'm using:
> 
> device          ppc0    at isa? port 0x378 irq 7 flags 0x17
> 
> for EPP 1.7 + PS2 + NIBBLE mode.  Of course you'll also need to enable scsi
> support.  You'll also want to enable the scsi pass device, so you can use
> camcontrol to eject zip disks.
> 
> That's all for now, you'll find the diffs attached to this message.
> Any questions, feel free to ask.

I didn't realise until today that you were working from 4.0-RELEASE. This
complicates things since you are implementing a few things differently
from the way the driver works in 5.0-current.

What I would really like to see is a port of your smc37c935 bits to the
version of ppc.c in 5.0-current followed by a merge of everything back in
to the 4.x branch. I'd like to minimise the diffs between 5.0 and 4.x as
much as possible (which seems doable).

-- 
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 20 8442 9037




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007032150480.32480-100000>