Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751316AbVJWAVF (ORCPT ); Sat, 22 Oct 2005 20:21:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751320AbVJWAVF (ORCPT ); Sat, 22 Oct 2005 20:21:05 -0400 Received: from smtp1-g19.free.fr ([212.27.42.27]:58779 "EHLO smtp1-g19.free.fr") by vger.kernel.org with ESMTP id S1751316AbVJWAVE (ORCPT ); Sat, 22 Oct 2005 20:21:04 -0400 To: linux-mips@linux-mips.org, linux-parport@lists.infradead.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH] Parallel port support for SGI O2 From: Arnaud Giersch X-Face: &yL?ZRfSIk3zaRm*dlb3R4f.8RM"~b/h|\wI]>pL)}]l$H>.Q3Qd3[i.K[5isyT&2oBNdnvk`~y}vwPYL;R y)NYo"]T8NlX{nmIUEi\a$hozWm#0GCT'e'{5f@Rl"[g|I8<{By=R8R>bDe>W7)S0-8:b;ZKo~9K?' wq!G,MQ\eSt8g`)jeITEuig89NGmN^%1j>!*F8~kW(yfF7W[:bl>RT[`w3x-C Date: Sun, 23 Oct 2005 02:20:59 +0200 Message-ID: <871x2d3wyc.fsf@groumpf.homeip.net> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1645 Lines: 46 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/