On 18-Jan-01 Satyajeet Seth wrote:
>  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.

There are a lot of loadable PCI network cards..

fxp, dc, sk, ti, tl etc...

Try looking at /usr/src/sys/pci/if_??*.[ch]

This is a 4.2-STABLE system FYI.

I don't think you need anything special for your device to be a KLD.. I maintain a
simple character device which didn't need anything special, but network devices may
be different.

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


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

Reply via email to