help me please!!


í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 chip
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/usr/lib -L/usr/qnx630/target/qnx6/x86/usr/lib -L/usr/qnx630/target/qnx6/x86/lib -L/usr/qnx630/target/qnx6/x86/usr/lib -lvx2qnx

is’t correct?

well, now how to load my driver

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

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

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

i’m sorry, i think that have read firts ¨Wirting a reoure manager¨ :smiley::D:D