?? rhel3_u6.patch
字號:
diff -uprN rhel3_dump/megaraid_sas.c rhel3_u6/megaraid_sas.c--- rhel3_dump/megaraid_sas.c 2007-10-15 00:44:09.000000000 -0700+++ rhel3_u6/megaraid_sas.c 2007-10-15 00:36:42.000000000 -0700@@ -30,7 +30,6 @@ #include <linux/list.h> #include <linux/version.h> #include <linux/module.h>-#include <linux/moduleparam.h> #include <linux/spinlock.h> #include <linux/interrupt.h> #include <linux/delay.h>@@ -66,7 +65,7 @@ * time. */ static unsigned int fast_load = 0;-module_param(fast_load, int, 0);+MODULE_PARM(fast_load, "i"); MODULE_PARM_DESC(fast_load, "megasas: Faster loading of the driver, skips physical devices! \ (default=0)");@@ -76,7 +75,7 @@ MODULE_PARM_DESC(fast_load, * Will be set in megasas_init_mfi if user does not provide */ static unsigned int max_sector = 0;-module_param(max_sector, int, 0);+MODULE_PARM(max_sector, "i"); MODULE_PARM_DESC(max_sector, "Maximum number of sectors per IO command"); @@ -84,7 +83,7 @@ MODULE_PARM_DESC(max_sector, * Number of cmds per logical unit */ static unsigned int cmd_per_lun = MEGASAS_DEFAULT_CMD_PER_LUN;-module_param(cmd_per_lun, int, 0);+MODULE_PARM(cmd_per_lun, "i"); MODULE_PARM_DESC(cmd_per_lun, "Maximum number of commands per logical unit (default=128)");
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -