[PATCH] VIA8231 support for parallel port driver, rewritten

From: Pavel Fedin
Date: Thu Oct 28 2004 - 00:14:22 EST


On Wed, 27 Oct 2004 02:50:16 -0400
Jeff Garzik <jgarzik@xxxxxxxxx> wrote:

> Can you consolidate it with the via 686 code?
>
> Can you replace the magic numbers (0x3f0) with named constants?

Here is the rewritten code. I've tested it on my Pegasos, it works. It also should work on 686a in the same manner, but i have no such an equipment.
Functionality a little changed: you need to specify init_mode=ecp dma=auto arguments to enable DMA support because driver defaults to dma=none. All other things are the same as in previous version.

--
Best regards,
Pavel Fedin, mailto:sonic_amiga@xxxxxxxxxx

Attachment: parport_pc-via8231.diff.gz
Description: GNU Zip compressed data