How to write a PCI driver

Hi

I’m writing a driver for Adlink PCI-7300.It’s a ultra-high speed
digitl I/O card.The question I have is :which kind of the DDK is most
suitable for me
to make use of.

thanks to everyone who give me the clew.

Maybe basic resource manager?

read from given resource manager would give you status if binary inputs,
write to resource manager would set outputs to requested state.

PK

“wangxueli” <ww031231@163-dot-com.no-spam.invalid> wrote in message
news:ed64i5$ag5$1@inn.qnx.com

Hi

I’m writing a driver for Adlink PCI-7300.It’s a ultra-high speed
digitl I/O card.The question I have is :which kind of the DDK is most
suitable for me
to make use of.

thanks to everyone who give me the clew.

“wangxueli” <ww031231@163-dot-com.no-spam.invalid> wrote in message
news:ed64i5$ag5$1@inn.qnx.com

Hi

I’m writing a driver for Adlink PCI-7300.It’s a ultra-high speed
digitl I/O card.The question I have is :which kind of the DDK is most
suitable for me to make use of.

None. Start with a basic resmgr framework. DDKs are framework on top of the
basic resmgr framework.

thanks to everyone who give me the clew.

When creating a resource manager, you have to think about how you
might want to map the standard functions of resource manager to those
of the hardware. You can always create a custom interface using
ioctl() calls, if that is appropriate. In the case of this card, it
depends on what it does. For example, if it can sample data at
regular intervals, you might want to use ioctl()'s to set it up, but
use read() to aquire the data. It’s also possible to use write as a
way of setting up the card.

Thanks for the reply.Your suggestion help me very much.

“wangxueli” <ww031231@163-dot-com.no-spam.invalid> wrote in message
news:ed8arr$paf$1@inn.qnx.com

Thanks for the reply.Your suggestion help me very much.

May I suggest you check out :
http://www.qnx.com/developers/articles/article_307_2.html