Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Use def{flag,param} for parameters in ixl(4)



details:   https://anonhg.NetBSD.org/src/rev/fdca3525f758
branches:  trunk
changeset: 968419:fdca3525f758
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Thu Jan 16 07:11:50 2020 +0000

description:
Use def{flag,param} for parameters in ixl(4)

diffstat:

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

diffs (33 lines):

diff -r 20e276a54f04 -r fdca3525f758 sys/dev/pci/files.pci
--- a/sys/dev/pci/files.pci     Thu Jan 16 06:34:24 2020 +0000
+++ b/sys/dev/pci/files.pci     Thu Jan 16 07:11:50 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.pci,v 1.419 2020/01/01 10:11:21 ryo Exp $
+#      $NetBSD: files.pci,v 1.420 2020/01/16 07:11:50 yamaguchi Exp $
 #
 # Config file and device description for machine-independent PCI code.
 # Included by ports that need it.  Requires that the SCSI files be
@@ -1185,3 +1185,6 @@
 device ixl: ether, ifnet, arp
 attach ixl at pci
 file   dev/pci/if_ixl.c        ixl
+defflag        opt_if_ixl.h    IXL_DEBUG
+defparam opt_if_ixl.h  IXL_STATS_INTERVAL_MSEC
+                       IXL_QUEUE_NUM
diff -r 20e276a54f04 -r fdca3525f758 sys/dev/pci/if_ixl.c
--- a/sys/dev/pci/if_ixl.c      Thu Jan 16 06:34:24 2020 +0000
+++ b/sys/dev/pci/if_ixl.c      Thu Jan 16 07:11:50 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ixl.c,v 1.20 2020/01/15 08:25:01 yamaguchi Exp $    */
+/*     $NetBSD: if_ixl.c,v 1.21 2020/01/16 07:11:50 yamaguchi Exp $    */
 
 /*
  * Copyright (c) 2013-2015, Intel Corporation
@@ -77,6 +77,7 @@
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
+#include "opt_if_ixl.h"
 #endif
 
 #include <sys/param.h>



Home | Main Index | Thread Index | Old Index