Re: pci_device_probe() in pci_driver.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

check following function

static int really_probe(struct device *dev, struct device_driver *drv)
.
.
.
    if (dev->bus->probe) {
        ret = dev->bus->probe(dev);
        if (ret)
            goto probe_failed;
    } else if (drv->probe) {
        ret = drv->probe(dev);
        if (ret)
            goto probe_failed;
    }
.
.
.

in following file

\drivers\base\dd.c

thanks,
Mitul Modi

On Thu, Oct 16, 2008 at 3:10 PM, J. H. Kim <frog1120@xxxxxxxxx> wrote:
Hi, everyone

Reading kernel source code util pci_init(),  I  did not find which routine calls pci_device_probe().
If anyone knows about that, please let know which routine does call pci_device_probe() function in pci_driver.c and when is the function called?

Thanks in advance.






[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux