Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OTC:Drivers
scsi_ep_front
fix-412.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-412.diff of Package scsi_ep_front
Index: SD100_Card_Driver/scsi_ep_front/epfront_transfer.c =================================================================== --- SD100_Card_Driver.orig/scsi_ep_front/epfront_transfer.c +++ SD100_Card_Driver/scsi_ep_front/epfront_transfer.c @@ -2094,9 +2094,13 @@ static int sdi_dev_map(struct sdi_pdev_i vector_threshold = SDI_MIN_MSIX_COUNT; vectors = SDI_PF12_MAX_CQ_NR; while (vectors >= vector_threshold) { +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 12, 0) + result = pci_enable_msix_exact(sdev->pdev, sdev->entry, vectors); +#else result = pci_enable_msix(sdev->pdev, sdev->entry, vectors); +#endif if (!result) /* Success in acquiring all requested vectors. */ break; else if (result < 0) vectors = 0; /* Nasty failure, quit now */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor