Re: usb serial driver query

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

 



On 10/16/06, Greg KH <greg@xxxxxxxxx> wrote:
On Mon, Oct 16, 2006 at 07:51:59PM +0530, pradeep singh wrote:
> Hi all
>
> I want to write a driver for a usb-serial device.
> I was going through src/drivers/usb/serial and found that most of the
> serial drivers call the generic probe for usb serial driver i.e
> usb_serial_probe( ) .

Yes, that is required for a usb-serial driver.

> Will my probe be called if i write one forgetting usb-serial driver's
> exported usb_serial_probe()?
>
> Or is it a compulsion to use usb_serial_probe()?

It is required if you wish to use the usb-serial core to support your
device.  Is there some reason you would not want to use it?
Not not specific reasons Greg, but i just wanted to know out of
curiosity. Can I write my own?

thanks,

greg k-h



--
play the game

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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