Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Change position of the cpuid::ixl_hmc_txq



details:   https://anonhg.NetBSD.org/src/rev/61644245b470
branches:  trunk
changeset: 745208:61644245b470
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Tue Feb 25 07:35:54 2020 +0000

description:
Change position of the cpuid::ixl_hmc_txq
to be same with ixl_hmc_pack_txq[]

This has no functionality impact because the position on memory
is defined in ixl_hmc_pack_txq[].

pointed out and reviewed by knakahara@n.o., thanks

diffstat:

 sys/dev/pci/if_ixl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 744af69d7d19 -r 61644245b470 sys/dev/pci/if_ixl.c
--- a/sys/dev/pci/if_ixl.c      Tue Feb 25 07:31:19 2020 +0000
+++ b/sys/dev/pci/if_ixl.c      Tue Feb 25 07:35:54 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ixl.c,v 1.48 2020/02/25 07:31:19 yamaguchi Exp $    */
+/*     $NetBSD: if_ixl.c,v 1.49 2020/02/25 07:35:54 yamaguchi Exp $    */
 
 /*
  * Copyright (c) 2013-2015, Intel Corporation
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.48 2020/02/25 07:31:19 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.49 2020/02/25 07:35:54 yamaguchi Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -369,8 +369,8 @@
        uint8_t                 timesync_ena;
        uint8_t                 fd_ena;
        uint8_t                 alt_vlan_ena;
+       uint8_t                 cpuid;
        uint16_t                thead_wb;
-       uint8_t                 cpuid;
        uint8_t                 head_wb_ena;
 #define IXL_HMC_TXQ_DESC_WB            0
 #define IXL_HMC_TXQ_HEAD_WB            1



Home | Main Index | Thread Index | Old Index