Find the answer to your Linux question:
Results 1 to 2 of 2
hi all, I've a question pertaining of using device which's not have i\o ports. So, I've registered that device via pci_conf_read PCI_COMMAND_MEM_ENABLE, but I don't know how to usage device ...
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    3

    device without i\o ports

    hi all,
    I've a question pertaining of using device which's not have i\o ports. So, I've registered that device via pci_conf_read PCI_COMMAND_MEM_ENABLE, but I don't know how to usage device via address of memory into pci bus. Currently my driver twittering via i\o ports with device. Which's way I can know how to use that device via memory pci bus?
    Code:
         Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
            Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
            Latency: 32 (250ns min, 63750ns max)
            Interrupt: pin A routed to IRQ 5
            Region 0: Memory at e4203000 (32-bit, prefetchable)
            Capabilities: [dc] Power Management version 2
                    Flags: PMEClk- DSI- D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold-)
                    Status: D0 PME-Enable- DSel=0 DScale=0 PME-

  2. #2
    Just Joined!
    Join Date
    Feb 2009
    Posts
    3
    Could you help me?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...