atom feed7 messages in org.freebsd.freebsd-hackersCan kldload trigger pci bus rescan?
FromSent OnAttachments
hon...@promisechina.comApr 26, 2006 11:33 am 
Daniel O'ConnorApr 26, 2006 12:10 pm 
M. Warner LoshApr 26, 2006 4:35 pm 
Darren PilgrimApr 26, 2006 8:35 pm 
Darren PilgrimApr 27, 2006 5:51 am 
Zaphod BeeblebroxApr 27, 2006 4:08 pm 
M. Warner LoshApr 27, 2006 6:06 pm 
Subject:Can kldload trigger pci bus rescan?
From:M. Warner Losh (im@bsdimp.com)
Date:Apr 26, 2006 4:35:52 pm
List:org.freebsd.freebsd-hackers

In message: <1146037663$82118$49670145@hon@promisechina.com> <hon@promisechina.com> writes: : I tried to use kldload to load our HBA driver. But the driver's pci probe : function can not find the HBA card! Does it mean that kldload can not : trigger pci bus rescan? If so, what should I do for triggering pci bus : rescan after loading our pci driver?

kldload of a driver with a pci attachment will cause all pci busses to reprobe/attach their unattached children automatically. When you say that the driver's probe function can not find the HBA card, what do you mean? That none of the devices presented to it are accepted?

Warner