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
d73cc934
Commit
d73cc934
authored
Jun 09, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PCI: remove pci_present() from drivers/scsi/qla1280.c
parent
798110e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
drivers/scsi/qla1280.c
drivers/scsi/qla1280.c
+0
-6
No files found.
drivers/scsi/qla1280.c
View file @
d73cc934
...
...
@@ -360,7 +360,6 @@ static inline uint16_t qla1280_addr48_63(dma_addr_t dma)
*/
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 0)
#define pci_set_dma_mask(dev, mask) dev->dma_mask = mask;
#define pci_present() pcibios_present()
#define pci_enable_device(pdev) 0
#define pci_find_subsys(id, dev, sid, sdev, pdev) pci_find_device(id,dev,pdev)
#define scsi_set_pci_device(host, pdev)
...
...
@@ -1009,11 +1008,6 @@ qla1280_detect(Scsi_Host_Template * template)
"qla1280: insmod or else it might trash certain memory areas.
\n
"
);
#endif
if
(
!
pci_present
())
{
printk
(
KERN_INFO
"scsi: PCI not present
\n
"
);
return
0
;
}
bdp
=
&
ql1280_board_tbl
[
0
];
qla1280_hostlist
=
NULL
;
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,18)
...
...
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