[lkml]   [2003]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: C99 Initialisers
    On Tue, Aug 12, 2003 at 05:23:44PM -0700, Greg KH wrote:
    > On Wed, Aug 13, 2003 at 01:08:41AM +0100, Matthew Wilcox wrote:
    > > On Wed, Aug 13, 2003 at 12:53:24AM +0100, Dave Jones wrote:
    > > > What would be *really* nice, would be the ability to do something
    > > > to the effect of..
    > Yeah, that would be cool to do. 2.7 :)

    Well, we'd need some cooperation from the GCC folks for it ... I can't
    see them being too interested in this extension.

    > Yeah, it was just a port from 2.4 which says:
    > struct pci_device_id {
    > unsigned int vendor, device;
    > unsigned int subvendor, subdevice;
    > unsigned int class, class_mask;
    > unsigned long driver_data;
    > };
    > We could probably change it now if you really want to. Don't know if it
    > will save much space though.

    Think about it, 8 bytes per pci_device_id; that's 120 bytes in tg3 alone.
    Admittedly tg3 has more than its fair share of IDs, but distro kernels
    will love it.

    "It's not Hollywood. War is real, war is primarily not about defeat or
    victory, it is about death. I've seen thousands and thousands of dead bodies.
    Do you think I want to have an academic debate on this subject?" -- Robert Fisk
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:47    [W:0.020 / U:102.972 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site