From owner-cvs-all Tue Nov 5 23:24:39 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4A5D37B401; Tue, 5 Nov 2002 23:24:37 -0800 (PST) Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44EB543E75; Tue, 5 Nov 2002 23:24:36 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from localhost (localhost [127.0.0.1]) by cain.gsoft.com.au (8.12.4/8.12.6) with ESMTP id gA67ORiX008988; Wed, 6 Nov 2002 17:54:27 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: cvs commit: src/sys/conf majors From: "Daniel O'Connor" To: Poul-Henning Kamp Cc: Robert Watson , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG In-Reply-To: <92623.1036567155@critter.freebsd.dk> References: <92623.1036567155@critter.freebsd.dk> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 06 Nov 2002 17:54:27 +1030 Message-Id: <1036567467.55376.95.camel@chowder.localdomain> Mime-Version: 1.0 X-Spam-Score: -3.4 () IN_REP_TO X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 2002-11-06 at 17:49, Poul-Henning Kamp wrote: > >If you run multidrop where the parity bit is used as an address marker > >(to make coding microprocessor firmware easier) then you need to be able > >to set the parity bit at will. > > This is, IMO, a very bad reason to write an entirely new driver. > > You should instead write a new line-discipline. There is another reason which I meant to put into my original email - there are quite a number of cards or dongles which don't have the ability to change the data direction automatically, so you have to flip one of the serial control lines to do it. The mdsio driver can do that for you. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message