From owner-freebsd-isdn Thu Oct 10 8:15:12 2002 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E62237B410 for ; Thu, 10 Oct 2002 08:15:10 -0700 (PDT) Received: from fep02-svc.swip.net (fep02.swip.net [130.244.199.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FBCF43E91 for ; Thu, 10 Oct 2002 08:15:08 -0700 (PDT) (envelope-from hselasky@c2i.net) Received: from mta-int.swip.net ([192.168.145.28]) by fep02-svc.swip.net with SMTP id <20021010151506.MYTL122.fep02-svc.swip.net@mta-int.swip.net>; Thu, 10 Oct 2002 17:15:06 +0200 X-Originating-IP: [128.39.202.148] From: To: prallon@tmp.com.br Cc: freebsd-isdn@freebsd.org Subject: Re: New ihfc driver Date: Thu, 10 Oct 2002 17:15:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20021010151506.MYTL122.fep02-svc.swip.net@mta-int.swip.net> Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Fra: Sergio de Souza Prallon > Dato: 2002/10/07 Mon PM 06:57:49 CEST > Til: hselasky@c2i.net > CC: freebsd-isdn@freebsd.org > Emne: Re: New ihfc driver > > Hello, > > From the fragment below I noticed that your driver also works with > the Tiger chips. In fact,if I understood right, it can replace the > entire set of layer drivers. Apparently you tried very hard to > eliminate duplicated code spread among the various drivers, what is, > IMHO, a `Good Thing' (tm). The only critic I do is the legibility > of the code. In a brief look I've made, I didn't manage to grasp how > the gears of your "macro driver programing language" work under the > hood. There isn't another, a bit more readable, way around it? > > Do you have a -STABLE version of your driver? > I want to give it a try but an upgrade to -CURRENT is out of question. > May be I learn a thing or two from the experience as it was the case > with the HDLC macros. > > []'s > > -- > Prallon re: New ihfc Maybe there is need for a preprocessor that does more than just expanding macros? If you get the raw c++ code you might get a better picture. About -stable support there is no plans for such. If you want to use the code on a -stable machine, a substitution for mutexes must be found, like disabling interrupts, if -stable is not supporting mutexes. (This workaround is for single CPU systems.) Otherwise the system setup is very similar to your driver, which I assume compiles and runs on -stable. -- HPS ------------------------------------------------- WebMail fra Tele2 http://www.tele2.no ------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message