mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
scsi: aic7xxx: Fix a function name in comments
Use dma_alloc_coherent() instead of pci_alloc_consistent(). Link: https://lore.kernel.org/r/20210925132931.95-1-caihuoqing@baidu.com Signed-off-by: Cai Huoqing <caihuoqing@baidu.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
8d807a0680
commit
9f80eca441
@ -196,7 +196,7 @@ int ahd_dmamap_unload(struct ahd_softc *, bus_dma_tag_t, bus_dmamap_t);
|
||||
/*
|
||||
* XXX
|
||||
* ahd_dmamap_sync is only used on buffers allocated with
|
||||
* the pci_alloc_consistent() API. Although I'm not sure how
|
||||
* the dma_alloc_coherent() API. Although I'm not sure how
|
||||
* this works on architectures with a write buffer, Linux does
|
||||
* not have an API to sync "coherent" memory. Perhaps we need
|
||||
* to do an mb()?
|
||||
|
@ -209,7 +209,7 @@ int ahc_dmamap_unload(struct ahc_softc *, bus_dma_tag_t, bus_dmamap_t);
|
||||
/*
|
||||
* XXX
|
||||
* ahc_dmamap_sync is only used on buffers allocated with
|
||||
* the pci_alloc_consistent() API. Although I'm not sure how
|
||||
* the dma_alloc_coherent() API. Although I'm not sure how
|
||||
* this works on architectures with a write buffer, Linux does
|
||||
* not have an API to sync "coherent" memory. Perhaps we need
|
||||
* to do an mb()?
|
||||
|
Loading…
Reference in New Issue
Block a user