about pci_map_single()
From: Bob888y (bob888y_at_wmconnect.com)
Date: 08/21/03
- Next message: Bob888y: "physical address and bus address"
- Previous message: Tom Felker: "Idle or batch scheduling?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Aug 2003 02:23:11 GMT
The question is about pci_xxx_single() functions (version 2.4).
1) In pci_map_single function, it does virt_to_bus() to return a
dma_addr_t to be used by a PCI device. When I look into pci_unmap_single(), it
infact does nothing. Does it need to do bus_to_virt, so the cpu get read the
data DMA'd by the device?
2) Why is the function flush_write_buffers() needed?
- Next message: Bob888y: "physical address and bus address"
- Previous message: Tom Felker: "Idle or batch scheduling?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]