sync with OpenBSD -current
This commit is contained in:
parent
0f90c06c31
commit
9bb6d42f92
16 changed files with 119 additions and 114 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: dt_dev.c,v 1.31 2024/02/18 00:54:03 cheloha Exp $ */
|
||||
/* $OpenBSD: dt_dev.c,v 1.32 2024/02/29 00:18:48 cheloha Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2019 Martin Pieuchot <mpi@openbsd.org>
|
||||
|
@ -477,6 +477,7 @@ dt_ioctl_get_stats(struct dt_softc *sc, struct dtioc_stat *dtst)
|
|||
int
|
||||
dt_ioctl_record_start(struct dt_softc *sc)
|
||||
{
|
||||
uint64_t now;
|
||||
struct dt_pcb *dp;
|
||||
|
||||
if (sc->ds_recording)
|
||||
|
@ -487,6 +488,7 @@ dt_ioctl_record_start(struct dt_softc *sc)
|
|||
return ENOENT;
|
||||
|
||||
rw_enter_write(&dt_lock);
|
||||
now = nsecuptime();
|
||||
TAILQ_FOREACH(dp, &sc->ds_pcbs, dp_snext) {
|
||||
struct dt_probe *dtp = dp->dp_dtp;
|
||||
|
||||
|
@ -497,7 +499,8 @@ dt_ioctl_record_start(struct dt_softc *sc)
|
|||
if (dp->dp_nsecs != 0) {
|
||||
clockintr_bind(&dp->dp_clockintr, dp->dp_cpu, dt_clock,
|
||||
dp);
|
||||
clockintr_advance(&dp->dp_clockintr, dp->dp_nsecs);
|
||||
clockintr_schedule(&dp->dp_clockintr,
|
||||
now + dp->dp_nsecs);
|
||||
}
|
||||
}
|
||||
rw_exit_write(&dt_lock);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $OpenBSD: qwx.c,v 1.52 2024/02/24 15:21:39 cheloha Exp $ */
|
||||
/* $OpenBSD: qwx.c,v 1.54 2024/02/29 11:45:47 stsp Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2023 Stefan Sperling <stsp@openbsd.org>
|
||||
|
@ -12793,6 +12793,7 @@ qwx_mgmt_rx_event(struct qwx_softc *sc, struct mbuf *m)
|
|||
}
|
||||
#endif
|
||||
ieee80211_input(ifp, m, ni, &rxi);
|
||||
ieee80211_release_node(ic, ni);
|
||||
exit:
|
||||
#ifdef notyet
|
||||
rcu_read_unlock();
|
||||
|
@ -21332,7 +21333,7 @@ qwx_ce_rx_post_buf(struct qwx_softc *sc)
|
|||
pipe = &sc->ce.ce_pipe[i];
|
||||
ret = qwx_ce_rx_post_pipe(pipe);
|
||||
if (ret) {
|
||||
if (ret == ENOBUFS)
|
||||
if (ret == ENOSPC)
|
||||
continue;
|
||||
|
||||
printf("%s: failed to post rx buf to pipe: %d err: %d\n",
|
||||
|
@ -21436,7 +21437,7 @@ qwx_ce_recv_process_cb(struct qwx_ce_pipe *pipe)
|
|||
}
|
||||
|
||||
err = qwx_ce_rx_post_pipe(pipe);
|
||||
if (err && err != ENOBUFS) {
|
||||
if (err && err != ENOSPC) {
|
||||
printf("%s: failed to post rx buf to pipe: %d err: %d\n",
|
||||
__func__, pipe->pipe_num, err);
|
||||
#ifdef notyet
|
||||
|
|
|
@ -301,6 +301,8 @@ static const struct pci_matchid i915_devices[] = {
|
|||
{ 0x8086, 0x46d0 },
|
||||
{ 0x8086, 0x46d1 },
|
||||
{ 0x8086, 0x46d2 },
|
||||
{ 0x8086, 0x46d3 },
|
||||
{ 0x8086, 0x46d4 },
|
||||
{ 0x8086, 0xa780 },
|
||||
{ 0x8086, 0xa781 },
|
||||
{ 0x8086, 0xa782 },
|
||||
|
|
|
@ -672,7 +672,9 @@
|
|||
#define INTEL_ADLN_IDS(info) \
|
||||
INTEL_VGA_DEVICE(0x46D0, info), \
|
||||
INTEL_VGA_DEVICE(0x46D1, info), \
|
||||
INTEL_VGA_DEVICE(0x46D2, info)
|
||||
INTEL_VGA_DEVICE(0x46D2, info), \
|
||||
INTEL_VGA_DEVICE(0x46D3, info), \
|
||||
INTEL_VGA_DEVICE(0x46D4, info)
|
||||
|
||||
/* RPL-S */
|
||||
#define INTEL_RPLS_IDS(info) \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$OpenBSD: pcidevs,v 1.2063 2024/02/19 05:36:17 jsg Exp $
|
||||
$OpenBSD: pcidevs,v 1.2064 2024/02/29 10:09:54 jsg Exp $
|
||||
/* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -5739,6 +5739,8 @@ product INTEL ADL_P_GT2_18 0x46c3 Graphics
|
|||
product INTEL ADL_N_GT_1 0x46d0 Graphics
|
||||
product INTEL ADL_N_GT_2 0x46d1 Graphics
|
||||
product INTEL ADL_N_GT_3 0x46d2 Graphics
|
||||
product INTEL ADL_N_GT_4 0x46d3 Graphics
|
||||
product INTEL ADL_N_GT_5 0x46d4 Graphics
|
||||
product INTEL DG1_1 0x4905 Iris Xe MAX
|
||||
product INTEL DG1_2 0x4906 Graphics
|
||||
product INTEL DG1_3 0x4907 SG-18M
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
*
|
||||
* generated from:
|
||||
* OpenBSD: pcidevs,v 1.2063 2024/02/19 05:36:17 jsg Exp
|
||||
* OpenBSD: pcidevs,v 1.2064 2024/02/29 10:09:54 jsg Exp
|
||||
*/
|
||||
/* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */
|
||||
|
||||
|
@ -5744,6 +5744,8 @@
|
|||
#define PCI_PRODUCT_INTEL_ADL_N_GT_1 0x46d0 /* Graphics */
|
||||
#define PCI_PRODUCT_INTEL_ADL_N_GT_2 0x46d1 /* Graphics */
|
||||
#define PCI_PRODUCT_INTEL_ADL_N_GT_3 0x46d2 /* Graphics */
|
||||
#define PCI_PRODUCT_INTEL_ADL_N_GT_4 0x46d3 /* Graphics */
|
||||
#define PCI_PRODUCT_INTEL_ADL_N_GT_5 0x46d4 /* Graphics */
|
||||
#define PCI_PRODUCT_INTEL_DG1_1 0x4905 /* Iris Xe MAX */
|
||||
#define PCI_PRODUCT_INTEL_DG1_2 0x4906 /* Graphics */
|
||||
#define PCI_PRODUCT_INTEL_DG1_3 0x4907 /* SG-18M */
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT.
|
||||
*
|
||||
* generated from:
|
||||
* OpenBSD: pcidevs,v 1.2063 2024/02/19 05:36:17 jsg Exp
|
||||
* OpenBSD: pcidevs,v 1.2064 2024/02/29 10:09:54 jsg Exp
|
||||
*/
|
||||
|
||||
/* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */
|
||||
|
@ -20315,6 +20315,14 @@ static const struct pci_known_product pci_known_products[] = {
|
|||
PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_GT_3,
|
||||
"Graphics",
|
||||
},
|
||||
{
|
||||
PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_GT_4,
|
||||
"Graphics",
|
||||
},
|
||||
{
|
||||
PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_ADL_N_GT_5,
|
||||
"Graphics",
|
||||
},
|
||||
{
|
||||
PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_DG1_1,
|
||||
"Iris Xe MAX",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue