From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 8 20:27:27 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 05EA616A4E1 for ; Tue, 8 Aug 2006 20:27:27 +0000 (UTC) (envelope-from rik@inse.ru) Received: from mail.inse.ru (inse.ru [144.206.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7505C43D49 for ; Tue, 8 Aug 2006 20:27:25 +0000 (GMT) (envelope-from rik@inse.ru) Received: from [127.0.0.1] (www.inse.ru [144.206.128.1]) by mail.inse.ru (Postfix) with ESMTP id 8084433C66; Wed, 9 Aug 2006 00:27:24 +0400 (MSD) Message-ID: <44D8F550.6060004@inse.ru> Date: Wed, 09 Aug 2006 00:34:24 +0400 From: Roman Kurakin User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.12) Gecko/20060103 ASPLinux/1.7.12-1.5.1.1asp X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: Niki Denev References: <200608082220.25048.nike_d@cytexbg.com> In-Reply-To: <200608082220.25048.nike_d@cytexbg.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: provide ttys from device driver X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2006 20:27:27 -0000 Niki Denev: >Hi, > >The cardbus hsdpa/umts adapter which driver i'm trying to port from linux to\ > freebsd should look as four port serial device. >The part of the driver that speaks with the hardware is more or less ready and >working, i have setup a interrupt handler and can talk to the card and catch >and service interrupts. >Now the tricky part is to connect this to the tty layer... >So, what is the best place to look for examples to provide ttys from a device >driver? (apart from reading the code of existing serial drivers, which i'm >doing right now :) ) > > Check smth like ng_tty. >Thanks! > >--niki >_______________________________________________ >freebsd-hackers@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >