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

From: Robert Heller (heller@deepsoft.com)
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 <f.duncan.m.haldane@worldnet.att.net>,
      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>
    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>
    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>
    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>
    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>
    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>
    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>
    DH>
    DH>
    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>
    DH> Duncan Haldane
    DH>
    DH>
    DH> ----------------------------------
    DH> E-Mail: Duncan Haldane <f.duncan.m.haldane@worldnet.att.net>
    DH> Date: 22-Feb-2003
    DH> Time: 20:21:30
    DH>
    DH> This message was sent by XFMail
    DH> ----------------------------------
    DH>
    DH> -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    DH> -- with the single word "unsubscribe" in the body of the message. --
    DH>
    DH>

                                         \/
    Robert Heller ||InterNet: heller@cs.umass.edu
    http://vis-www.cs.umass.edu/~heller || heller@deepsoft.com
    http://www.deepsoft.com /\FidoNet: 1:321/153

                                                                                                                 

    -- 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 : Sat Feb 22 2003 - 21:58:26 EST