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
605fda94
Commit
605fda94
authored
Oct 06, 2004
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI: remove all usages of pci_dma_sync_sg as it's obsolete.
Signed-off-by:
Greg Kroah-Hartman
<
greg@kroah.com
>
parent
88e0d40a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
drivers/scsi/megaraid/megaraid_mbox.c
drivers/scsi/megaraid/megaraid_mbox.c
+2
-2
include/linux/pci.h
include/linux/pci.h
+0
-1
No files found.
drivers/scsi/megaraid/megaraid_mbox.c
View file @
605fda94
...
...
@@ -1559,7 +1559,7 @@ mbox_post_cmd(adapter_t *adapter, scb_t *scb)
PCI_DMA_TODEVICE
);
}
else
{
pci_dma_sync_sg
(
adapter
->
pdev
,
scb
->
scp
->
request_buffer
,
pci_dma_sync_sg
_for_cpu
(
adapter
->
pdev
,
scb
->
scp
->
request_buffer
,
scb
->
scp
->
use_sg
,
PCI_DMA_TODEVICE
);
}
}
...
...
@@ -2345,7 +2345,7 @@ megaraid_mbox_sync_scb(adapter_t *adapter, scb_t *scb)
case
MRAID_DMA_WSG
:
if
(
scb
->
dma_direction
==
PCI_DMA_FROMDEVICE
)
{
pci_dma_sync_sg
(
adapter
->
pdev
,
pci_dma_sync_sg
_for_cpu
(
adapter
->
pdev
,
scb
->
scp
->
request_buffer
,
scb
->
scp
->
use_sg
,
PCI_DMA_FROMDEVICE
);
}
...
...
include/linux/pci.h
View file @
605fda94
...
...
@@ -860,7 +860,6 @@ extern void msi_remove_pci_irq_vectors(struct pci_dev *dev);
/* Backwards compat, remove in 2.7.x */
#define pci_dma_sync_single pci_dma_sync_single_for_cpu
#define pci_dma_sync_sg pci_dma_sync_sg_for_cpu
/*
* If the system does not have PCI, clearly these return errors. Define
...
...
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