Hi


> Could you send the load handler function src?

My code does not contain a load handler function.

I did not add a load handler function, because none of the files in
/sys/pci directory like if_fxp.c, if_vr.c seemed to contain contain a load
handler function.
To the best of my knowledge, all the pci device driver modules use the
function pci_modevent() in /sys/pci/pci.c

> > I am trying to convert my PCI device driver into a KLD.
> >
> > So far I have done the following:
> > 1. Built the kernel without the static linked device driver.
> > 2. Added entries to Makefiles in /sys/modules and /sys/modules/xxx.
> > 3. Did "make all install" in /sys/modules directory.
> > 4. Tried loading the KLD. I got the following error:
> >    "Fatal trap 12: page fault while in kernel mode"
> >
> > Any ideas as to what could be going wrong?

Thanks
Satya




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to