Re: [PARPORT] parport_pc .c in 2.5.x needs work!

From: Robert Heller (
Date: Sat Feb 22 2003 - 21:53:41 EST

  • Next message: Blaise Gassend: "Re: [PARPORT] parport_pc .c in 2.5.x needs work!"

      Duncan Haldane <>,
      In a message on Sat, 22 Feb 2003 20:57:22 -0500 (EST), wrote :

    DH> Hi linux-parport kernel developers! (If anyone is still active ...)
    DH> parport_pc in 2.5.x kernels is developing problems through non-maintenance...
    DH> (I'd fix them if I were competent, but ....)
    DH> (1) in 2.5.62 parport.o and parport_pc.o can no longer be unloaded "due to
    DH> unsafe usage in include/linux/modules.h: 463"
    DH> (I don't know what to do to fix this, but
    DH> this should be easy for someone knowledgable to fix). This is recent
    DH> (since a few 2.5 kernels ago).
    DH> (2) on my parports, ECP capability is no longer being recognized (it is in
    DH> 2.4.x, I never got it recognized by 2.5.x kernels) (I'll try to hack
    DH> a bit to find out why; do others have this problem?)

    Why are you using a 2.5.x kernel instead of a 2.4.x kernel?

    DH> (3) broken/missing ECP read support.
    DH> I've been working on IEEE1284 ECP read support for the cpia driver. I got
    DH> ECP+DMA read support working in 2.4.x with a blend of code from parport_pc.c
    DH> (parport_pc_ecp_read_block_pio() + parport_pc_fifo_write_block_dma()) to make
    DH> something like a "parport_pc_ecp_read_block_dma()" that works with cpia.
    DH> But any attempt to use parport_pc_ecp_read_block_pio() for non-DMA PIO ECP reads
    DH> just crashes the system (seems like something to do with interrupts(?))
    DH> I note that (two years ago) Fred Barnes left a note that it was broken.....
    DH> ------------------------------------------------------------
    DH> #ifdef CONFIG_PARPORT_1284
    DH> p->ops->ecp_write_data = parport_pc_ecp_write_block_pio;
    DH> /* currently broken,but working on it.. (FB) */
    DH> /* p->ops->ecp_read_data =parport_pc_ecp_read_block_pio; */
    DH> Is there any chance that Linux can get completed ECP support for 2.6.x
    DH> or is this stuff just too much of a legacy that no-one is interested in
    DH> any more?
    DH> Duncan Haldane
    DH> ----------------------------------
    DH> E-Mail: Duncan Haldane <>
    DH> Date: 22-Feb-2003
    DH> Time: 20:21:30
    DH> This message was sent by XFMail
    DH> ----------------------------------
    DH> -- To unsubscribe, send mail to: --
    DH> -- with the single word "unsubscribe" in the body of the message. --

    Robert Heller ||InterNet: || /\FidoNet: 1:321/153


    -- To unsubscribe, send mail to: --
    -- with the single word "unsubscribe" in the body of the message. --

    This archive was generated by hypermail 2b29 : Sat Feb 22 2003 - 21:58:26 EST