[PARPORT] [Fwd: [PATCH] parport_pc]

From: Philip Blundell (Philip.Blundell@pobox.com)
Date: Sun Jun 09 2002 - 06:25:19 EDT

  • Next message: Dr. David Alan Gilbert: "Re: [PARPORT] Newbie with need of ppscsi"

    attached mail follows:


    I think the following path is needed for Q40/Q60 on the m68k platform, which
    doesn't have PCI.

    As far as I could see, priv->dma_buf is initialized only if
    CONFIG_PARPORT_PC_FIFO is defined.

    The patch is valid for 2.4.19-pre10 as well.

    Please CC me or linux-m68k, since I'm not subscribed to linux-parport.

    --- linux-2.5.20/drivers/parport/parport_pc.c.orig Sat Mar 9 11:58:37 2002
    +++ linux-2.5.20/drivers/parport/parport_pc.c Sun Jun 9 12:13:26 2002
    @@ -2418,10 +2418,12 @@
             if (p->modes & PARPORT_MODE_ECP)
                     release_region(p->base_hi, 3);
             if (priv->dma_buf)
                     pci_free_consistent(priv->dev, PAGE_SIZE,
    +#endif /* CONFIG_PARPORT_PC_FIFO */
             kfree (p->private_data);
             kfree (ops); /* hope no-one cached it */



    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

    In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

    -- 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 2b29 : Sun Jun 09 2002 - 06:30:48 EDT