Skip to content

Commit 00169a9

Browse files
groecktorvalds
authored andcommitted
vmxnet3: Use generic Kconfig option for page size limit
Use the architecture independent Kconfig option PAGE_SIZE_LESS_THAN_64KB to indicate that VMXNET3 requires a page size smaller than 64kB. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 4eec7fa commit 00169a9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/net/Kconfig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -567,9 +567,7 @@ config XEN_NETDEV_BACKEND
567567
config VMXNET3
568568
tristate "VMware VMXNET3 ethernet driver"
569569
depends on PCI && INET
570-
depends on !(PAGE_SIZE_64KB || ARM64_64K_PAGES || \
571-
IA64_PAGE_SIZE_64KB || PARISC_PAGE_SIZE_64KB || \
572-
PPC_64K_PAGES)
570+
depends on PAGE_SIZE_LESS_THAN_64KB
573571
help
574572
This driver supports VMware's vmxnet3 virtual ethernet NIC.
575573
To compile this driver as a module, choose M here: the

0 commit comments

Comments
 (0)