cvs commit: src/sys/dev/puc pucdata.c

Marcel Moolenaar xcllnt at mac.com
Mon Sep 4 12:21:34 PDT 2006


On Sep 4, 2006, at 12:00 PM, Poul-Henning Kamp wrote:

> In message <200609041852.k84Iq9Fo007976 at 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 at mac.com




More information about the cvs-all mailing list