Changeset a38d504 in mainline for uspace/drv/block/pci-ide/pci-ide.c


Ignore:
Timestamp:
2024-06-11T09:00:20Z (4 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
9739b5a
Parents:
645d3832
git-author:
Jiri Svoboda <jiri@…> (2024-06-10 17:59:56)
git-committer:
Jiri Svoboda <jiri@…> (2024-06-11 09:00:20)
Message:

Limit I/O operations not to exceed DMA buffer size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/block/pci-ide/pci-ide.c

    r645d3832 ra38d504  
    226226        params.have_irq = (chan->irq >= 0) ? true : false;
    227227        params.use_dma = true;
     228        params.max_dma_xfer = chan->dma_buf_size;
    228229        params.write_data_16 = pci_ide_write_data_16;
    229230        params.read_data_16 = pci_ide_read_data_16;
Note: See TracChangeset for help on using the changeset viewer.