[PARPORT] Re: for people with printing problems with 2.1.104


Andrea Arcangeli (arcangeli@mbox.queen.it)
Thu, 28 May 1998 01:18:57 +0200 (CEST)


On Wed, 27 May 1998, Tim Waugh wrote:

>On Wed, 27 May 1998, Andrea Arcangeli wrote:
>
>> On Wed, 27 May 1998, Andrea Arcangeli wrote:
>>
>> >I will sent to Andreas some debugging patch soon to understand at least if
>> >the bug is in the parallel-port or in the parport code.
>>
>> Looking at the parport_pc code seems that we are initializing the ECR even
>> if the ECR is not been detected.
>
>I don't believe it is a problem. Look at the test that checks for an ECR.

It' s not a problem if there aren' t other devices that are just using
base+0x400. Look under which conditions we check for an ECR:

                if (!check_region(base+0x400,3)) {
                        p->modes |= parport_ECR_present(p);

Also I think that we should _always_ request_region() before write a bit
over an I/O area.

Andrea[s] Arcangeli

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:47 EST