Ignore:
Timestamp:
Dec 13, 2016, 10:52:53 PM (9 years ago)
Author:
David Azarewicz
Message:

Moved dma buffer pointers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/pci.c

    r182 r183  
    633633  for (i = 0; i < ad_info->hw_ports; i++)
    634634  {
    635     ad_info->dma_buf[i] = MemAlloc(AHCI_PORT_PRIV_DMA_SZ);
    636     ad_info->dma_buf_phys[i] = MemPhysAdr(ad_info->dma_buf[i]);
     635    ad_info->ports[i].dma_buf = MemAlloc(AHCI_PORT_PRIV_DMA_SZ);
     636    ad_info->ports[i].dma_buf_phys = MemPhysAdr(ad_info->ports[i].dma_buf);
    637637  }
    638638  #endif
Note: See TracChangeset for help on using the changeset viewer.