LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-07-2015, 02:22 AM   #1
ayyasprings
Member
 
Registered: Aug 2014
Posts: 118

Rep: Reputation: Disabled
How USB/pci device driver invokes char/block/network layer in kernel?


Hi,

While writing device driver for USB/PCI where do we pass the information that the device is of char/block/network type so that the driver invokes the correct layer ie)char or block or network layer?

When will the device driver register/unregister function specific for char/block/network drivers used if there is separate register/unregister functions available for USB,PCI,Bluetooth,tty interfaces?

Do the char/block/network driver register/unregister functions are invoked subsequently by USB/PCI/tty driver register/unregister functions internally, for example when an USB with char device type is used, will the USB register/unregister function invokes char driver register /unregister function?

Please reply!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How USB device driver invokes char/block/network layer in kernel? ayyasprings Linux - Embedded & Single-board computer 6 08-08-2015 05:55 AM
linux device driver (usb,pci) suggestion drvnob Programming 2 04-11-2012 12:29 PM
PCI address support for block/scsi layer scatterlist dbrazeau Linux - Kernel 1 12-04-2011 01:03 PM
Mtd driver as block device and char device Linux_Kid_ Linux - Kernel 1 12-27-2009 12:17 PM
Problem in compiling a char device driver formerly for kernel 2.4 on kernel 2.6 payretep Linux - Newbie 6 09-24-2007 05:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration