From: Frank Mori Hess Date: Tue, 18 Feb 2003 23:44:09 +0000 (+0000) Subject: declare elements of dma descriptors volatile X-Git-Tag: r0_7_67x~97 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5c5cf9207d24c9007ffc0eb56d978dad527163c7;p=comedi.git declare elements of dma descriptors volatile --- diff --git a/comedi/drivers/plx9080.h b/comedi/drivers/plx9080.h index 6e738381..fc163b45 100644 --- a/comedi/drivers/plx9080.h +++ b/comedi/drivers/plx9080.h @@ -27,13 +27,13 @@ // 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; }; /**********************************************************************