Re: KLD'fying PCI device driver!

2001-02-15 Thread Mike Smith
> > > 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 d

Re: KLD'fying PCI device driver!

2001-02-15 Thread Julian Elischer
Satyajeet Seth wrote: > > 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

Re: KLD'fying PCI device driver!

2001-02-15 Thread Satyajeet Seth
Hi Please see my comments below: On Thu, 15 Feb 2001, Mike Smith wrote: > > 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 /s

Re: KLD'fying PCI device driver!

2001-02-15 Thread Satyajeet Seth
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

Re: KLD'fying PCI device driver!

2001-02-15 Thread Mike Smith
> Hi > > 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.

Re: KLD'fying PCI device driver!

2001-02-15 Thread Andrew R. Reiter
Could you send the load handler function src? On Thu, 15 Feb 2001, Satyajeet Seth wrote: > Hi > > 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 /sy

KLD'fying PCI device driver!

2001-02-14 Thread Satyajeet Seth
Hi 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