From the course: Advanced Linux: The Linux Kernel
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Examine kernel driver source - Linux Tutorial
From the course: Advanced Linux: The Linux Kernel
Examine kernel driver source
- [Instructor] Let's briefly talk about Linux kernel source code underneath drivers. So if you do a list underneath the driver subdirectory, you'll see a lot and lots of sub directories and sub directories within sub directories and so forth. There are many, many drivers written for Linux. Linux is well-supported by lots of hardware. Some of the drivers aren't actually hardware drivers. They're pseudo drivers, like for devno, which we'll talk about in a second. Common hardware devices are ethernet devices and there's quite a few available for Linux. If you want to find out which driver your ethernet devices are using, you can first of all try ip addr to see the names of your interfaces, and then try ethtool -i name of an interface to see which driver as well as some other information goes with that interface. So remember, the device file dev null had major number one. It had a device driver. Well, that actually gets implemented in driver's char mem.c, along with the other, we'll call…
Contents
-
-
-
-
-
-
(Locked)
Getting Linux kernel source code2m 37s
-
(Locked)
Explore the kernel makefile3m 1s
-
(Locked)
Examine and build kernel documentation4m 29s
-
(Locked)
Search the kernel source3m 18s
-
(Locked)
Demonstration of kernel source and searching4m 54s
-
(Locked)
Examine kernel driver source5m 1s
-
(Locked)
Demonstration: kernel source7m
-
(Locked)
Additional selected subdirectories3m 5s
-
(Locked)
Challenge: Linux kernel source code1m 29s
-
(Locked)
Solution: Linux kernel source code3m 46s
-
(Locked)
-
-