From owner-freebsd-current Mon Mar 4 16:40:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 03B4637B405; Mon, 4 Mar 2002 16:40:17 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020305004016.RZZA2951.rwcrmhc53.attbi.com@InterJet.elischer.org>; Tue, 5 Mar 2002 00:40:16 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA28021; Mon, 4 Mar 2002 16:29:30 -0800 (PST) Date: Mon, 4 Mar 2002 16:29:29 -0800 (PST) From: Julian Elischer To: Maksim Yevmenkin Cc: freebsd-current@FreeBSD.ORG, archie@FreeBSD.ORG Subject: Re: Netgraph, device drivers and mutexes In-Reply-To: <3C83EB6D.CFE8016C@digisle.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 4 Mar 2002, Maksim Yevmenkin wrote: > Julian, [...] > > speaking of ng_tty... it is clear to me how to inject data into Netgraph > in a safe way, but it is not yet clear how Netgraph can inject data into > other subsystems. > > you see, the Bluetooth spec defines several Host (PC) to Host Controller > (Bluetooth unit) communication protocols. one of them is UART transport > layer (AKA H4). i have implemented H4 line discipline that also a > Netgraph > node. (i called it ng_sio in my report but it was wrong). it works now, > and i can talk to Xircom card, but it should be changed later. any > hints? Netgraph will have to aquire whatever lock is required for that module. Most subsystems have no locks yet so it's a bit early to say how it will work :-) > > thanks, > max > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message