Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2002 01:36:08 +0400
From:      Lev Serebryakov <lev@serebryakov.spb.ru>
To:        Julian Elischer <freebsd-hackers@FreeBSD.ORG>
Subject:   Re[2]: Driver for device on serial (COM) port
Message-ID:  <1052834515.20020704013608@serebryakov.spb.ru>
In-Reply-To: <Pine.BSF.4.21.0206291229030.78555-100000@InterJet.elischer.org>
References:  <Pine.BSF.4.21.0206291229030.78555-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1052834515.20020704013608>