Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Sep 1997 15:28:29 -0400 (EDT)
From:      "Ron G. Minnich" <rminnich@Sarnoff.COM>
To:        hackers@freebsd.org
Subject:   PCI device loadable module
Message-ID:  <Pine.SUN.3.91.970929152430.7416A-100000@terra>

next in thread | raw e-mail | index | archive | help
maybe this is all clear on 3.0, but i am on 2.2.1. 

Here's the question: I have a loadable module for a device. How do I 
arrange for the probe() to be called? As i understand it on fbsd this 
happens at pci_configure time, which is done at boot time. But my driver 
is not in at that point, obviously: so what's the right thing to do? 

pci_configure says it can be called more than once.  So, should my load
entry point call pci_configure()? what's the right way here? There are no 
examples in the lkm's that I can find that point the way. 

thanks
ron

Ron Minnich                |Java: an operating-system-independent, 
rminnich@sarnoff.com       |architecture-independent programming language
(609)-734-3120             |for Windows/95 and Windows/NT on the Pentium
ftp://ftp.sarnoff.com/pub/mnfs/www/docs/cluster.html 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.970929152430.7416A-100000>