Driver porting from RTLinux

I’ve been looking through the driver development kit documentation to answer my problem, but I haven’t found an answer to my problem. Hopefully someone here might know the answer.

I have a driver written to interface with an ISA board. The driver was written for use in RTLinux. The device driver(i.e. /dev/mydevice) is then opened as a character device and reads and writes are done to that opened device.

It seems the driver specs for RTLinux include needed functions for init, open, release,read,write,etc. but I find no such structure for QNX.

Can anybody give me some hints on where to start on this?


Look at the section in the docs on writing a resource manager. It creates a /dev/null type device, but it should get you started.

If it’s a character device look at source of devc-8250