From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 21 19:10:16 2005 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 0C8FC16A41F for ; Fri, 21 Oct 2005 19:10:16 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id A042543D45 for ; Fri, 21 Oct 2005 19:10:15 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.250] (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.13.4/8.13.4) with ESMTP id j9LJA2xe087888; Fri, 21 Oct 2005 12:10:03 -0700 (PDT) (envelope-from marcel@xcllnt.net) In-Reply-To: <20051021.100635.115989045.imp@bsdimp.com> References: <200510210835.j9L8Zn2P001846@pinky.frank-behrens.de> <20051021.100635.115989045.imp@bsdimp.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <24F58EA6-C84B-4966-A973-D91AB494239C@xcllnt.net> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Fri, 21 Oct 2005 12:10:01 -0700 To: "M. Warner Losh" X-Mailer: Apple Mail (2.734) Cc: frank@pinky.sax.de, freebsd-hackers@freebsd.org Subject: Re: How disable attachment of sio(4) driver to device? 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: Fri, 21 Oct 2005 19:10:16 -0000 On Oct 21, 2005, at 9:06 AM, M. Warner Losh wrote: > Another solution would be to have your driver use the tty layer > instead of banging the hardware directly, if that is compatible with > the goals of your driver. A better alternative is to teach uart(4) about the protocol. It's designed to allow multiple protocols. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net