In message <[EMAIL PROTECTED]> "Chris Ptacek" 
writes:
: I am working on a KLD for a PCI device.  My problem is I can't find how to
: call the probe and attach calls during the load for a PCI device.  I have
: looked in the /usr/src/sys/pci directory and haven't found any KLDs to use
: as an example.  What are the steps I need to take to handle a PCI device in
: a KLD?  Are there any examples I can look out?

It just works for PCI in 4.0 and newer.

: Oh yeah, I am doing this for a FreeBSD 3.x system (I know, but is needed for
: this project, it will be ported to 4.x later)

Ah.  Well, that's different.  You should be able to look at the if_*
directory because it has klds in 3.x and they seem to get their probe
routines called when loaded after boot.

Warner


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

Reply via email to