Skip to content

Commit 40a1d11

Browse files
haiyangzkuba-moo
authored andcommitted
net: mana: Enable MANA driver on ARM64 with 4K page size
Change the Kconfig dependency, so this driver can be built and run on ARM64 with 4K page size. 16/64K page sizes are not supported yet. Signed-off-by: Haiyang Zhang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 86348d2 commit 40a1d11

File tree

1 file changed

+2
-1
lines changed
  • drivers/net/ethernet/microsoft

1 file changed

+2
-1
lines changed

drivers/net/ethernet/microsoft/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ if NET_VENDOR_MICROSOFT
1717

1818
config MICROSOFT_MANA
1919
tristate "Microsoft Azure Network Adapter (MANA) support"
20-
depends on PCI_MSI && X86_64
20+
depends on PCI_MSI
21+
depends on X86_64 || (ARM64 && !CPU_BIG_ENDIAN && ARM64_4K_PAGES)
2122
depends on PCI_HYPERV
2223
select AUXILIARY_BUS
2324
select PAGE_POOL

0 commit comments

Comments
 (0)