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
16360235
Commit
16360235
authored
Jun 03, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: Move more functions out of include/linux/pci.h that don't need to be there.
parent
e12cc603
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
drivers/pci/pci.h
drivers/pci/pci.h
+4
-0
include/linux/pci.h
include/linux/pci.h
+0
-5
No files found.
drivers/pci/pci.h
View file @
16360235
...
@@ -27,6 +27,10 @@ extern struct pci_bus * pci_add_new_bus(struct pci_bus *parent, struct pci_dev *
...
@@ -27,6 +27,10 @@ extern struct pci_bus * pci_add_new_bus(struct pci_bus *parent, struct pci_dev *
extern
unsigned
int
pci_do_scan_bus
(
struct
pci_bus
*
bus
);
extern
unsigned
int
pci_do_scan_bus
(
struct
pci_bus
*
bus
);
extern
void
pci_remove_bus_device
(
struct
pci_dev
*
dev
);
extern
void
pci_remove_bus_device
(
struct
pci_dev
*
dev
);
extern
int
pci_remove_device_safe
(
struct
pci_dev
*
dev
);
extern
int
pci_remove_device_safe
(
struct
pci_dev
*
dev
);
extern
unsigned
char
pci_max_busnr
(
void
);
extern
unsigned
char
pci_bus_max_busnr
(
struct
pci_bus
*
bus
);
extern
int
pci_bus_find_capability
(
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
cap
);
extern
struct
pci_bus
*
pci_find_bus
(
unsigned
char
busnr
);
struct
pci_dev_wrapped
{
struct
pci_dev_wrapped
{
struct
pci_dev
*
dev
;
struct
pci_dev
*
dev
;
...
...
include/linux/pci.h
View file @
16360235
...
@@ -563,12 +563,8 @@ struct pci_dev *pci_find_subsys (unsigned int vendor, unsigned int device,
...
@@ -563,12 +563,8 @@ struct pci_dev *pci_find_subsys (unsigned int vendor, unsigned int device,
unsigned
int
ss_vendor
,
unsigned
int
ss_device
,
unsigned
int
ss_vendor
,
unsigned
int
ss_device
,
const
struct
pci_dev
*
from
);
const
struct
pci_dev
*
from
);
struct
pci_dev
*
pci_find_class
(
unsigned
int
class
,
const
struct
pci_dev
*
from
);
struct
pci_dev
*
pci_find_class
(
unsigned
int
class
,
const
struct
pci_dev
*
from
);
struct
pci_bus
*
pci_find_bus
(
unsigned
char
busnr
);
struct
pci_dev
*
pci_find_slot
(
unsigned
int
bus
,
unsigned
int
devfn
);
struct
pci_dev
*
pci_find_slot
(
unsigned
int
bus
,
unsigned
int
devfn
);
unsigned
char
pci_bus_max_busnr
(
struct
pci_bus
*
bus
);
unsigned
char
pci_max_busnr
(
void
);
int
pci_find_capability
(
struct
pci_dev
*
dev
,
int
cap
);
int
pci_find_capability
(
struct
pci_dev
*
dev
,
int
cap
);
int
pci_bus_find_capability
(
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
cap
);
int
pci_bus_read_config_byte
(
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
where
,
u8
*
val
);
int
pci_bus_read_config_byte
(
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
where
,
u8
*
val
);
int
pci_bus_read_config_word
(
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
where
,
u16
*
val
);
int
pci_bus_read_config_word
(
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
where
,
u16
*
val
);
...
@@ -620,7 +616,6 @@ int pci_set_power_state(struct pci_dev *dev, int state);
...
@@ -620,7 +616,6 @@ int pci_set_power_state(struct pci_dev *dev, int state);
int
pci_enable_wake
(
struct
pci_dev
*
dev
,
u32
state
,
int
enable
);
int
pci_enable_wake
(
struct
pci_dev
*
dev
,
u32
state
,
int
enable
);
/* Helper functions for low-level code (drivers/pci/setup-[bus,res].c) */
/* Helper functions for low-level code (drivers/pci/setup-[bus,res].c) */
void
pci_bus_assign_resources
(
struct
pci_bus
*
bus
);
void
pci_bus_assign_resources
(
struct
pci_bus
*
bus
);
void
pci_bus_size_bridges
(
struct
pci_bus
*
bus
);
void
pci_bus_size_bridges
(
struct
pci_bus
*
bus
);
int
pci_claim_resource
(
struct
pci_dev
*
,
int
);
int
pci_claim_resource
(
struct
pci_dev
*
,
int
);
...
...
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