Date: Mon, 13 Nov 2000 09:51:09 -0700 From: Warner Losh <imp@village.org> To: "Chris Ptacek" <ptacek@technologist.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: KLDs and PCI? Message-ID: <200011131651.eADGp9G40549@billy-club.village.org> In-Reply-To: Your message of "Sun, 12 Nov 2000 20:16:21 PST." <NEBBKLFHMJGHPAEKCHJJGELNCEAA.ptacek@technologist.com> References: <NEBBKLFHMJGHPAEKCHJJGELNCEAA.ptacek@technologist.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <NEBBKLFHMJGHPAEKCHJJGELNCEAA.ptacek@technologist.com> "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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011131651.eADGp9G40549>