Re: parport-arca-9 [was Re: [PARPORT] Re: PARPORT_DEV_EXCL ]


Matthias Welwarsky (dg2fef@afthd.tu-darmstadt.de)
Sat, 26 Sep 1998 22:21:50 +0200


Andrea Arcangeli wrote:
>
> The new parport-arca-9 can be download from:
>
> ftp://e-mind.com/pub/linux/parport/
>

OK, applied the patch, seems OK as far as the amateur radio stuff is
concerned. However, the patch to imm/ppa is not quite complete as you
need to check for parport_register_device() returning NULL.

Pseudo-Patch to imm.c follows:

  retry_entry:
    for (i = 0; pb; i++, pb = pb->next) {
        int modes, ppb;

        imm_hosts[i].dev =
            parport_register_device(pb, "imm", NULL, imm_wakeup,
                         NULL, PARPORT_DEV_TRAN, (void *)
&imm_hosts[i]);

+ if (imm_hosts[i].dev == NULL)
+ continue;
+
        /* Claim the bus so it remembers what we do to the control
         * registers. [ CTR and ECP ]
         */
        if (imm_pb_claim(i))

Gruss,
        Matthias

-- 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:18:25 EST