LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Functions to register the device as char/block/network for any specific bus type? (https://www.linuxquestions.org/questions/linux-kernel-70/functions-to-register-the-device-as-char-block-network-for-any-specific-bus-type-4175552755/)

ayyasprings 09-06-2015 07:30 AM

Functions to register the device as char/block/network for any specific bus type?
 
Hi,
Where can i get to know the functions to register/unregister the device as char/block/network for any specific bus type such as USB, PCI, tty, bluetooth or any core? Is there any book for knowing this? Dont say Linux Device Drivers 3rd edition by Alessandro rubini, Jonathon Corbet & Greg kroah hartman. I have completely read this book and in Usb device driver chapter only they gave the function
Code:

usb_register_dev
for registering the device to use traditional char driver interface.
In need to register it as block/net device which functions to use or if the same function has to be used what are the changes to mention it as block/net device. Also for other bus type what are the functions we have to use or where i can get that info?

Please reply.


All times are GMT -5. The time now is 03:00 PM.