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
1de61ebe
Commit
1de61ebe
authored
Oct 05, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: clean up the comments in search.c to be correct.
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
35f1f308
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
drivers/pci/search.c
drivers/pci/search.c
+8
-10
No files found.
drivers/pci/search.c
View file @
1de61ebe
/*
* PCI searching functions.
*
* Copyright 1993 -- 1997 Drew Eckhardt, Frederic Potter,
* David Mosberger-Tang
* Copyright 1997 -- 2000 Martin Mares <mj@ucw.cz>
* Copyright
2003 --
Greg Kroah-Hartman <greg@kroah.com>
* Copyright
(C)
1993 -- 1997 Drew Eckhardt, Frederic Potter,
*
David Mosberger-Tang
* Copyright
(C)
1997 -- 2000 Martin Mares <mj@ucw.cz>
* Copyright
(C) 2003 -- 2004
Greg Kroah-Hartman <greg@kroah.com>
*/
#include <linux/init.h>
...
...
@@ -258,12 +258,6 @@ pci_get_subsys(unsigned int vendor, unsigned int device,
* @from: Previous PCI device found in search, or %NULL for new search.
*
* Iterates through the list of known PCI devices. If a PCI device is
* found with a matching @vendor and @device, a pointer to its device structure is
* returned. Otherwise, %NULL is returned.
* A new search is initiated by passing %NULL to the @from argument.
* Otherwise if @from is not %NULL, searches continue from next device on the global list.
*
* Iterates through the list of known PCI devices. If a PCI device is
* found with a matching @vendor and @device, the reference count to the
* device is incremented and a pointer to its device structure is returned.
* Otherwise, %NULL is returned. A new search is initiated by passing %NULL
...
...
@@ -325,6 +319,10 @@ pci_find_device_reverse(unsigned int vendor, unsigned int device, const struct p
* A new search is initiated by passing %NULL to the @from argument.
* Otherwise if @from is not %NULL, searches continue from next device
* on the global list.
*
* NOTE: Do not use this function anymore, use pci_get_class() instead, as
* the pci device returned by this function can disappear at any moment in
* time.
*/
struct
pci_dev
*
pci_find_class
(
unsigned
int
class
,
const
struct
pci_dev
*
from
)
...
...
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