Chapter 6. The PCI layer and network interface cards, PCI layer and network interface card

Source: Internet
Author: User

Directory: http://www.cnblogs.com/WuCountry/archive/2008/11/15/1333960.html

[Do not provide illustrations. You are advised to download the source book from the Internet]
Chapter 6. The PCI layer and network interface cards, PCI layer and network interface card
Given the popularity of the PCI bus, on the x86 as well as other ubuntures, we will spend a few pages on it so that you can understand how PCI devices are managed by the kernel, with special emphasis on network devices. this chapter will help you find a context for the code about device regiter we will see in Chapter 8. you will also learn a bit about how PCI handles some nifty kernel features such as probing and power management. for an in-depth discussion of PCI, such as Device Driver Design, PCI bus features, and implementation details, refer to Linux Device Drivers and understanding the Linux kernel, as well as PCI specifications.
Take the most popular PCI bus as an example. on x86 systems, the other architecture is the same. We will spend several pages on it. In this way, we can understand how the PIC device is managed by the kernel, focusing on network devices. This chapter will help you find some information about device registration that you will see in Chapter 8th. Code Content. You will also learn about how PCI handles some playful kernel features, how to monitor and manage power supplies. For more in-depth discussions on PCI, such as Device Driver Design, PCI bus features, and implementation details, refer to the Linux Device Driver Design and in-depth understanding of the Linux kernel.

The PCI subsystem (also known as the PCI layer) in the kernel provides all the generic functions that are used in common by varous PCI device drivers. this subsystem takes a lot of work off the shoulders of the programmer for each individual device, lets drivers be written in a clean manner, and makes it easier for the kernel to collect and maintain information about the devices, such as accounting information and statistics.
The PCI subsystem in the kernel, the well-known PCI layer, provides all the common functions that can be used for drivers of most PCI devices. This subsystem provides a lot of help.ProgramDevelopers develop the work of each independent device to make the driver compilation method clear, and make it easier to collect and maintain in the kernel. For example, information statistics.

In this chapter, we will see the meaning of a few key data structures used by the PCI layer and how these structures are initialized by one common Nic device driver. i'll conclude with a few words on the PCI power management and wake-on-lan features.
In this chapter, we will see the meanings of several key data structures used for the PCI layer and how these data structures are initialized by General Nic device drivers. We will include some PCI power management terms and LAN wake-up features!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.