Date: 06 Nov 2002 18:11:22 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: Robert Watson <rwatson@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/conf majors Message-ID: <1036568487.55376.99.camel@chowder.localdomain> In-Reply-To: <92875.1036568079@critter.freebsd.dk> References: <92875.1036568079@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2002-11-06 at 18:04, Poul-Henning Kamp wrote: > That is still not a reason for cloning the driver. If you did it right > with a linedisc, it would also work on sparc64 which uses a siemens > chips, on multiport cards which use their own chips and on any future > serial port worth its salt. > > If you continue to clone the sio driver, you will get a driver which > conflicts with the sio driver, making life difficult for people who > want to mix and match normal serial and RS485. > > Trust me on this, I've cleaned up more "I'll just make a copy and > modify" code in the kernel than anybody else in this project. > > Please do it right, don't hack it. Could you perhaps suggest something helpful, like HOW I would write a line discipline? Where would I get information on it? Is there something similar I could copy? -- 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1036568487.55376.99.camel>