git: df64d7c8c82d - main - arm64: Add netmap(4) to default kernel config

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 06 Feb 2024 15:40:42 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=df64d7c8c82d59958cb546b23ba240ab97dc5033

commit df64d7c8c82d59958cb546b23ba240ab97dc5033
Author:     Daniel Roethlisberger <daniel@roe.ch>
AuthorDate: 2024-02-06 15:26:13 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2024-02-06 15:38:28 +0000

    arm64: Add netmap(4) to default kernel config
    
    Allows the development, testing and deployment of netmap(4)-based code
    on arm64 without having to recompile the kernel.  netmap(4) is already
    in the amd64 and powerpc64 default configs, so it does not seem
    unreasonable to also provide it on arm64 by default.
    
    Note that netmap(4) is useful even on systems without NIC that fully
    support it.
    
    Reviewed by:    vmaffione
    MFC after:      1 month
    Differential Revision:  https://reviews.freebsd.org/D43702
---
 sys/arm64/conf/std.dev | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/arm64/conf/std.dev b/sys/arm64/conf/std.dev
index 0ebf2e775b11..eefff7e3a6e0 100644
--- a/sys/arm64/conf/std.dev
+++ b/sys/arm64/conf/std.dev
@@ -88,6 +88,9 @@ device		miibus			# MII bus support
 # Note that 'bpf' is required for DHCP.
 device		bpf		# Berkeley packet filter
 
+# Netmap provides direct access to TX/RX rings on supported NICs
+device		netmap			# netmap(4) support
+
 # USB support
 options 	USB_DEBUG		# enable debug msgs
 options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.