lkml.org 
[lkml]   [2002]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: PATCH 2.5.4 i810_audio, bttv, working at all.
    Pavel Machek wrote:
    >
    > Hi!
    >
    > > As an experiment a couple months ago, I got most of the PCI net drivers
    > > down to ~200-300 lines of C code apiece, by factoring out common code
    > > patterns into M4 macros. "m4 netdrivers.m4 epic100.tmpl > epic100.c"
    >
    > This is slightly extreme, right?
    >
    > But I'd like to see resulting epic100.tmpl ;-).

    When you have to maintain more than 10 "cookie cutter" net drivers that
    are 80-90% the same, you start to want such extremes :)

    --
    Jeff Garzik | "I went through my candy like hot oatmeal
    Building 1024 | through an internally-buttered weasel."
    MandrakeSoft | - goats.com
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:24    [W:4.223 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site