Date: Fri, 18 Aug 2000 18:21:36 +0600 (LKT) From: Mayowa Aregbsola X-Sender: kalum AT roadrunner DOT grendel DOT net To: djgpp AT delorie DOT com Subject: Problems communicating with PCI Modems :( Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Greetings, I am trying to communicate with a PCI modem but so far I have not succeeded. If I try to communicate with an EISA modem or an external modem, the program works. I was able to detect one PCI modem (I have not been able to detect others) on COM3 but was not able to detect its IRQ. When I changed the base address to the base address I received from the dump below, the system hung up. The dump I got from querying the PCI modem is as follows: (it gives the modem configuration.) ---------------------------------------------------------------- PCI bus 00 device 0B function 00: Header Type 'non-bridge' (single-func) Vendor: 11C1 AT&T Microelectronics Device: 0440 L56xMF Class: 07 communication Revision: 01 SubClass: 80 other ProgramI/F: Status Reg: 0290 = CapList fast-trns (med) CacheLine: 00 Latency: 00 BIST: 00 SubsysVendor: 11C1 SubsysDevice: 0440 Base Addresses: (0) DE800000 = mem base=DE800000 len=256 (1) 0000BC01 = I/O base=0000BC00 len=8 (2) 0000C001 = I/O base=0000C000 len=256 CardBus: 00000040 ExpansionROM: 00000000 (no ROM) INTline: 0B INTpin: 01 MinGrant: FC MaxLatency: 0E Device-Specific Data: 40: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 58: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 70: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 88: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF A0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF B8: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF D0: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF E8: FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF E6210001 00000000 Capabilities List: ID @F8 = 01 PCI Power Management PMC = DevSpec Init D1-supp D2-supp PME#-D2 PME#-D3hot PME#-D3cold DynClk = 0, PCI_PM version = 1 PMCSR = 0000, data-select=0 unknown/unimplemented state=D0 PMCSRX = -- -- -- -- Data = 00 ---------------------------------------------------------------- Please, could anyone decode this dump for me and could someone tell me how to communicate with PCI devices. I want to know if it is possible to communicate with these devices by reading from or writing to their I/O memory directly or by using BIOS calls. How is it done? I would also like to know if the same offsets for normal COM ports work with the PCI ports and how? Thank you, Mayowa Aregbsola