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 <[EMAIL PROTECTED]> 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.
>
>
>
>
>

Reply via email to