ím write a device driver for amdxrc “fpga plx, chipset 9080”

PCI version = 2.10

Class = Bridge (Unknown)
Vendor ID = 10b5h, PLX Technology
Device ID = 9080h, PCI 9080 High performance PCI to Local Bus
PCI index = 0h
Class Codes = 068000h
Revision ID = 2h
Bus number = 3
Device number = 0
Function num = 0
Status Reg = 280h
Command Reg = 117h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 10h un-cacheable
Subsystem Vendor ID = 4144h
Subsystem ID = 41h
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = INT A
Interrupt line = 3
CPU Interrupt = 0h

compiling …

/usr/qnx630/host/qnx6/x86/usr/bin/qcc -Vgcc_ntox86 -static
-o/fs/hd0-dos/driver0/driver/so/ main.o cardinfo.o
configrw.o dma.o dmacore.o dmadesc.o drvparam.o flash.o flashrw.o
info.o intwait.o loadfpga.o methods.o owner.o platform.o vxworks.o
vxworks_params.o rw.o setclock.o spaceconfig.o -L. -L/usr/lib
-L/usr/qnx630/target/qnx6/x86/usr/lib -lvx2qnx

is correct?

well, now how to load my driver

mount -t ??? /lib/dll ??? <----- should has the function main() as entry

or ther is form of that calls other function when execute the command

ie. when execute mount inmediatly calls for example the function
admxrcdrvinit(); say me its posible or always init with function

sorry, I believe that I must read first “writing a resource manager”

sorry for stupid questions :slight_smile:, i’m newbie