From owner-freebsd-hackers Wed Jul 3 14:35: 6 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29F7837B400 for ; Wed, 3 Jul 2002 14:35:04 -0700 (PDT) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id A383F43E4A for ; Wed, 3 Jul 2002 14:35:02 -0700 (PDT) (envelope-from lev@serebryakov.spb.ru) Received: from lev (ip86-27.dialup.wplus.net [195.131.86.27]) (authenticated) by ftp.translate.ru (8.11.6/8.11.2) with ESMTP id g63Lb0W05256 for ; Thu, 4 Jul 2002 01:37:00 +0400 (MSD) (envelope-from lev@serebryakov.spb.ru) Date: Thu, 4 Jul 2002 01:36:08 +0400 From: Lev Serebryakov X-Mailer: The Bat! (v1.53d) Reply-To: Lev Serebryakov Organization: Home X-Priority: 3 (Normal) Message-ID: <1052834515.20020704013608@serebryakov.spb.ru> To: Julian Elischer Subject: Re[2]: Driver for device on serial (COM) port In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hello, Julian! Saturday, June 29, 2002, 11:32:31 PM, you wrote: JE> in -current, we have a new netgraph node ng_device JE> that gives a device interface to netgraph. JE> We also have the ng_tty node that attaches to a tty JE> as a 'line disciplin' JE> adding a node between these to do you own stuff would give you what you JE> want. Hmm.. As I wrote, netgraph is good framework for my driver. Now I see only one problem: I need to change speed of COM port from my driver (all setup of device should be done at 9600 and after that link could be switched to other, negotiated, speed like 115200). If I use ng_tty or my own NG node, which acts as TTY discipline, I don't see way to change COM port speed from this side :( Lev Serebryakov /-----------------------------------------------\ | FIDONet: 2:5030/661.0 | | E-Mail: lev@serebryakov.spb.ru | | Page: http://lev.serebryakov.spb.ru/ | | ICQ UIN: 3670018 | | Phone: You know, if you have world nodelist | \===============================================/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message