Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
435883d2
Commit
435883d2
authored
Nov 10, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCI Hotplug: fix up remaining MODULE_PARAM usage in pci hotplug drivers
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
a758133e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
drivers/pci/hotplug/cpcihp_generic.c
drivers/pci/hotplug/cpcihp_generic.c
+7
-7
drivers/pci/hotplug/fakephp.c
drivers/pci/hotplug/fakephp.c
+1
-1
drivers/pci/hotplug/ibmphp_core.c
drivers/pci/hotplug/ibmphp_core.c
+1
-1
No files found.
drivers/pci/hotplug/cpcihp_generic.c
View file @
435883d2
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
/* local variables */
/* local variables */
static
int
debug
;
static
int
debug
;
static
char
*
bridge
;
static
char
bridge
[
256
]
;
static
u8
bridge_busnr
;
static
u8
bridge_busnr
;
static
u8
bridge_slot
;
static
u8
bridge_slot
;
static
struct
pci_bus
*
bus
;
static
struct
pci_bus
*
bus
;
...
@@ -209,15 +209,15 @@ module_exit(cpcihp_generic_exit);
...
@@ -209,15 +209,15 @@ module_exit(cpcihp_generic_exit);
MODULE_AUTHOR
(
DRIVER_AUTHOR
);
MODULE_AUTHOR
(
DRIVER_AUTHOR
);
MODULE_DESCRIPTION
(
DRIVER_DESC
);
MODULE_DESCRIPTION
(
DRIVER_DESC
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_PARM
(
debug
,
"i"
);
module_param
(
debug
,
bool
,
S_IRUGO
|
S_IWUSR
);
MODULE_PARM_DESC
(
debug
,
"Debugging mode enabled or not"
);
MODULE_PARM_DESC
(
debug
,
"Debugging mode enabled or not"
);
MODULE_PARM
(
bridge
,
"s"
);
module_param_string
(
bridge
,
bridge
,
256
,
0
);
MODULE_PARM_DESC
(
bridge
,
"Hotswap bus bridge device, <bus>:<slot> (bus and slot are in hexadecimal)"
);
MODULE_PARM_DESC
(
bridge
,
"Hotswap bus bridge device, <bus>:<slot> (bus and slot are in hexadecimal)"
);
MODULE_PARM
(
first_slot
,
"b"
);
module_param
(
first_slot
,
byte
,
0
);
MODULE_PARM_DESC
(
first_slot
,
"Hotswap bus first slot number"
);
MODULE_PARM_DESC
(
first_slot
,
"Hotswap bus first slot number"
);
MODULE_PARM
(
last_slot
,
"b"
);
module_param
(
last_slot
,
byte
,
0
);
MODULE_PARM_DESC
(
last_slot
,
"Hotswap bus last slot number"
);
MODULE_PARM_DESC
(
last_slot
,
"Hotswap bus last slot number"
);
MODULE_PARM
(
port
,
"h"
);
module_param
(
port
,
ushort
,
0
);
MODULE_PARM_DESC
(
port
,
"#ENUM signal I/O port"
);
MODULE_PARM_DESC
(
port
,
"#ENUM signal I/O port"
);
MODULE_PARM
(
enum_bit
,
"i"
);
module_param
(
enum_bit
,
int
,
0
);
MODULE_PARM_DESC
(
enum_bit
,
"#ENUM signal bit (0-7)"
);
MODULE_PARM_DESC
(
enum_bit
,
"#ENUM signal bit (0-7)"
);
drivers/pci/hotplug/fakephp.c
View file @
435883d2
...
@@ -227,6 +227,6 @@ module_exit(dummyphp_exit);
...
@@ -227,6 +227,6 @@ module_exit(dummyphp_exit);
MODULE_AUTHOR
(
DRIVER_AUTHOR
);
MODULE_AUTHOR
(
DRIVER_AUTHOR
);
MODULE_DESCRIPTION
(
DRIVER_DESC
);
MODULE_DESCRIPTION
(
DRIVER_DESC
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_PARM
(
debug
,
"i"
);
module_param
(
debug
,
bool
,
S_IRUGO
|
S_IWUSR
);
MODULE_PARM_DESC
(
debug
,
"Debugging mode enabled or not"
);
MODULE_PARM_DESC
(
debug
,
"Debugging mode enabled or not"
);
drivers/pci/hotplug/ibmphp_core.c
View file @
435883d2
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
int
ibmphp_debug
;
int
ibmphp_debug
;
static
int
debug
;
static
int
debug
;
MODULE_PARM
(
debug
,
"i"
);
module_param
(
debug
,
bool
,
S_IRUGO
|
S_IWUSR
);
MODULE_PARM_DESC
(
debug
,
"Debugging mode enabled or not"
);
MODULE_PARM_DESC
(
debug
,
"Debugging mode enabled or not"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_DESCRIPTION
(
DRIVER_DESC
);
MODULE_DESCRIPTION
(
DRIVER_DESC
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment