Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105370
b: refs/heads/master
c: 9120195
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jul 24, 2008
1 parent e8fdfb6 commit f7dbf12
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f0af566da6e9a4a2f5a83c5a70f3d0a772050e21
refs/heads/master: 912019572180f287e85b5534fbb1c1e3ca6df6c9
9 changes: 0 additions & 9 deletions trunk/include/asm-mn10300/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,6 @@ struct pci_dev;
/* This is always fine. */
#define pci_dac_dma_supported(pci_dev, mask) (0)

/*
* These macros should be used after a pci_map_sg call has been done
* to get bus addresses of each of the SG entries and their lengths.
* You should only work with the number of sg entries pci_map_sg
* returns.
*/
#define sg_dma_address(sg) ((sg)->dma_address)
#define sg_dma_len(sg) ((sg)->length)

/* Return the index of the PCI controller for device. */
static inline int pci_controller_num(struct pci_dev *dev)
{
Expand Down
9 changes: 9 additions & 0 deletions trunk/include/asm-mn10300/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,13 @@ struct scatterlist {

#define ISA_DMA_THRESHOLD (0x00ffffff)

/*
* These macros should be used after a pci_map_sg call has been done
* to get bus addresses of each of the SG entries and their lengths.
* You should only work with the number of sg entries pci_map_sg
* returns.
*/
#define sg_dma_address(sg) ((sg)->dma_address)
#define sg_dma_len(sg) ((sg)->length)

#endif /* _ASM_SCATTERLIST_H */

0 comments on commit f7dbf12

Please sign in to comment.