Re: doubts on device probing(auto-detection)

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

 



On Fri, Jul 20, 2007 at 02:07:31PM +0530, b.vigneshkumar wrote:
> 
> 
>  Rajendra Stalekar wrote:
> >
> > Hi,
> >
> > 1. When we probe a device, how does it find out that the device actually 
> > exists and is functional?
> >
>  from the /proc interface

What /proc interface?  Since when does /proc show stuff for all devices
in the system?

> > 2. Do we probe for interrupts to check which interrupt line(s) can be 
> > assigned to the device in question?
> >
>  We probe to check which irq number are free.

A driver should never do this for devices that have been made in the
past 10 years or so.

thanks,

greg k-h

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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