PCI COMMUNICATION CARD

Hello everyone:
something need you to confirm and help:
if i want to write a pci communicaton card driver what i do if i want to use io-char lib, the relationship about appilcation , io-char,my driver is like this?
function call function call
application<----------->io-char<----------->my driver

 thank you

i am waiting ............