From owner-cvs-all Tue Nov 5 23:19:33 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 8FCC637B404; Tue, 5 Nov 2002 23:19:32 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76FC643E4A; Tue, 5 Nov 2002 23:19:31 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gA67JF9d092624; Wed, 6 Nov 2002 08:19:16 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: "Daniel O'Connor" Cc: Robert Watson , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf majors In-Reply-To: Your message of "06 Nov 2002 17:46:00 +1030." <1036566961.55376.89.camel@chowder.localdomain> Date: Wed, 06 Nov 2002 08:19:15 +0100 Message-ID: <92623.1036567155@critter.freebsd.dk> From: Poul-Henning Kamp 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 In message <1036566961.55376.89.camel@chowder.localdomain>, "Daniel O'Connor" w rites: >On Wed, 2002-11-06 at 16:36, Poul-Henning Kamp wrote: >> > Requested by: doconnor@gsoft.com.au >> >> Uhm, why do we need a special driver for this ? I'm running RS-485 using >> the sio(4) driver just fine ? > >Because it's difficult to set the parity bit manually using sio. > >(Well, it's impossible without patches) > >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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message