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
caad866a
Commit
caad866a
authored
Jun 09, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCI: remove pci_present() from drivers/net/dgrs.c
parent
77bfc31b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
41 deletions
+37
-41
drivers/net/dgrs.c
drivers/net/dgrs.c
+37
-41
No files found.
drivers/net/dgrs.c
View file @
caad866a
...
@@ -1356,14 +1356,11 @@ static int __init dgrs_scan(void)
...
@@ -1356,14 +1356,11 @@ static int __init dgrs_scan(void)
uint
irq
;
uint
irq
;
uint
plxreg
;
uint
plxreg
;
uint
plxdma
;
uint
plxdma
;
struct
pci_dev
*
pdev
=
NULL
;
/*
/*
* First, check for PCI boards
* First, check for PCI boards
*/
*/
if
(
pci_present
())
{
struct
pci_dev
*
pdev
=
NULL
;
while
((
pdev
=
pci_find_device
(
SE6_PCI_VENDOR_ID
,
SE6_PCI_DEVICE_ID
,
pdev
))
!=
NULL
)
while
((
pdev
=
pci_find_device
(
SE6_PCI_VENDOR_ID
,
SE6_PCI_DEVICE_ID
,
pdev
))
!=
NULL
)
{
{
/*
/*
...
@@ -1405,7 +1402,6 @@ static int __init dgrs_scan(void)
...
@@ -1405,7 +1402,6 @@ static int __init dgrs_scan(void)
cards_found
++
;
cards_found
++
;
}
}
}
/*
/*
* Second, check for EISA boards
* Second, check for EISA boards
...
...
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