Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[PATCH] Parallel port support for SGI O2

8 views
Skip to first unread message

Arnaud Giersch

unread,
Oct 22, 2005, 8:23:12 PM10/22/05
to linux...@linux-mips.org, linux-...@lists.infradead.org, linux-...@vger.kernel.org
Hello,

I wrote a low-level parallel port driver for the built-in port on SGI
O2 (a.k.a. IP32).

The parallel port is driven by a standard ECP chipset, with
memory-mapped I/O registers. That's why it was not possible to use
the parport_pc module which assumes port-mapped I/O registers.

What works:
* Basic modes are supported: PCSPP, PS2.
* Compatibility mode with FIFO support is present.
* FIFO can be driven with or without interrupts.

What does not work:
* DMA support is not implemented (lack of documentation). If you
have any information, please tell me.
* EPP and ECP modes are not implemented (lack of interest). I
currently do not own any peripheral supporting this extended
modes. It should not be too difficult to do.

All tests were done with an HP LaserJet 5MP connected to a R5000 SGI
O2.

The module is named parport_ip32. The patch is not included in this
mail because it is not very small (2383 lines, 73 Kb). It is however
avalaible from:

http://arnaud.giersch.free.fr/parport_ip32/parport_ip32-latest.patch.gz

The patch is against the latest Linux/MIPS kernel (2.6.14-rc2 as of
today). If you prefer that I post it on a mailing list, please just
tell me where, and how (inlined, or gzip'ed attached file).

Further informations are available on:

http://arnaud.giersch.free.fr/parport_ip32.html

Regards,

Arnaud Giersch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Arnaud Giersch

unread,
Oct 24, 2005, 6:11:26 PM10/24/05
to linux...@linux-mips.org, linux-...@lists.infradead.org, linux-...@vger.kernel.org
Dimanche le 23 octobre 2005, vers 02:20:59 (CEST), j'ai écrit:

> I wrote a low-level parallel port driver for the built-in port on SGI
> O2 (a.k.a. IP32).

[...]
> http://arnaud.giersch.free.fr/parport_ip32/parport_ip32-latest.patc
h.gz
> http://arnaud.giersch.free.fr/parport_ip32.html

I uploaded a new version which fixes some bugs in FIFO transfer mode.

Arnaud

0 new messages