Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/dev/pci Pull up revision 1.73 (requested by atatat ...



details:   https://anonhg.NetBSD.org/src/rev/c6b731813abe
branches:  netbsd-2-0
changeset: 561140:c6b731813abe
user:      tron <tron%NetBSD.org@localhost>
date:      Sat May 29 09:00:24 2004 +0000

description:
Pull up revision 1.73 (requested by atatat in ticket #392):
Remaining sysctl descriptions under hw subtree (ath and bge)

diffstat:

 sys/dev/pci/if_bge.c |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r 289876ac1cb1 -r c6b731813abe sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Sat May 29 09:00:13 2004 +0000
+++ b/sys/dev/pci/if_bge.c      Sat May 29 09:00:24 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.66.2.2 2004/05/13 20:18:09 jdc Exp $      */
+/*     $NetBSD: if_bge.c,v 1.66.2.3 2004/05/29 09:00:24 tron Exp $     */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.66.2.2 2004/05/13 20:18:09 jdc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.66.2.3 2004/05/29 09:00:24 tron Exp $");
 
 #include "bpfilter.h"
 #include "vlan.h"
@@ -3776,7 +3776,8 @@
        }
 
        if ((rc = sysctl_createv(clog, 0, NULL, &node,
-           CTLFLAG_PERMANENT, CTLTYPE_NODE, "bge", NULL,
+           CTLFLAG_PERMANENT, CTLTYPE_NODE, "bge",
+           SYSCTL_DESCR("BGE interface controls"),
            NULL, 0, NULL, 0, CTL_HW, CTL_CREATE, CTL_EOL)) != 0) {
                goto err;
        }
@@ -3786,7 +3787,9 @@
        /* BGE Rx interrupt mitigation level */
        if ((rc = sysctl_createv(clog, 0, NULL, &node, 
            CTLFLAG_PERMANENT|CTLFLAG_READWRITE,
-           CTLTYPE_INT, "rx_lvl", NULL, sysctl_bge_verify, 0,
+           CTLTYPE_INT, "rx_lvl",
+           SYSCTL_DESCR("BGE receive interrupt mitigation level"),
+           sysctl_bge_verify, 0,
            &bge_rx_thresh_lvl,
            0, CTL_HW, bge_root_num, CTL_CREATE,
            CTL_EOL)) != 0) {



Home | Main Index | Thread Index | Old Index