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: Select all
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)