Date: Wed, 06 Nov 2002 08:19:15 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: Robert Watson <rwatson@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf majors Message-ID: <92623.1036567155@critter.freebsd.dk> In-Reply-To: Your message of "06 Nov 2002 17:46:00 %2B1030." <1036566961.55376.89.camel@chowder.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92623.1036567155>