Re: Can kldload trigger pci bus rescan?



In message: <1146037663$82118$49670145@hongz@promisechina.com>
<hongz@xxxxxxxxxxxxxxxx> 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
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out"
    ... 2.6.23-rc1 I have trouble with my network connection. ... # Bus options (PCI, PCMCIA, EISA, MCA, ISA) ... # PCCARD support ... # Generic Driver Options ...
    (Linux-Kernel)
  • IDE:PORTS ALREADY IN USE | USB: irq 11: nobody cared! | loop pcmcia_core.ko which needs pcmcia_core.
    ... VP_IDE: IDE controller at PCI slot 0000:00:11.1 ... USB no longer working. ... irq 11: nobody cared! ... 15 nodes reported by PnP BIOS; 15 recorded by driver ...
    (Linux-Kernel)
  • only a single core (out of 8) initialized
    ... this is 2.6.30-rc7 with a patch added to debug a nv sata driver incompatibility with the Intel SSDs on a tyan motherboard ... kernel direct mapping tables up to d7fd0000 @ 10000-16000 ... Allocating PCI resources starting at f1000000 ... CPU: L2 Cache: 1024K ...
    (Linux-Kernel)
  • 2.6.15-rc5-mm2 does not boot on AMD64 with sata_sil
    ... Using ACPI for IRQ routing ... Uniform CD-ROM driver Revision: 3.20 ... Using ACPI for SMP configuration information Allocating PCI resources starting at e2000000 Checking aperture... ... Real Time Clock Driver v1.12 hw_random: AMD768 system management I/O registers at 0x8000. ...
    (Linux-Kernel)
  • kernel error
    ... but USB mouse is detected ... card driver dont work correctly) ... Failure registering Root Plug module with the kernel ... PCI: MCFG area at f0000000 reserved in E820 ...
    (Linux-Kernel)