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
nexedi
linux
Commits
280c1c9a
Commit
280c1c9a
authored
Feb 06, 2003
by
Stanley Wang
Committed by
Greg Kroah-Hartman
Feb 06, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI Hotplug: Replace pcihpfs with sysfs.
parent
d2940fb6
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
162 additions
and
875 deletions
+162
-875
drivers/hotplug/pci_hotplug.h
drivers/hotplug/pci_hotplug.h
+6
-3
drivers/hotplug/pci_hotplug_core.c
drivers/hotplug/pci_hotplug_core.c
+156
-872
No files found.
drivers/hotplug/pci_hotplug.h
View file @
280c1c9a
...
...
@@ -46,8 +46,11 @@ enum pci_bus_speed {
};
struct
hotplug_slot
;
struct
hotplug_slot_core
;
struct
hotplug_slot_attribute
{
struct
attribute
attr
;
ssize_t
(
*
show
)(
struct
hotplug_slot
*
,
char
*
);
ssize_t
(
*
store
)(
struct
hotplug_slot
*
,
const
char
*
,
size_t
);
};
/**
* struct hotplug_slot_ops -the callbacks that the hotplug pci core can use
* @owner: The module owner of this structure
...
...
@@ -131,7 +134,7 @@ struct hotplug_slot {
/* Variables below this are for use only by the hotplug pci core. */
struct
list_head
slot_list
;
struct
hotplug_slot_core
*
core_priv
;
struct
kobject
kobj
;
};
extern
int
pci_hp_register
(
struct
hotplug_slot
*
slot
);
...
...
drivers/hotplug/pci_hotplug_core.c
View file @
280c1c9a
This diff is collapsed.
Click to expand it.
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