how does FADS+850+Linux2.4.x+pcmcia-cs work?

Ports
jacky wang
2002-05-16
2004-05-10
  • jacky wang

    jacky wang - 2002-05-16

    Hi everyone,

    I can't compile pcmcia-cs-3.1.33 for Linux2.4.x+FADS+MPC850.
    Does anyone compile it successfully?

    If successfully compiled, how do I load the modules to work with linux?
    I found while I port the m8xx_pcmcia into kernel.
    It will tell me there is no /etc/devices file.

    Could someone help me?

    I would like to know the complete procedures about the porting.

    Jacky

     
    • David Ho

      David Ho - 2004-05-10

      Hi all,

      I am looking a way to have CompactFlash and HDD working together on a MPC8xx platform.  Ultimately both (IDE, IDE_CS) systems calls m8xx_ide_init_hwif_ports to initialize ATA register location/hardware.  Right now this function is pretty stupid:  it assumes that it is being called from the same subsystem and initialize stuff as if it is always a hard drive hanging off of the processor bus.

      One idea I have is to make m8xx_ide_init_hwif_ports smarter and have it identify from the parameters passed which stack it is being called from so that it can initialize to the appropriate hardware.  Right now I don't see anything that can indicate/differentiate between the two. 

      Would anyone else has any ideas about this.  I would appreciate hearing your suggestions.

      I am cross posting this to Linux PCMCIA forums as well.

      Regards,

      David Ho
      Nanometrics Seimological Instruments

       

Log in to post a comment.