From owner-freebsd-hackers Thu Jan 31 8:24:10 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by hub.freebsd.org (Postfix) with ESMTP id 3F5C737B404; Thu, 31 Jan 2002 08:24:05 -0800 (PST) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.11.1/8.11.1) id g0VGO4594248; Thu, 31 Jan 2002 11:24:04 -0500 (EST) (envelope-from bicknell) Date: Thu, 31 Jan 2002 11:24:04 -0500 From: Leo Bicknell To: Robert Watson Cc: "M. Warner Losh" , obrien@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: JKH - Jr. Kernel Hacker task Message-ID: <20020131162404.GA94200@ussenterprise.ufp.org> References: <20020130.223710.28874835.imp@village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: United Federation of Planets Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In a message written on Thu, Jan 31, 2002 at 10:59:24AM -0500, Robert Watson wrote: > I'm sorry Warner, but your submission has been rejected on the basis that > you are a Senior Kernel Hacker. :-) I've never submitted a kernel patch before, so... Index: sio.c =================================================================== RCS file: /cache/ncvs/src/sys/dev/sio/sio.c,v retrieving revision 1.362 diff -u -r1.362 sio.c --- sio.c 17 Jan 2002 20:05:47 -0000 1.362 +++ sio.c 31 Jan 2002 05:35:16 -0000 @@ -431,6 +431,7 @@ SYSCTL_PROC(_machdep, OID_AUTO, conspeed, CTLTYPE_INT | CTLFLAG_RW, 0, 0, sysctl_machdep_comdefaultrate, "I", ""); +TUNABLE_INT("machdep.conspeed", &comdefaultrate); #define SET_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) | (bit)) #define CLR_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) & ~(bit)) Wow, this kernel hacking stuff is easy. :-) Apologies to Warner. :-) -- Leo Bicknell - bicknell@ufp.org - CCIE 3440 PGP keys at http://www.ufp.org/~bicknell/ Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message