HELP: PC104 IO card driver Problem

From: nobin matthew (nobin_matthew_at_yahoo.com)
Date: 03/31/05

  • Next message: Jan Engelhardt: "Re: [RFD] 'nice' attribute for executable files"
    Date:	Wed, 30 Mar 2005 21:37:44 -0800 (PST)
    To: linux-kernel@vger.kernel.org
    
    

    Dear Friends,

    Can anybody Help me in this Pc104 driver Problem;
    What is the basics steps in doing read and write on
    Pc104 cards.

    Deatails Given Below:
                  I am writing a Linux device driver for
    Diamond systems
    IR104 digital IO card. This is a PC104 bus device(that
    means it ISA
    bus compatible).
    The Platform is Arcom Viper borad(with support for
    PC104), This is a
    Xscale, Little endian Platform.

    The Specification of PC104 interface given in Viper
    borad manual is:
    0x3C000000-0x3CFFFFFF PC/104 memory space(16MB)
    0x30000000-0x300003FF PC/104 IO space(1KB)

    Specification given in IR104 manual is:
    I made the jumber setting so that, the IO space
    addresses taken by 8
    registers will be 0x300-0x307

    The driver should do read and write on this
    registers(character device
    driver).

    I took two approaches one is:
    i added IO space and 0x300, did inb() and oub().(IO
    space base address
    and 0x300)
    otherway i did ioremap on added result, did inb() and
    oub().

    In the second method:
    I did same procedures using IO memory space

    both methods are giving errors, i think that is
    related to paging. i think
    there is a need for disabling paging in this space.

    Please help regarding this. How to solve this.

    Nobin Mathew

                    
    __________________________________
    Do you Yahoo!?
    Take Yahoo! Mail with you! Get it on your mobile phone.
    http://mobile.yahoo.com/maildemo
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Jan Engelhardt: "Re: [RFD] 'nice' attribute for executable files"

    Relevant Pages

    • [patch] v4l: cx88 driver update
      ... Finally the big cx88 driver update which makes the cx88-dvb ... driver compile and work for some cards. ... const unsigned int cx88_idcount = ARRAY_SIZE; ... struct btcx_riscmem *risc) ...
      (Linux-Kernel)
    • sd cards : OCR busy?
      ... on some other cards. ... My recent error is - the error OCR busy Error. ... OMAP OCPI interconnect driver loaded ... MMC1: OCR busy error, CMD55 ...
      (Linux-Kernel)
    • e1000 performance issues and broken mtu setting
      ... For a second gigE link we added in some ... Intel 82540EM cards, using the e1000 driver in the 2.6.4 tree with NAPI ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 3/5] documentation: Remove drivers/char/README.ecpa
      ... -This document describes the software used with the Digi/Linux driver package. ... digiConfig -> Application that configures the Digi driver. ... PCI boards are auto-detected and configured (Hence their codes are ... This routine is also used to remove cards from the system, ...
      (Linux-Kernel)
    • [RFC: 2.6 patch] the overdue removal of drivers/pcmcia/pcmcia_ioctl.c
      ... If you want to use CardBus ... cards, you need to say Y here and also to "CardBus support" below. ... To compile this driver as modules, ... Get the current socket state bits. ...
      (Linux-Kernel)