Changeset 185 for trunk/src/os2ahci/pci.c
- Timestamp:
- Dec 20, 2016, 9:35:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/os2ahci/pci.c
r184 r185 631 631 #ifndef DAZ_NEW_CODE 632 632 /* fill in DMA scratch buffer addresses in adapter info */ 633 for (i = 0; i < ad_info->hw_ports; i++) 634 { 633 for (i = 0; i < AHCI_MAX_PORTS; i++) 634 { 635 if (!(ad_info->port_map & (1UL << i))) continue; 636 635 637 ad_info->ports[i].dma_buf = MemAllocAlign(AHCI_PORT_PRIV_DMA_SZ, 1024); 636 638 ad_info->ports[i].dma_buf_phys = MemPhysAdr(ad_info->ports[i].dma_buf);
Note:
See TracChangeset
for help on using the changeset viewer.