Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2000 00:44:31 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        "Chris Ptacek" <ptacek@technologist.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: KLDs and PCI? 
Message-ID:  <200011130844.eAD8iVF01116@mass.osd.bsdi.com>
In-Reply-To: Your message of "Sun, 12 Nov 2000 20:16:21 PST." <NEBBKLFHMJGHPAEKCHJJGELNCEAA.ptacek@technologist.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?
> 
> 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)

You can't (properly) do this with 3.x.  You might want to track down 
Kevin Van Maren, however, who cooked up a technique for doing it.  I 
don't have a current email address for him easily to hand; I'd recommend 
checking the FreeBSD list archives though.

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




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?200011130844.eAD8iVF01116>