From 9e2c067e34c918f4db0502c464b437d11e7498d6 Mon Sep 17 00:00:00 2001 From: patrick Date: Fri, 26 Feb 2021 00:02:07 +0000 Subject: [PATCH] Fix prio2fifo mapping table. --- sys/dev/pci/if_bwfm_pci.c | 10 +++++----- 1 file 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 @@ -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 */ -- 2.20.1