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
f7ed0c8b
Commit
f7ed0c8b
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/hp100.c
parent
3df78739
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/net/hp100.c
drivers/net/hp100.c
+4
-2
No files found.
drivers/net/hp100.c
View file @
f7ed0c8b
...
@@ -405,7 +405,7 @@ int __init hp100_probe(struct net_device *dev)
...
@@ -405,7 +405,7 @@ int __init hp100_probe(struct net_device *dev)
/* First: scan PCI bus(es) */
/* First: scan PCI bus(es) */
#ifdef CONFIG_PCI
#ifdef CONFIG_PCI
if
(
pci_present
())
{
{
int
pci_index
;
int
pci_index
;
struct
pci_dev
*
pci_dev
=
NULL
;
struct
pci_dev
*
pci_dev
=
NULL
;
int
pci_id_index
;
int
pci_id_index
;
...
@@ -2973,8 +2973,10 @@ static int __init hp100_module_init(void)
...
@@ -2973,8 +2973,10 @@ static int __init hp100_module_init(void)
{
{
int
i
,
cards
;
int
i
,
cards
;
if
(
hp100_port
==
0
&&
!
EISA_bus
&&
!
pci_present
())
#ifndef CONFIG_PCI
if
(
hp100_port
==
0
&&
!
EISA_bus
)
printk
(
"hp100: You should not use auto-probing with insmod!
\n
"
);
printk
(
"hp100: You should not use auto-probing with insmod!
\n
"
);
#endif
/* Loop on all possible base addresses */
/* Loop on all possible base addresses */
i
=
-
1
;
i
=
-
1
;
...
...
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