Drivers/Net/MarvellYukon: Set Dual Address Cycle Attribute
The Dual Address Cycle Attribute is necessary for bus mastering PCI devices
which are capable of generating 64-bit addresses. See the "Driver Writer's
Guide for UEFI 2.3.1" version 1.01, section 18.3.2.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Alan Ott <alan@softiron.co.uk>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
diff --git a/Drivers/Net/MarvellYukonDxe/if_msk.c b/Drivers/Net/MarvellYukonDxe/if_msk.c
index db19c32..056bf03 100644
--- a/Drivers/Net/MarvellYukonDxe/if_msk.c
+++ b/Drivers/Net/MarvellYukonDxe/if_msk.c
@@ -1160,7 +1160,7 @@
Status = mPciIo->Attributes (
mPciIo,
EfiPciIoAttributeOperationEnable,
- Supports,
+ Supports | EFI_PCI_IO_ATTRIBUTE_DUAL_ADDRESS_CYCLE,
NULL
);
}