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
b618f1aa
Commit
b618f1aa
authored
Jun 09, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCI: remove pci_present() from drivers/char/sx.c
parent
7329dae1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
55 deletions
+55
-55
drivers/char/sx.c
drivers/char/sx.c
+55
-55
No files found.
drivers/char/sx.c
View file @
b618f1aa
...
...
@@ -2460,7 +2460,6 @@ static int __init sx_init(void)
}
#ifdef CONFIG_PCI
if
(
pci_present
())
{
#ifndef TWO_ZERO
while
((
pdev
=
pci_find_device
(
PCI_VENDOR_ID_SPECIALIX
,
PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8
,
...
...
@@ -2471,7 +2470,8 @@ static int __init sx_init(void)
for
(
i
=
0
;
i
<
SX_NBOARDS
;
i
++
)
{
if
(
pcibios_find_device
(
PCI_VENDOR_ID_SPECIALIX
,
PCI_DEVICE_ID_SPECIALIX_SX_XIO_IO8
,
i
,
&
pci_bus
,
&
pci_fun
))
break
;
&
pci_bus
,
&
pci_fun
))
break
;
#endif
/* Specialix has a whole bunch of cards with
0x2000 as the device ID. They say its because
...
...
@@ -2523,7 +2523,6 @@ static int __init sx_init(void)
}
else
iounmap
((
char
*
)
(
board
->
base
));
}
}
#endif
for
(
i
=
0
;
i
<
NR_SX_ADDRS
;
i
++
)
{
...
...
@@ -2649,3 +2648,4 @@ static void __exit sx_exit (void)
module_init
(
sx_init
);
module_exit
(
sx_exit
);
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