/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to driver/ioctl.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-11-19 02:47:04 UTC
  • Revision ID: csa@suren.me-20151119024704-ky7mti48mliudi5z
Inform user-space about read request size as well

Show diffs side-by-side

added added

removed removed

Lines of Context:
448
448
        info = (pcilib_device_state_t) {
449
449
            .iommu = iommu_present(privdata->pdev->dev.bus),
450
450
            .mps = pcidriver_pcie_get_mps(privdata->pdev),
 
451
            .readrq = pcie_get_readrq(privdata->pdev),
451
452
            .dma_mask = privdata->pdev->dma_mask
452
453
        };
453
454
 
 
455
 
454
456
        WRITE_TO_USER(pcilib_device_state_t, info);
455
457
 
456
458
        return 0;