sync with OpenBSD -current

This commit is contained in:
purplerain 2024-02-21 20:26:06 +00:00
parent 8cf0d7be7c
commit 5f8da13f08
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
27 changed files with 6870 additions and 401 deletions

View file

@ -1,4 +1,4 @@
/* $OpenBSD: qwxreg.h,v 1.6 2024/02/03 10:03:18 stsp Exp $ */
/* $OpenBSD: qwxreg.h,v 1.7 2024/02/21 14:40:50 kevlo Exp $ */
/*
* Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc.
@ -6927,11 +6927,6 @@ enum ath11k_qmi_bdf_type {
#define HAL_SHADOW_REG(sc, x) (HAL_SHADOW_BASE_ADDR(sc) + (4 * (x)))
/* SRNG registers are split into two groups R0 and R2 */
#define HAL_SRNG_REG_GRP_R0 0
#define HAL_SRNG_REG_GRP_R2 1
#define HAL_SRNG_NUM_REG_GRP 2
enum hal_srng_ring_id {
HAL_SRNG_RING_ID_REO2SW1 = 0,
HAL_SRNG_RING_ID_REO2SW2,

View file

@ -1,4 +1,4 @@
# $OpenBSD: files.pci,v 1.363 2023/12/28 17:36:29 stsp Exp $
# $OpenBSD: files.pci,v 1.364 2024/02/21 10:48:10 claudio Exp $
# $NetBSD: files.pci,v 1.20 1996/09/24 17:47:15 christos Exp $
#
# Config file and device description for machine-independent PCI code.
@ -867,5 +867,10 @@ file dev/pci/if_ngbe.c ngbe
attach com at pci with com_pci
file dev/pci/com_pci.c com_pci
# MediaTek MT7921 / MT7922 wifi
device mwx: ifnet, wlan, firmload
attach mwx at pci
file dev/pci/if_mwx.c mwx
include "dev/pci/files.agp"
include "dev/pci/drm/files.drm"

5106
sys/dev/pci/if_mwx.c Normal file

File diff suppressed because it is too large Load diff

1401
sys/dev/pci/if_mwxreg.h Normal file

File diff suppressed because it is too large Load diff