Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xcap-capability-linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xcap
xcap-capability-linux
Commits
a967b140
Commit
a967b140
authored
17 years ago
by
Jeff Garzik
Committed by
David S. Miller
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
drivers/net/skfp: Remove dead code referencing pci_find_device()
Signed-off-by:
Jeff Garzik
<
jeff@garzik.org
>
parent
bbfb86c5
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/net/skfp/drvfbi.c
+0
-40
0 additions, 40 deletions
drivers/net/skfp/drvfbi.c
drivers/net/skfp/h/skfbi.h
+0
-5
0 additions, 5 deletions
drivers/net/skfp/h/skfbi.h
with
0 additions
and
45 deletions
drivers/net/skfp/drvfbi.c
+
0
−
40
View file @
a967b140
...
...
@@ -537,46 +537,6 @@ int set_oi_id_def(struct s_smc *smc)
}
#endif
/* MULT_OEM */
#ifdef PCI
#ifdef USE_BIOS_FUN
int
exist_board
(
struct
s_smc
*
smc
,
int
slot
)
{
u_short
dev_id
;
u_short
ven_id
;
int
found
;
int
i
;
found
=
FALSE
;
/* make sure we returned with adatper not found*/
/* if an empty oemids.h was included */
#ifdef MULT_OEM
smc
->
hw
.
oem_id
=
(
struct
s_oem_ids
*
)
&
oem_ids
[
0
]
;
for
(;
smc
->
hw
.
oem_id
->
oi_status
!=
OI_STAT_LAST
;
smc
->
hw
.
oem_id
++
)
{
if
(
smc
->
hw
.
oem_id
->
oi_status
<
smc
->
hw
.
oem_min_status
)
continue
;
#endif
ven_id
=
OEMID
(
smc
,
0
)
+
(
OEMID
(
smc
,
1
)
<<
8
)
;
dev_id
=
OEMID
(
smc
,
2
)
+
(
OEMID
(
smc
,
3
)
<<
8
)
;
for
(
i
=
0
;
i
<
slot
;
i
++
)
{
if
(
pci_find_device
(
i
,
&
smc
->
hw
.
pci_handle
,
dev_id
,
ven_id
)
!=
0
)
{
found
=
FALSE
;
}
else
{
found
=
TRUE
;
}
}
if
(
found
)
{
return
(
1
)
;
/* adapter was found */
}
#ifdef MULT_OEM
}
#endif
return
(
0
)
;
/* adapter was not found */
}
#endif
/* PCI */
#endif
/* USE_BIOS_FUNC */
void
driver_get_bia
(
struct
s_smc
*
smc
,
struct
fddi_addr
*
bia_addr
)
{
int
i
;
...
...
This diff is collapsed.
Click to expand it.
drivers/net/skfp/h/skfbi.h
+
0
−
5
View file @
a967b140
...
...
@@ -15,11 +15,6 @@
#ifndef _SKFBI_H_
#define _SKFBI_H_
#ifdef SYNC
#define exist_board_far exist_board
#define get_board_para_far get_board_para
#endif
/*
* FDDI-Fx (x := {I(SA), P(CI)})
* address calculation & function defines
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment