When "probe" is called?

Mulyadi Santosa mulyadi.santosa at gmail.com
Mon Feb 7 02:31:26 EST 2011


On Mon, Feb 7, 2011 at 13:53, Joy Sun <joy2sun127 at gmail.com> wrote:
> Hi,
> I am seeing probe function pointer and know the procedure to register of it
> for a specific device driver. However, I wonder when it is actually called?
> For example, for platform drivers, there is a structure like this:

Hi...

AFAIK, it's mostly related to interrupt and/or bus handling. Whenever
there is new device gets active, "message" is sent along to the bus,
for example when you insert a USB flash disc.

NB: Might be loosely related to HAL or udev


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list