Difference between revisions of "Device drivers"

From eLinux.org
Jump to: navigation, search
 
Line 1: Line 1:
Sample drivers:
+
== Manuals ==
 +
* [http://en.wikibooks.org/wiki/The_Linux_Kernel Linux kernel internals reference, wikibook] - under construction
 +
* [http://www.makelinux.net/ldd3/ Linux Device Drivers, 3rd Edition]
 +
* [http://www.makelinux.net/reference.d/drivers_linux Tutorial for writing parallel port driver]
 +
 
 +
== Sample drivers ==
 
* [https://github.com/makelinux/ldt/ LDT - Linux Driver Template] - sample template of Linux device driver for learning and starting source for a custom driver. Implements UART char device driver for example. Uses following Linux facilities: module, platform driver, file operations (read/write, mmap, ioctl, blocking and nonblocking mode, polling), kfifo, completion, interrupt, tasklet, work, kthread, timer, misc device, proc fs, UART 0x3f8, HW loopback, SW loopback, ftracer. The code is in working condition and runs with test script.
 
* [https://github.com/makelinux/ldt/ LDT - Linux Driver Template] - sample template of Linux device driver for learning and starting source for a custom driver. Implements UART char device driver for example. Uses following Linux facilities: module, platform driver, file operations (read/write, mmap, ioctl, blocking and nonblocking mode, polling), kfifo, completion, interrupt, tasklet, work, kthread, timer, misc device, proc fs, UART 0x3f8, HW loopback, SW loopback, ftracer. The code is in working condition and runs with test script.
 
* [https://github.com/martinezjavier/ldd3/ LDD3 - Samples for boot Linux Device Driver, 3rd edition, updated], compiled with kernel 3.2.0
 
* [https://github.com/martinezjavier/ldd3/ LDD3 - Samples for boot Linux Device Driver, 3rd edition, updated], compiled with kernel 3.2.0
Line 12: Line 17:
 
* [http://lxr.free-electrons.com/source/drivers/pci/hotplug/pcihp_skeleton.c pcihp_skeleton.c - PCI Hot Plug Controller Skeleton Driver]
 
* [http://lxr.free-electrons.com/source/drivers/pci/hotplug/pcihp_skeleton.c pcihp_skeleton.c - PCI Hot Plug Controller Skeleton Driver]
 
* [http://lxr.free-electrons.com/source/drivers/net/loopback.c loopback.c - simple net_device implementing ifconfig  lo]
 
* [http://lxr.free-electrons.com/source/drivers/net/loopback.c loopback.c - simple net_device implementing ifconfig  lo]
Manuals:
 
* [http://en.wikibooks.org/wiki/The_Linux_Kernel Linux kernel internals reference, wikibook] - under construction
 
* [http://www.makelinux.net/ldd3/ Linux Device Drivers, 3rd Edition]
 
* [http://www.makelinux.net/reference.d/drivers_linux Tutorial for writing parallel port driver]
 
  
PS:
+
== Resources ==
*[[Firmware]] could be merged with this page
+
* [[Device Tree]] - information about device tree (increasingly required for new embedded drivers)

Latest revision as of 22:09, 12 September 2013

Manuals

Sample drivers

Resources

  • Device Tree - information about device tree (increasingly required for new embedded drivers)