// descriptor block used for chained dma transfers
struct plx_dma_desc
{
- u32 pci_start_addr;
- u32 local_start_addr;
- // transfer_size is in bytes, only first 23 bits of register are used
- u32 transfer_size;
+ volatile uint32_t pci_start_addr;
+ volatile uint32_t local_start_addr;
+ /* transfer_size is in bytes, only first 23 bits of register are used */
+ volatile uint32_t transfer_size;
/* address of next descriptor (quad word aligned), plus some
* additional bits (see PLX_DMA0_DESCRIPTOR_REG) */
- u32 next;
+ volatile uint32_t next;
};
/**********************************************************************