From owner-cvs-src@FreeBSD.ORG Mon Sep 4 19:21:34 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A40FB16A4DA; Mon, 4 Sep 2006 19:21:34 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id C07B443D5C; Mon, 4 Sep 2006 19:21:33 +0000 (GMT) (envelope-from xcllnt@mac.com) Received: from mac.com (smtpin01-en2 [10.13.10.146]) by smtpout.mac.com (Xserve/8.12.11/smtpout08/MantshX 4.0) with ESMTP id k84JLX3g020203; Mon, 4 Sep 2006 12:21:33 -0700 (PDT) Received: from [192.168.1.6] (c-67-164-11-148.hsd1.ca.comcast.net [67.164.11.148]) (authenticated bits=0) by mac.com (Xserve/smtpin01/MantshX 4.0) with ESMTP id k84JLUqb010409 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Mon, 4 Sep 2006 12:21:31 -0700 (PDT) In-Reply-To: <8835.1157396431@critter.freebsd.dk> References: <8835.1157396431@critter.freebsd.dk> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <622E179A-877C-4553-84DA-55FBBE8FCCB0@mac.com> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Mon, 4 Sep 2006 12:20:51 -0700 To: Poul-Henning Kamp X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAgNsLY8DbC8F X-SpamScan: Suspected Spam Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/puc pucdata.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 19:21:34 -0000 On Sep 4, 2006, at 12:00 PM, Poul-Henning Kamp wrote: > In message <200609041852.k84Iq9Fo007976@repoman.freebsd.org>, > Marcel Moolenaar > writes: >> marcel 2006-09-04 18:52:09 UTC >> >> FreeBSD src repository >> >> Modified files: (Branch: RELENG_6) >> sys/dev/puc pucdata.c >> Log: >> Pseudo-MFC rev 1.58: >> Add SIIG 4 port serial card based on the Oxford OX16PCI954. > > Stupid idea (or maybe not): > > Write a small c-program, compile it with the pucdata.c from current > have it output a RELENG_6 format pucdata.c based on that. I fear that will not be possible in general: in -CURRENT the design is based on a procedural interface, whereby code can probe and configure the hardware as part of returning the requested parameters. This can not (in general) be translated into tables. I think the effort might as well be put in MFC'ing the configuration mechanism and/or the entire driver. Once the differences are minimized, regular MFC's are possible again. -- Marcel Moolenaar xcllnt@mac.com