locating base address of PCI Parallel port

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
jacks
Member
Member
Posts: 29
Joined: Wed Aug 22, 2012 2:28 am

Re: locating base address of PCI Parallel port

Post by jacks »

jacks wrote:
After reading the source code, I realized, that many such cards implement both parallel port and serial port in a single PCI function, and the base addresses of these parallel port and serial port are of course in different bars. But if there is more than one serial port on a single card, then in some cards, they all share a single BAR. One is at offset 0 and other is at offset 0x08 say, and so on.

I wonder, what is the Subclass code of such a PCI function? I guess it would be either 02h or 80h. If that is the case, then I can't search for all parallel ports present in the system by simply searching for a parallel port subclass. Can someone clarify?
Does anyone has experience with such cards, or if someone did noticed their class code and subclass code?

While searching over I came through ESCD spec. The html version is here.

After going through I realized that it mentions PCI devices too. AFAIK, PnP spec was for ISA/EISA devices and not for PCI devices. I didn't get how this standard is related to PCI. Can the functions listed in this ESCD spec be of help, in locating base address of a pci parallel port ?
Good judgement comes from experience, and a lot of that comes from bad judgements.
Post Reply