目錄:http://www.cnblogs.com/WuCountry/archive/2008/11/15/1333960.html
[不提供插圖,讀者最好從網上下載源書]
5.11. Functions and Variables Featured in This Chapter 本章的函數,變數和特性
Table 5-1 summarizes the functions, macros, variables, and data structures introduced in this chapter.
表5-1是本章所涉及到的一些函數,宏,變數以及資料結構。
Table 5-1. Functions, macros, variables, and data structures related to system
Functions and macros
initialization Name
request_irq
free_irq
Description
Registers and releases, respectively, a callback handler for an IRQ line. The registration can be exclusive or shared.
分別用於註冊和釋放在IRQ線路上的回調控制代碼!
request_region
release_region
Allocates and releases I/O ports and I/O memory.
分配和釋放IO連接埠和IO記憶體
call_usermodehelper
Invokes a user-space helper application.
調用使用者空間的輔助應用程式。
module_param
Macro used to define configuration parameters for modules.
模組參數
net_dev_init
Initializes a piece of the networking code at boot time.
在啟動時初始化
Global variables
dev_boot_phase
Boolean flag used by legacy code to enforce the execution of net_dev_init before NIC device drivers register themselves.
邏輯標誌位,在老的代碼中用於強迫NIC裝置驅動在註冊net_dev_init之前來執行。
irq_desc
Pointer to the vector of IRQ descriptors.
列印IRQ向量的描述資訊。
Data structure
struct irq_action
Each IRQ line is defined by an instance of this structure. Among other fields, it includes a callback function.
每一個IRQ線路都定義了一個這個資料結構的執行個體。和其它欄位一起,還包括一個回呼函數 。
net_device
Describes a network device.
一個網路裝置的描述。