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
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
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
Hi
> Oops. I meant to say:
>
> mask = inb(ICU1);
> mask |= (inb(ICU2) << 8);
>
> Will give you a mask of the current interrupt lines set.
We checked for the mask in the functions isa_irq_pending() and
update_intr_masks() in intr_machdep.c.
intrmask_t
isa
I'd like to know how to make the network device driver I'm
working on, a loadable module. It's for a PCI device. I was
unable to find any examples of PCI network modules under /sys/pci.
The examples under /usr/share/examples/kld are not very helpful
either for a PCI network device.
It appears I
Hi
Is it possible to implement threads in FreeBSD 4.0 kernel using the rfork
system call? If yes, could you give an example?
I tried to get the following piece of code to work without success.
#include
main()
{
if (rfork( RFPROC | RFNOWAIT | RFMEM | RFSIGSHARE ) > 0)
{
Hi
We have implemented a device driver on FreeBSD 4.0 and x86 architecture.
The device driver has routines for servicing I/O requests. I understand
that these routines run in the top part of the kernel stack.
The routines have a nesting of 10-12 functions having 10-100 lines each.
Could you tell
7 matches
Mail list logo