Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2006 12:20:51 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/puc pucdata.c
Message-ID:  <622E179A-877C-4553-84DA-55FBBE8FCCB0@mac.com>
In-Reply-To: <8835.1157396431@critter.freebsd.dk>
References:  <8835.1157396431@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?622E179A-877C-4553-84DA-55FBBE8FCCB0>