summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2021-02-26 00:02:07 +0000
committerpatrick <patrick@openbsd.org>2021-02-26 00:02:07 +0000
commit9e2c067e34c918f4db0502c464b437d11e7498d6 (patch)
tree78efeabf953a19c4c45c18e9ce9d034fdcdbcb3e
parentThe firmware replaces the last 32-bit on RAM with a shared DRAM address. (diff)
downloadwireguard-openbsd-9e2c067e34c918f4db0502c464b437d11e7498d6.tar.xz
wireguard-openbsd-9e2c067e34c918f4db0502c464b437d11e7498d6.zip
Fix prio2fifo mapping table.
-rw-r--r--sys/dev/pci/if_bwfm_pci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/if_bwfm_pci.c b/sys/dev/pci/if_bwfm_pci.c
index 079b984a2fd..557ace93f0b 100644
--- a/sys/dev/pci/if_bwfm_pci.c
+++ b/sys/dev/pci/if_bwfm_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bwfm_pci.c,v 1.43 2021/02/25 23:59:54 patrick Exp $ */
+/* $OpenBSD: if_bwfm_pci.c,v 1.44 2021/02/26 00:02:07 patrick Exp $ */
/*
* Copyright (c) 2010-2016 Broadcom Corporation
* Copyright (c) 2017 Patrick Wildt <patrick@blueri.se>
@@ -1554,10 +1554,10 @@ bwfm_pci_buscore_activate(struct bwfm_softc *bwfm, uint32_t rstvec)
}
static int bwfm_pci_prio2fifo[8] = {
- 1, /* best effort */
- 0, /* IPTOS_PREC_IMMEDIATE */
- 0, /* IPTOS_PREC_PRIORITY */
- 1, /* IPTOS_PREC_FLASH */
+ 0, /* best effort */
+ 1, /* IPTOS_PREC_IMMEDIATE */
+ 1, /* IPTOS_PREC_PRIORITY */
+ 0, /* IPTOS_PREC_FLASH */
2, /* IPTOS_PREC_FLASHOVERRIDE */
2, /* IPTOS_PREC_CRITIC_ECP */
3, /* IPTOS_PREC_INTERNETCONTROL */