[kernel] bug#150: Bidirectional parallel ports

Matthew Wilcox <willy@debian.org>, 150@bugs.parisc-linux.org Matthew Wilcox <willy@debian.org>, 150@bugs.parisc-linux.org


X-PA-RISC Linux-PR-Message: report 150
X-PA-RISC Linux-PR-Package: kernel
X-Loop: daniel_frazier@hp.com
Received: via spool by bugs@bugs.parisc-linux.org id=B.100437880724353
          (code B ref -1); Mon, 29 Oct 2001 18:18:02 GMT
Date: Mon, 29 Oct 2001 18:06:45 +0000
From: Matthew Wilcox <willy@debian.org>
To: submit@bugs.parisc-linux.org
Message-ID: <20011029180645.D14905@parcelfarce.linux.theplanet.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Sender: <willy@www.linux.org.uk>


Package: kernel

In drivers/parport/parport_gsc.c:

        /* some older machines with ASP-chip don't support
         * the enhanced parport modes.
         */
        if (boot_cpu_data.cpu_type > pcxt && !pdc_add_valid( (void *)(port+4))) 
{

                /* Initialize bidirectional-mode (0x10) & data-tranfer-mode #1 (
0x20) */
                printk("%s: initialize bidirectional-mode.\n", __FUNCTION__);
                parport_writeb ( (0x10 + 0x20), port + 4);

        } else {
                printk("%s: enhanced parport-modes not supported.\n", __FUNCTION
__);
        }

According to the Asp documentation, bidirectional mode is supported.
Someone should track down what the real problem was that caused this to
be disabled.

-- 
Revolutions do not require corporate support.