Writing Device Drivers

ddi_dma_cookie Structure Changes

uint32_t     dmac_address;        /* was type unsigned long */
size_t       dmac_size;           /* was type u_int */

The ddi_dma_cookie(9S) structure contains a 32-bit DMA address, so a fixed-width data type has been used to define it. The size has been redefined as size_t.